commit 82b66cc5d91dc2da87b643d72ea342be24465111
parent 15dfade0d5ad728b26a08b63831f975e2700f729
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
Date: Mon, 29 May 2017 20:53:06 +0300
MHD_connection_handle_idle(): added reset of 'in_idle'. Just for clarity and readability.
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/src/microhttpd/connection.c b/src/microhttpd/connection.c
@@ -3342,6 +3342,7 @@ MHD_connection_handle_idle (struct MHD_Connection *connection)
continue;
case MHD_CONNECTION_CLOSED:
cleanup_connection (connection);
+ connection->in_idle = false;
return MHD_NO;
#ifdef UPGRADE_SUPPORT
case MHD_CONNECTION_UPGRADE: