mirror of
https://github.com/nginx/nginx.git
synced 2024-12-17 06:57:47 +08:00
4a75e1a63c
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. |
||
---|---|---|
.. | ||
modules | ||
ngx_event_accept.c | ||
ngx_event_acceptex.c | ||
ngx_event_busy_lock.c | ||
ngx_event_busy_lock.h | ||
ngx_event_connect.c | ||
ngx_event_connect.h | ||
ngx_event_connectex.c | ||
ngx_event_mutex.c | ||
ngx_event_openssl_stapling.c | ||
ngx_event_openssl.c | ||
ngx_event_openssl.h | ||
ngx_event_pipe.c | ||
ngx_event_pipe.h | ||
ngx_event_posted.c | ||
ngx_event_posted.h | ||
ngx_event_timer.c | ||
ngx_event_timer.h | ||
ngx_event.c | ||
ngx_event.h |