resume_suspended_connections(): update states of connection after resuming

This commit is contained in:
Evgeny Grin (Karlson2k)
2017-05-11 22:38:41 +03:00
parent 02f1f5e5cc
commit 16da279752
2 changed files with 6 additions and 0 deletions
+3
View File
@@ -1,3 +1,6 @@
Thu May 11 22:37:00 MSK 2017
Faster start really processing data in resumed connections. -EG
Thu May 11 14:24:00 MSK 2017
Do not add any "Connection" headers for "upgrade" connections. -EG
+3
View File
@@ -2901,6 +2901,9 @@ resume_suspended_connections (struct MHD_Daemon *daemon)
pos->epoll_state &= ~MHD_EPOLL_STATE_SUSPENDED;
}
#endif
/* Process response queued during suspend and update states. */
if (!used_thr_p_c)
MHD_connection_handle_idle (pos);
}
#ifdef UPGRADE_SUPPORT
else