Mercurial > hg > nginx
diff src/http/ngx_http_request.c @ 449:3b1e8c9df9ad
nginx-0.1.0-2004-10-04-00:02:06 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Sun, 03 Oct 2004 20:02:06 +0000 |
parents | 42d11f017717 |
children | 23fb87bddda1 |
line wrap: on
line diff
--- a/src/http/ngx_http_request.c +++ b/src/http/ngx_http_request.c @@ -47,7 +47,6 @@ static char *client_header_errors[] = { "client %s sent invalid header, URL: %s", "client %s sent too long header line, URL: %s", - "client %s sent too many headers, URL: %s", "client %s sent HTTP/1.1 request without \"Host\" header, URL: %s", "client %s sent invalid \"Content-Length\" header, URL: %s", "client %s sent POST method without \"Content-Length\" header, URL: %s", @@ -759,12 +758,6 @@ static void ngx_http_process_request_hea } } - if (r->headers_n > 100) { - ngx_http_client_error(r, NGX_HTTP_PARSE_TOO_MANY_HEADERS, - NGX_HTTP_BAD_REQUEST); - return; - } - rc = ngx_http_parse_header_line(r, r->header_in); if (rc == NGX_OK) {