]> git.kaiwu.me - nginx.git/commit
Request body: fixed socket leak on errors.
authorMaxim Dounin <mdounin@mdounin.ru>
Wed, 21 Nov 2012 00:57:16 +0000 (00:57 +0000)
committerMaxim Dounin <mdounin@mdounin.ru>
Wed, 21 Nov 2012 00:57:16 +0000 (00:57 +0000)
commite1bd52041bb14f4422cd809e3ff36ec039a7ac6f
tree3ac8e4874bb727c0f26fd05d3405d615e4f06fa9
parent5da61375cdccaa05ea09e4bb894f346f7e2419b1
Request body: fixed socket leak on errors.

The r->main->count reference counter was always incremented in
ngx_http_read_client_request_body(), while it is only needs to be
incremented on positive returns.
src/http/ngx_http_request_body.c