fix unlikely socket leak

This commit is contained in:
Igor Sysoev 2007-09-01 16:41:52 +00:00
parent 2253064361
commit 1b982e1c00

View File

@ -521,6 +521,7 @@ ngx_http_read_discarded_request_body_handler(ngx_http_request_t *r)
/* rc == NGX_AGAIN */
if (ngx_handle_read_event(rev, 0) == NGX_ERROR) {
c->error = 1;
ngx_http_finalize_request(r, rc);
return;
}