]> git.kaiwu.me - nginx.git/commit
Debug cleanup.
authorVladimir Homutov <vl@nginx.com>
Fri, 24 Apr 2020 07:11:47 +0000 (10:11 +0300)
committerVladimir Homutov <vl@nginx.com>
Fri, 24 Apr 2020 07:11:47 +0000 (10:11 +0300)
commita9ef6ed17d1ed1e1e78d47aecf178d86bb1b3b8d
tree8166ab7783f061692201ddf2caef4a2288012a3d
parented506f8e15d2b84b3122d692299755e2731b3c79
Debug cleanup.

 + all dumps are moved under one of the following macros (undefined by default):
    NGX_QUIC_DEBUG_PACKETS
    NGX_QUIC_DEBUG_FRAMES
    NGX_QUIC_DEBUG_FRAMES_ALLOC
    NGX_QUIC_DEBUG_CRYPTO

 + all QUIC debug messages got "quic " prefix

 + all input frames are reported as "quic frame in FOO_FRAME bar:1 baz:2"

 + all outgoing frames re reported as "quic frame out foo bar baz"

 + all stream operations are prefixed with id, like: "quic stream id 0x33 recv"

 + all transport parameters are prefixed with "quic tp"
   (hex dump is moved to caller, to avoid using ngx_cycle->log)

 + packet flags and some other debug messages are updated to
   include packet type
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