Fixed packet "input" debug log message.

This commit is contained in:
Sergey Kandaurov 2020-03-05 13:10:01 +03:00
parent 0bc9857b47
commit 941d4f1c2e

View File

@ -1203,7 +1203,7 @@ ngx_quic_handshake_input(ngx_connection_t *c, ngx_buf_t *bb)
p = bb->pos;
b = bb->start;
ngx_quic_hexdump0(c->log, "input", buf, n);
ngx_quic_hexdump0(c->log, "input", p, n);
if ((p[0] & 0xf0) != NGX_QUIC_PKT_HANDSHAKE) {
ngx_log_error(NGX_LOG_INFO, c->log, 0, "invalid packet type");