mirror of
https://github.com/nginx/nginx.git
synced 2025-06-21 05:10:51 +08:00
QUIC: removed unused argument in ngx_quic_create_short_header().
This commit is contained in:
parent
47caa66489
commit
151985c931
@ -96,7 +96,7 @@ static ngx_int_t ngx_quic_parse_long_header_v1(ngx_quic_header_t *pkt);
|
|||||||
static size_t ngx_quic_create_long_header(ngx_quic_header_t *pkt, u_char *out,
|
static size_t ngx_quic_create_long_header(ngx_quic_header_t *pkt, u_char *out,
|
||||||
size_t pkt_len, u_char **pnp);
|
size_t pkt_len, u_char **pnp);
|
||||||
static size_t ngx_quic_create_short_header(ngx_quic_header_t *pkt, u_char *out,
|
static size_t ngx_quic_create_short_header(ngx_quic_header_t *pkt, u_char *out,
|
||||||
size_t pkt_len, u_char **pnp);
|
u_char **pnp);
|
||||||
|
|
||||||
static ngx_int_t ngx_quic_frame_allowed(ngx_quic_header_t *pkt,
|
static ngx_int_t ngx_quic_frame_allowed(ngx_quic_header_t *pkt,
|
||||||
ngx_uint_t frame_type);
|
ngx_uint_t frame_type);
|
||||||
@ -618,7 +618,7 @@ ngx_quic_create_header(ngx_quic_header_t *pkt, u_char *out, size_t pkt_len,
|
|||||||
u_char **pnp)
|
u_char **pnp)
|
||||||
{
|
{
|
||||||
return ngx_quic_short_pkt(pkt->flags)
|
return ngx_quic_short_pkt(pkt->flags)
|
||||||
? ngx_quic_create_short_header(pkt, out, pkt_len, pnp)
|
? ngx_quic_create_short_header(pkt, out, pnp)
|
||||||
: ngx_quic_create_long_header(pkt, out, pkt_len, pnp);
|
: ngx_quic_create_long_header(pkt, out, pkt_len, pnp);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -676,7 +676,7 @@ ngx_quic_create_long_header(ngx_quic_header_t *pkt, u_char *out,
|
|||||||
|
|
||||||
static size_t
|
static size_t
|
||||||
ngx_quic_create_short_header(ngx_quic_header_t *pkt, u_char *out,
|
ngx_quic_create_short_header(ngx_quic_header_t *pkt, u_char *out,
|
||||||
size_t pkt_len, u_char **pnp)
|
u_char **pnp)
|
||||||
{
|
{
|
||||||
u_char *p, *start;
|
u_char *p, *start;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user