commit 30f4e693ce7affab3884e9e8230ff3b989247de9
parent 381be7260e3b53c46ce57d5641b0b95364ab10e5
Author: Christian Grothoff <christian@grothoff.org>
Date: Sat, 5 Mar 2011 21:03:21 +0000
fixing 1667
Diffstat:
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
@@ -1,3 +1,7 @@
+Sat Mar 5 22:00:36 CET 2011
+ Do not use POLLRDHUP, which causes build errors on OS X / OpenSolaris
+ (#1667). -CG
+
Fri Mar 4 10:24:04 CET 2011
Added new API to allow MHD server to initiate connection to
client (special use-case for servers behind NAT), thereby
diff --git a/src/daemon/daemon.c b/src/daemon/daemon.c
@@ -650,7 +650,7 @@ MHD_handle_connection (void *data)
fd = con->daemon->socket_fd;
p[1].fd = fd;
- p[1].events |= POLLIN | POLLRDHUP;
+ p[1].events |= POLLIN;
if (poll (p,
(fd != -1) ? 2 : 1,