diff options
Diffstat (limited to 'src/microhttpd/connection.c')
-rw-r--r-- | src/microhttpd/connection.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/microhttpd/connection.c b/src/microhttpd/connection.c index d521c036..e06ae993 100644 --- a/src/microhttpd/connection.c +++ b/src/microhttpd/connection.c | |||
@@ -3655,7 +3655,7 @@ MHD_connection_handle_idle (struct MHD_Connection *connection) | |||
3655 | #if defined(MHD_USE_POSIX_THREADS) || defined(MHD_USE_W32_THREADS) | 3655 | #if defined(MHD_USE_POSIX_THREADS) || defined(MHD_USE_W32_THREADS) |
3656 | if (NULL != connection->response->crc) | 3656 | if (NULL != connection->response->crc) |
3657 | MHD_mutex_lock_chk_ (&connection->response->mutex); | 3657 | MHD_mutex_lock_chk_ (&connection->response->mutex); |
3658 | #endif | 3658 | #endif |
3659 | if ( (0 == connection->response->total_size) || | 3659 | if ( (0 == connection->response->total_size) || |
3660 | (connection->response_write_position == | 3660 | (connection->response_write_position == |
3661 | connection->response->total_size) ) | 3661 | connection->response->total_size) ) |
@@ -4099,6 +4099,7 @@ MHD_queue_response (struct MHD_Connection *connection, | |||
4099 | } | 4099 | } |
4100 | if (! connection->in_idle) | 4100 | if (! connection->in_idle) |
4101 | (void) MHD_connection_handle_idle (connection); | 4101 | (void) MHD_connection_handle_idle (connection); |
4102 | MHD_update_last_activity_ (connection); | ||
4102 | return MHD_YES; | 4103 | return MHD_YES; |
4103 | } | 4104 | } |
4104 | 4105 | ||