mirror of
https://github.com/nginx/nginx.git
synced 2026-08-04 14:58:20 +00:00
fix socket leak introduced in r2378
This commit is contained in:
parent
60190068ab
commit
3b74b8eeb9
1 changed files with 5 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue