libmicrohttpd

HTTP/1.x server C library (MHD 1.x, stable)
Log | Files | Refs | Submodules | README | LICENSE

commit 6684adf123e192ca06c1c94b87d7f0fc93efd624
parent 104112a2f2c59290da2a9ab79b0bee6536ce2b7a
Author: Christian Grothoff <christian@grothoff.org>
Date:   Tue,  9 Feb 2010 19:43:19 +0000

fix

Diffstat:
Msrc/daemon/daemon.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/daemon/daemon.c b/src/daemon/daemon.c @@ -1070,7 +1070,7 @@ MHD_poll (struct MHD_Daemon *daemon) p.events = POLLIN; p.revents = 0; - if (poll(&p, 1, 0) < 0) { + if (poll(&p, 1, 1000) < 0) { if (errno == EINTR) return MHD_YES; #if HAVE_MESSAGES