commit 76cbe3d3b3fc85f3584fa846f5fafeeacfe16882
parent fefb1e5b60131bc6bf73046e902d5cb14debc1f1
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
Date: Sun, 14 May 2017 14:44:15 +0300
thread_main_handle_connection(): update states of connection after resume
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c
@@ -1878,6 +1878,8 @@ thread_main_handle_connection (void *data)
if (was_suspended)
{
MHD_update_last_activity_ (con); /* Reset timeout timer. */
+ /* Process response queued during suspend and update states. */
+ MHD_connection_handle_idle (con);
was_suspended = false;
}