[nginx] HTTP/3: improved invalid ":authority" error message.

noreply at nginx.com noreply at nginx.com
Fri Aug 22 17:02:10 UTC 2025


details:   https://github.com/nginx/nginx/commit/372659114ed9b7a406093890ec2bdf437925ce64
branches:  master
commit:    372659114ed9b7a406093890ec2bdf437925ce64
user:      Sergey Kandaurov <pluknet at nginx.com>
date:      Wed, 30 Jul 2025 17:43:44 +0400
description:
HTTP/3: improved invalid ":authority" error message.


---
 src/http/v3/ngx_http_v3_request.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/http/v3/ngx_http_v3_request.c b/src/http/v3/ngx_http_v3_request.c
index 32b11b598..a52910860 100644
--- a/src/http/v3/ngx_http_v3_request.c
+++ b/src/http/v3/ngx_http_v3_request.c
@@ -965,7 +965,7 @@ ngx_http_v3_init_pseudo_headers(ngx_http_request_t *r)
 
         if (rc == NGX_DECLINED) {
             ngx_log_error(NGX_LOG_INFO, r->connection->log, 0,
-                          "client sent invalid host in request line");
+                          "client sent invalid \":authority\" header");
             goto failed;
         }
 


More information about the nginx-devel mailing list