Allow resetting connections closed by "return 444" (ticket #905). If reset_timedout_connection is on, TCP connections closed by "return 444" will be reset instead of a normal close.
Ruslan Ermilov
3 years ago
1 changed file(s) with
1 addition(s)
and
0 deletion(s)
.
Raw diff
Collapse all
Expand all
+1
-0
src/http/ngx_http_request.c
less
more
2352
2352
|| rc == NGX_HTTP_NO_CONTENT)
2353
2353
{
2354
2354
if (rc == NGX_HTTP_CLOSE) {
2355
c->timedout = 1;
2355
2356
ngx_http_terminate_request(r, rc);
2356
2357
return;
2357
2358
}