mirror of
https://github.com/nginx/nginx.git
synced 2024-12-31 19:27:43 -06:00
be6fbbb47e
With previous code the p->temp_file->offset wasn't adjusted if a temp file was written by the code in ngx_event_pipe_write_to_downstream() after an EOF, resulting in cache not being used with empty scgi and uwsgi responses with Content-Length set to 0. Fix it to call ngx_event_pipe_write_chain_to_temp_file() there instead of calling ngx_write_chain_to_temp_file() directly. |
||
---|---|---|
.. | ||
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 |