Christian Grothoff hace 9 años
padre
commit
c24725dc14
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/microhttpd/daemon.c

+ 1 - 1
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 ==