# HG changeset patch # User Maxim Dounin # Date 1505405165 -10800 # Node ID d4b031cf32cf7914e0aa21f9ddc9db6521ae186e # Parent d77407baccd15d22dea76c6fb7c84629b22b9455 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. diff -r d77407baccd1 -r d4b031cf32cf src/http/v2/ngx_http_v2_table.c --- a/src/http/v2/ngx_http_v2_table.c Thu Sep 14 19:06:03 2017 +0300 +++ b/src/http/v2/ngx_http_v2_table.c Thu Sep 14 19:06:05 2017 +0300 @@ -102,7 +102,7 @@ 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--;