Răsfoiți Sursa

thread_main_handle_connection(): update states of connection after resume

Evgeny Grin (Karlson2k) 8 ani în urmă
părinte
comite
76cbe3d3b3
1 a modificat fișierele cu 2 adăugiri și 0 ștergeri
  1. 2 0
      src/microhttpd/daemon.c

+ 2 - 0
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;
         }