This commit is contained in:
Chizhong Jin 2025-07-12 19:04:25 +08:00 committed by GitHub
commit cae6e20cd2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2739,7 +2739,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;