Fixed log initialization.
Should be done after memzero.
This commit is contained in:
parent
9dda9e51f3
commit
34e20825bb
1 changed files with 1 additions and 2 deletions
|
@ -1308,13 +1308,12 @@ ngx_quic_send_packet(ngx_connection_t *c, ngx_quic_connection_t *qc,
|
|||
ngx_str_t res;
|
||||
ngx_quic_header_t pkt;
|
||||
|
||||
pkt.log = c->log;
|
||||
|
||||
static ngx_str_t initial_token = ngx_null_string;
|
||||
|
||||
ngx_memzero(&pkt, sizeof(ngx_quic_header_t));
|
||||
ngx_quic_hexdump0(c->log, "payload", payload->data, payload->len);
|
||||
|
||||
pkt.log = c->log;
|
||||
pkt.level = level;
|
||||
pkt.dcid = qc->dcid;
|
||||
pkt.scid = qc->scid;
|
||||
|
|
Loading…
Reference in a new issue