mirror of https://github.com/nginx/nginx
Merge 1fc3c1814e into 61690b5dc0
This commit is contained in:
commit
d4ddf590cb
|
|
@ -2853,7 +2853,7 @@ ngx_http_terminate_request(ngx_http_request_t *r, ngx_int_t rc)
|
||||||
"http terminate cleanup count:%d blk:%d",
|
"http terminate cleanup count:%d blk:%d",
|
||||||
mr->count, mr->blocked);
|
mr->count, mr->blocked);
|
||||||
|
|
||||||
if (mr->write_event_handler) {
|
if (!mr->connection->error && mr->write_event_handler) {
|
||||||
|
|
||||||
if (mr->blocked) {
|
if (mr->blocked) {
|
||||||
r = r->connection->data;
|
r = r->connection->data;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue