Maxim Dounin 4e8a73adaa Event pipe: process data after recv_chain() errors.
When c->recv_chain() returns an error, it is possible that we already
have some data previously read, e.g., in preread buffer.  And in some
cases it may be even a complete response.  Changed c->recv_chain() error
handling to process the data, much like it is already done if kevent
reports about an error.

This change, in particular, fixes processing of small responses
when an upstream fails to properly close a connection with lingering and
therefore the connection is reset, but the response is already fully
obtained by nginx (see ticket #1037).
2016-09-01 18:29:55 +03:00
2016-07-15 15:18:57 +03:00
2015-06-05 22:23:26 +03:00
2016-07-26 16:58:58 +03:00
2016-07-05 18:30:56 +03:00
2016-07-26 16:58:58 +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
90 MiB
Languages
C 97.7%
Vim Script 1.7%
XS 0.4%
Perl 0.1%