mirror of
https://github.com/nginx/nginx.git
synced 2026-10-23 12:32:56 +00:00
Fixed ngx_quic_varint_len misuse in the previous change.
This commit is contained in:
parent
e3e5e21ed5
commit
12fc8a8bac
1 changed files with 1 additions and 1 deletions
|
|
@ -351,7 +351,7 @@ ngx_quic_create_crypto(u_char *p, ngx_quic_crypto_frame_t *crypto)
|
|||
u_char *start;
|
||||
|
||||
if (p == NULL) {
|
||||
return 3 + ngx_quic_varint_len(crypto->len) + crypto->len;
|
||||
return 2 + ngx_quic_varint_len(crypto->len) + crypto->len;
|
||||
}
|
||||
|
||||
start = p;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue