comparison src/http/ngx_http_upstream.c @ 4923:57174af2e695

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.
author Maxim Dounin <mdounin@mdounin.ru>
date Wed, 21 Nov 2012 00:57:16 +0000
parents 79c8e87b1fcb
children 2464ccebdb52
comparison
equal deleted inserted replaced
4922:dfa586842962 4923:57174af2e695