]> git.kaiwu.me - nginx.git/commit
Cleaned up hexdumps in debug output.
authorVladimir Homutov <vl@nginx.com>
Fri, 24 Apr 2020 08:33:00 +0000 (11:33 +0300)
committerVladimir Homutov <vl@nginx.com>
Fri, 24 Apr 2020 08:33:00 +0000 (11:33 +0300)
commit62943dfa08c50f04f7ce677a7618bd768b789e4e
treefab8e326a463e6e3cb46a166a8ca0d22d9cd71cf
parenta9ef6ed17d1ed1e1e78d47aecf178d86bb1b3b8d
Cleaned up hexdumps in debug output.

 - the ngx_quic_hexdump0() macro is renamed to ngx_quic_hexdump();
   the original ngx_quic_hexdump() macro with variable argument is
   removed, extra information is logged normally, with ngx_log_debug()

 - all labels in hex dumps are prefixed with "quic"

 - the hexdump format is simplified, length is moved forward to avoid
   situations when the dump is truncated, and length is not shown

 - ngx_quic_flush_flight() function contents is debug-only, placed under
   NGX_DEBUG macro to avoid "unused variable" warnings from compiler

 - frame names in labels are capitalized, similar to other places
src/event/ngx_event_quic.c
src/event/ngx_event_quic.h
src/event/ngx_event_quic_protection.c
src/event/ngx_event_quic_transport.c