]> git.kaiwu.me - nginx.git/commit
Fixed "zero size buf in output" alerts.
authorMaxim Dounin <mdounin@mdounin.ru>
Fri, 3 Jan 2014 23:32:22 +0000 (03:32 +0400)
committerMaxim Dounin <mdounin@mdounin.ru>
Fri, 3 Jan 2014 23:32:22 +0000 (03:32 +0400)
commit8f702a573a28622a855ad83d28f49270232b7ad3
tree8039639a338df862e7c500a105e40756c59b2480
parenteb60e1e26d0fd90bff695cef359da1749bb00c59
Fixed "zero size buf in output" alerts.

If a request had an empty request body (with Content-Length: 0), and there
were preread data available (e.g., due to a pipelined request in the buffer),
the "zero size buf in output" alert might be logged while proxying the
request to an upstream.

Similar alerts appeared with client_body_in_file_only if a request had an
empty request body.
src/http/ngx_http_request_body.c