commit | 1b982e1c0001a3ad7f134d066f07f3bc69cc28cc | [log] [tgz] |
---|---|---|
author | Igor Sysoev <igor@sysoev.ru> | Sat Sep 01 16:41:52 2007 +0000 |
committer | Igor Sysoev <igor@sysoev.ru> | Sat Sep 01 16:41:52 2007 +0000 |
tree | aeb6e88eaf06c061f178538147d469350f3a7904 | |
parent | 2253064361e4ab083d01d850cd80dd98daf8721b [diff] [blame] |
fix unlikely socket leak
diff --git a/src/http/ngx_http_request_body.c b/src/http/ngx_http_request_body.c index 2906c89..dfe5e0f 100644 --- a/src/http/ngx_http_request_body.c +++ b/src/http/ngx_http_request_body.c
@@ -521,6 +521,7 @@ /* rc == NGX_AGAIN */ if (ngx_handle_read_event(rev, 0) == NGX_ERROR) { + c->error = 1; ngx_http_finalize_request(r, rc); return; }