commit c9ad7cda512d589cfaf175b9cce939d892471f9b
parent 1a11c2c680e4cce9a63842db24d8e8b2194e7178
Author: Christian Grothoff <christian@grothoff.org>
Date: Fri, 17 Apr 2015 15:56:47 +0000
-instant timeout on connection hitting cleanup
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c
@@ -2414,7 +2414,7 @@ MHD_poll_all (struct MHD_Daemon *daemon,
p[poll_server+i].events |= POLLIN;
break;
case MHD_EVENT_LOOP_INFO_CLEANUP:
- /* should never happen */
+ timeout = 0; /* clean up "pos" immediately */
break;
}
i++;