diff options
| author | Igor Sysoev <igor@sysoev.ru> | 2007-09-22 19:34:16 +0000 |
|---|---|---|
| committer | Igor Sysoev <igor@sysoev.ru> | 2007-09-22 19:34:16 +0000 |
| commit | 7c981524282124a032e46bb69642b23f32b89f78 (patch) | |
| tree | fab3a57469aa63edcaac8940746f8d997aa71bf3 | |
| parent | 49ee282ba12bbbcb60c2c132ccb6ff76ebc17985 (diff) | |
| download | nginx-7c981524282124a032e46bb69642b23f32b89f78.tar.gz nginx-7c981524282124a032e46bb69642b23f32b89f78.tar.bz2 | |
r1428 merge:
return 400 response
Diffstat (limited to '')
| -rw-r--r-- | src/http/ngx_http_request.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/http/ngx_http_request.c b/src/http/ngx_http_request.c index 13bb14df5..23a61d942 100644 --- a/src/http/ngx_http_request.c +++ b/src/http/ngx_http_request.c @@ -837,7 +837,7 @@ ngx_http_process_request_headers(ngx_event_t *rev) ngx_log_error(NGX_LOG_INFO, c->log, 0, "client sent too long header line: \"%V\"", &header); - ngx_http_close_request(r, NGX_HTTP_BAD_REQUEST); + ngx_http_finalize_request(r, NGX_HTTP_BAD_REQUEST); return; } } @@ -949,7 +949,7 @@ ngx_http_process_request_headers(ngx_event_t *rev) ngx_log_error(NGX_LOG_INFO, c->log, 0, "client sent invalid header line: \"%V\\r...\"", &header); - ngx_http_close_request(r, NGX_HTTP_BAD_REQUEST); + ngx_http_finalize_request(r, NGX_HTTP_BAD_REQUEST); return; } } |
