From 82b66cc5d91dc2da87b643d72ea342be24465111 Mon Sep 17 00:00:00 2001 From: "Evgeny Grin (Karlson2k)" Date: Mon, 29 May 2017 20:53:06 +0300 Subject: [PATCH] MHD_connection_handle_idle(): added reset of 'in_idle'. Just for clarity and readability. --- src/microhttpd/connection.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/microhttpd/connection.c b/src/microhttpd/connection.c index 2db85685..1be9d4fd 100644 --- 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: