aboutsummaryrefslogtreecommitdiff
path: root/src/http/ngx_http_special_response.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/http/ngx_http_special_response.c')
-rw-r--r--src/http/ngx_http_special_response.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/http/ngx_http_special_response.c b/src/http/ngx_http_special_response.c
index ff26e902b..5ffebb4c2 100644
--- a/src/http/ngx_http_special_response.c
+++ b/src/http/ngx_http_special_response.c
@@ -204,8 +204,6 @@ int ngx_http_special_response_handler(ngx_http_request_t *r, int error)
if (r->lingering_close == 1) {
switch (error) {
case NGX_HTTP_BAD_REQUEST:
- case NGX_HTTP_REQUEST_URI_TOO_LARGE:
- case NGX_HTTP_INTERNAL_SERVER_ERROR:
r->lingering_close = 0;
}
}