mirror of
https://github.com/nginx/nginx.git
synced 2025-08-04 13:36:14 +08:00
QUIC: fixed clang-ast asserts.
This commit is contained in:
parent
154536a64f
commit
b64446f6f9
@ -1237,7 +1237,7 @@ ngx_quic_init_connection(ngx_connection_t *c)
|
|||||||
}
|
}
|
||||||
|
|
||||||
ngx_quic_hexdump(c->log, "quic stateless reset token",
|
ngx_quic_hexdump(c->log, "quic stateless reset token",
|
||||||
qc->tp.sr_token, NGX_QUIC_SR_TOKEN_LEN);
|
qc->tp.sr_token, (size_t) NGX_QUIC_SR_TOKEN_LEN);
|
||||||
}
|
}
|
||||||
|
|
||||||
len = ngx_quic_create_transport_params(NULL, NULL, &qc->tp, &clen);
|
len = ngx_quic_create_transport_params(NULL, NULL, &qc->tp, &clen);
|
||||||
|
@ -972,7 +972,7 @@ ngx_quic_new_sr_token(ngx_connection_t *c, ngx_str_t *cid, ngx_str_t *secret,
|
|||||||
|
|
||||||
#if (NGX_DEBUG)
|
#if (NGX_DEBUG)
|
||||||
ngx_quic_hexdump(c->log, "quic stateless reset token", token,
|
ngx_quic_hexdump(c->log, "quic stateless reset token", token,
|
||||||
NGX_QUIC_SR_TOKEN_LEN);
|
(size_t) NGX_QUIC_SR_TOKEN_LEN);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
return NGX_OK;
|
return NGX_OK;
|
||||||
|
Loading…
Reference in New Issue
Block a user