nginx/src/http
Maxim Dounin 4a75e1a63c Upstream: p->downstream_error instead of closing connection.
Previously, nginx closed client connection in cases when a response body
from upstream was needed to be cached or stored but shouldn't be sent to
the client.  While this is normal for HTTP, it is unacceptable for SPDY.

Fix is to use instead the p->downstream_error flag to prevent nginx from
sending anything downstream.  To make this work, the event pipe code was
modified to properly cache empty responses with the flag set.
2014-07-04 20:47:16 +04:00
..
modules Upstream: cache revalidation using If-None-Match. 2014-06-26 02:35:01 +04:00
ngx_http_busy_lock.c Whitespace fixes. 2012-03-05 18:09:06 +00:00
ngx_http_busy_lock.h Copyright updated. 2012-01-18 15:07:43 +00:00
ngx_http_cache.h Cache: ETag now saved into cache header. 2014-06-26 02:28:23 +04:00
ngx_http_config.h Copyright updated. 2012-01-18 15:07:43 +00:00
ngx_http_copy_filter_module.c Allowed up to two EBUSY errors from sendfile(). 2014-01-04 03:31:58 +04:00
ngx_http_core_module.c Entity tags: downgrade strong etags to weak ones as needed. 2014-06-26 02:21:01 +04:00
ngx_http_core_module.h Entity tags: downgrade strong etags to weak ones as needed. 2014-06-26 02:21:01 +04:00
ngx_http_file_cache.c Cache: ETag now saved into cache header. 2014-06-26 02:28:23 +04:00
ngx_http_header_filter_module.c Fixed response line formatting with empty reason phrase. 2013-09-18 18:53:26 +04:00
ngx_http_parse_time.c Fixed compilation with -Wmissing-prototypes. 2012-07-24 15:09:54 +00:00
ngx_http_parse.c Upstream: added the "$upstream_cookie_<name>" variables. 2014-04-29 12:28:41 +04:00
ngx_http_postpone_filter_module.c Fixed error logging. 2013-05-21 17:30:19 +04:00
ngx_http_request_body.c Request body: avoid potential overflow. 2014-03-03 17:39:53 +04:00
ngx_http_request.c Added server-side support for PROXY protocol v1 (ticket #355). 2014-03-17 17:41:24 +04:00
ngx_http_request.h Entity tags: explicit flag to skip not modified filter. 2014-06-26 02:27:11 +04:00
ngx_http_script.c Style. 2013-10-18 18:13:35 +04:00
ngx_http_script.h Copyright updated. 2012-01-18 15:07:43 +00:00
ngx_http_spdy_filter_module.c SPDY: improved logging. 2014-04-30 20:34:20 +04:00
ngx_http_spdy_module.c SPDY: macro used for recv_buffer_size initialization. 2014-03-19 12:57:32 +04:00
ngx_http_spdy_module.h SPDY: added the "spdy_chunk_size" directive. 2014-01-14 16:24:45 +04:00
ngx_http_spdy.c SPDY: added protection from overrun of the receive buffer. 2014-04-30 20:34:20 +04:00
ngx_http_spdy.h SPDY: fixed operator precedence in uint16/uint32 write macros. 2014-05-29 21:15:19 +04:00
ngx_http_special_response.c Format specifier fixes in error logging. 2013-08-20 20:47:16 +04:00
ngx_http_upstream_round_robin.c Upstream: simplified some code that accesses peers. 2014-06-12 21:13:24 +04:00
ngx_http_upstream_round_robin.h Upstream: generic hash module. 2014-06-02 16:16:22 +04:00
ngx_http_upstream.c Upstream: p->downstream_error instead of closing connection. 2014-07-04 20:47:16 +04:00
ngx_http_upstream.h Upstream: fixed cache revalidation with SSI. 2014-06-26 02:20:09 +04:00
ngx_http_variables.c Setting $args now invalidates unparsed uri. 2014-05-19 22:45:35 +04:00
ngx_http_variables.h Removed unused ngx_http_clear_variable() macro. 2013-03-21 16:06:13 +00:00
ngx_http_write_filter_module.c SPDY: body filter was replaced by c->send_chain() function. 2014-01-14 16:24:45 +04:00
ngx_http.c Fixed wrong sizeof() in ngx_http_init_locations(). 2014-06-26 03:34:13 +04:00
ngx_http.h Upstream: added the "$upstream_cookie_<name>" variables. 2014-04-29 12:28:41 +04:00