diff --git a/modules/ngx_http_xquic_module/ngx_http_v3_stream.c b/modules/ngx_http_xquic_module/ngx_http_v3_stream.c index 2063a847d9..23e60bf0d6 100644 --- a/modules/ngx_http_xquic_module/ngx_http_v3_stream.c +++ b/modules/ngx_http_xquic_module/ngx_http_v3_stream.c @@ -931,7 +931,7 @@ ngx_http_v3_request_process_header(ngx_http_request_t *r, cscf = ngx_http_get_module_srv_conf(r, ngx_http_core_module); if (r->headers_in.count++ >= cscf->max_headers) { - ngx_log_error(NGX_LOG_INFO, r->connection->log, 0, + ngx_log_error(NGX_LOG_WARN, r->connection->log, 0, "client sent too many header lines"); ngx_http_finalize_request(r, NGX_HTTP_REQUEST_HEADER_TOO_LARGE); return NGX_ERROR; diff --git a/src/http/ngx_http_request.c b/src/http/ngx_http_request.c index a352b13460..a3726b7f20 100755 --- a/src/http/ngx_http_request.c +++ b/src/http/ngx_http_request.c @@ -1988,7 +1988,7 @@ ngx_http_process_request_headers(ngx_event_t *rev) if (r->headers_in.count++ >= cscf->max_headers) { r->lingering_close = 1; - ngx_log_error(NGX_LOG_INFO, c->log, 0, + ngx_log_error(NGX_LOG_WARN, c->log, 0, "client sent too many header lines"); ngx_http_finalize_request(r, NGX_HTTP_REQUEST_HEADER_TOO_LARGE); diff --git a/src/http/v2/ngx_http_v2.c b/src/http/v2/ngx_http_v2.c index 05500a4e13..6b8ea310d9 100644 --- a/src/http/v2/ngx_http_v2.c +++ b/src/http/v2/ngx_http_v2.c @@ -1859,7 +1859,7 @@ ngx_http_v2_state_process_header(ngx_http_v2_connection_t *h2c, u_char *pos, cscf = ngx_http_get_module_srv_conf(r, ngx_http_core_module); if (r->headers_in.count++ >= cscf->max_headers) { - ngx_log_error(NGX_LOG_INFO, r->connection->log, 0, + ngx_log_error(NGX_LOG_WARN, r->connection->log, 0, "client sent too many header lines"); ngx_http_finalize_request(r, NGX_HTTP_REQUEST_HEADER_TOO_LARGE); goto error;