diff options
author | Glenn Strauss <gstrauss@gluelogic.com> | 2017-11-19 12:01:09 -0500 |
---|---|---|
committer | Glenn Strauss <gstrauss@gluelogic.com> | 2017-11-19 12:01:09 -0500 |
commit | d5d0258362d516f4f7f3a796d429b8600e043ede (patch) | |
tree | 4a72e365c4867a516133b3bf88d6350d5361391e /src/fdevent.h | |
parent | 9f02df2d3973be12cc832c7a3d1e27bba13ef1f4 (diff) | |
download | lighttpd-git-d5d0258362d516f4f7f3a796d429b8600e043ede.tar.gz |
[core] support POLLRDHUP, where available (#2743)
x-ref:
"mod_cgi, lighty not killing CGI if connection in the other end is closed"
https://redmine.lighttpd.net/boards/2/topics/5962
"1.4.40/41 mod_proxy, mod_scgi may trigger POLLHUP on *BSD,Darwin"
https://redmine.lighttpd.net/issues/2743
Diffstat (limited to 'src/fdevent.h')
-rw-r--r-- | src/fdevent.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/fdevent.h b/src/fdevent.h index 9503a130..4c7f42a9 100644 --- a/src/fdevent.h +++ b/src/fdevent.h @@ -19,6 +19,7 @@ typedef handler_t (*fdevent_handler)(struct server *srv, void *ctx, int revents) #define FDEVENT_ERR BV(3) #define FDEVENT_HUP BV(4) #define FDEVENT_NVAL BV(5) +#define FDEVENT_RDHUP BV(13) #define FDEVENT_STREAM_REQUEST BV(0) #define FDEVENT_STREAM_REQUEST_BUFMIN BV(1) |