commit c24725dc14b360a13d289c58949f8963343bb032
parent c07388889951945c7d010601409fc412cbffe02e
Author: Christian Grothoff <christian@grothoff.org>
Date: Tue, 6 Sep 2016 21:00:36 +0000
-patch from #4641
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c
@@ -1486,7 +1486,7 @@ thread_main_handle_connection (void *data)
#if WINDOWS
/* drain signaling pipe before other processing */
if ( (MHD_INVALID_PIPE_ != spipe) &&
- (0 != (p[1].revents & (POLLERR | POLLHUP))) )
+ (0 != (p[1].revents & (POLLERR | POLLHUP | POLLIN))) )
MHD_pipe_drain_ (spipe);
#endif
if (MHD_NO ==