mirror of
https://git.gnunet.org/libmicrohttpd.git
synced 2026-09-27 04:09:31 +03:00
fixing 1667
This commit is contained in:
@@ -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
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user