]> git.kaiwu.me - nginx.git/commit
Fixed ngx_http_parse_chunked() minimal length calculation.
authorMaxim Dounin <mdounin@mdounin.ru>
Fri, 28 Jun 2013 09:55:05 +0000 (13:55 +0400)
committerMaxim Dounin <mdounin@mdounin.ru>
Fri, 28 Jun 2013 09:55:05 +0000 (13:55 +0400)
commit88fc0f793e6ba4a7ece20f43fcd4357df1231f00
tree5f68ecdd256bbdbac0b3ab62a23710c6fe9b09de
parent982f4de9f03c56bc96cc6da6113ede6c1643c1e7
Fixed ngx_http_parse_chunked() minimal length calculation.

Minimal data length we expect for further calls was calculated incorrectly
if parsing stopped right after parsing chunk size.  This might in theory
affect clients and/or backends using LF instead of CRLF.

Patch by Dmitry Popov.
src/http/ngx_http_parse.c