summaryrefslogtreecommitdiffhomepage
path: root/src/os/unix/ngx_freebsd_init.c
diff options
context:
space:
mode:
authorMaxim Dounin <mdounin@mdounin.ru>2013-07-25 14:55:09 +0400
committerMaxim Dounin <mdounin@mdounin.ru>2013-07-25 14:55:09 +0400
commitbe6fbbb47eccf451369373026f9c060227dbab31 (patch)
tree746a2be5ff50e31fa73e5dbd688c8442a5d8aef8 /src/os/unix/ngx_freebsd_init.c
parentf52042498d17ab595ea5f372e53eb5f8690bb795 (diff)
downloadnginx-be6fbbb47eccf451369373026f9c060227dbab31.tar.gz
nginx-be6fbbb47eccf451369373026f9c060227dbab31.tar.bz2
Event pipe: fixed writing cache header to a temp file.
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.
Diffstat (limited to 'src/os/unix/ngx_freebsd_init.c')
0 files changed, 0 insertions, 0 deletions