mirror of
https://github.com/nginx/nginx.git
synced 2024-12-01 13:09:10 -06:00
fix unlikely socket leak
This commit is contained in:
parent
2253064361
commit
1b982e1c00
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user