mirror of
https://github.com/nginx/nginx.git
synced 2024-11-25 18:30:26 -06:00
fix socket leak introduced in r2378
This commit is contained in:
parent
60190068ab
commit
3b74b8eeb9
@ -2098,6 +2098,11 @@ ngx_http_writer(ngx_http_request_t *r)
|
||||
"http writer output filter: %d, \"%V?%V\"",
|
||||
rc, &r->uri, &r->args);
|
||||
|
||||
if (rc == NGX_ERROR) {
|
||||
ngx_http_finalize_request(r, rc);
|
||||
return;
|
||||
}
|
||||
|
||||
if (r->buffered || r->postponed || (r == r->main && c->buffered)) {
|
||||
|
||||
if (!wev->ready && !wev->delayed) {
|
||||
|
Loading…
Reference in New Issue
Block a user