Roman Arutyunyan c83922b18d Fixed deferred accept with EPOLLRDHUP enabled (ticket #1278).
Previously, the read event of the accepted connection was marked ready, but not
available.  This made EPOLLRDHUP-related code (for example, in ngx_unix_recv())
expect more data from the socket, leading to unexpected behavior.

For example, if SSL, PROXY protocol and deferred accept were enabled on a listen
socket, the client connection was aborted due to unexpected return value of
c->recv().
2017-05-24 13:17:08 +03:00
2017-05-15 20:09:44 +03:00
2015-06-05 22:23:26 +03:00
2017-04-25 17:18:21 +03:00
2017-03-21 17:28:15 +03:00
2017-04-25 17:18:22 +03:00
S
Description
An official read-only mirror of http://hg.nginx.org/nginx/ which is updated hourly. Pull requests on GitHub cannot be accepted and will be automatically closed. The proper way to submit changes to nginx is via the nginx development mailing list, see http://nginx.org/en/docs/contributing_changes.html
BSD-2-Clause
122 MiB
Languages
C 97.7%
Vim Script 1.7%
XS 0.4%
Perl 0.1%