mirror of
https://github.com/nginx/nginx.git
synced 2025-06-07 09:42:39 +08:00
HTTP/2: fixed debug log about indexed headers.
Previously, "get indexed header" message was logged when in fact only header name was obtained using an index, and "get indexed header name" was logged when full header representation (name and value) was obtained using an index. Fixed version logs "get indexed name" and "get indexed header" respectively.
This commit is contained in:
parent
8f6c5306fb
commit
fc1575109e
@ -102,7 +102,7 @@ ngx_http_v2_get_indexed_header(ngx_http_v2_connection_t *h2c, ngx_uint_t index,
|
||||
|
||||
ngx_log_debug2(NGX_LOG_DEBUG_HTTP, h2c->connection->log, 0,
|
||||
"http2 get indexed %s: %ui",
|
||||
name_only ? "header" : "header name", index);
|
||||
name_only ? "name" : "header", index);
|
||||
|
||||
index--;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user