]> git.kaiwu.me - nginx.git/commit
Aded the "ngx_quic_hexdump" macro.
authorVladimir Homutov <vl@nginx.com>
Mon, 2 Mar 2020 18:38:03 +0000 (21:38 +0300)
committerVladimir Homutov <vl@nginx.com>
Mon, 2 Mar 2020 18:38:03 +0000 (21:38 +0300)
commit820be1b8466ebe508fa91b1d706e5b3ef614c5c1
treeae3d117ed224d5b5a9f5278826c473076100eb2d
parentb20ed8f7f1acc2a1ef38714ddd75c7ba7add5f1d
Aded the "ngx_quic_hexdump" macro.

ngx_quic_hexdump0(log, format, buffer, buffer_size);
    - logs hexdump of buffer to specified error log

    ngx_quic_hexdump0(c->log, "this is foo:", foo.data, foo.len);

ngx_quic_hexdump(log, format, buffer, buffer_size, ...)
    - same as hexdump0, but more format/args possible:

    ngx_quic_hexdump(c->log, "a=%d b=%d, foo is:", foo.data, foo.len, a, b);
src/event/ngx_event_quic.c