]> 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)
commit142ed3f499931e7620189906683f7d91ed805e1a
tree9a70de617dedfb6a827ddfc83091df1516559b55
parentae341c36ab550d245e0741cf94e14890e4b53673
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