thread_main_handle_connection(): update states of connection after resume

This commit is contained in:
Evgeny Grin (Karlson2k)
2017-05-14 14:44:15 +03:00
parent fefb1e5b60
commit 76cbe3d3b3
+2
View File
@@ -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;
}