fixing 1667

This commit is contained in:
Christian Grothoff
2011-03-05 21:03:21 +00:00
parent 381be7260e
commit 30f4e693ce
2 changed files with 5 additions and 1 deletions
+4
View File
@@ -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
+1 -1
View File
@@ -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,