diff options
| author | Sergey Kandaurov <pluknet@nginx.com> | 2020-11-17 21:32:06 +0000 |
|---|---|---|
| committer | Sergey Kandaurov <pluknet@nginx.com> | 2020-11-17 21:32:06 +0000 |
| commit | 97dcde97991169da1106117da464516445c36a77 (patch) | |
| tree | 756ff6d8d550b8675b16d3c8a8d087b67c9bff98 /src/event/ngx_event_quic.c | |
| parent | 5e32d82dea03e25c472f8549afe167d827104100 (diff) | |
| download | nginx-97dcde97991169da1106117da464516445c36a77.tar.gz nginx-97dcde97991169da1106117da464516445c36a77.tar.bz2 | |
QUIC: hide header creation internals in ngx_event_quic_transport.c.
It doesn't make sense to expose the header type in a public function.
Diffstat (limited to '')
| -rw-r--r-- | src/event/ngx_event_quic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/event/ngx_event_quic.c b/src/event/ngx_event_quic.c index a11300407..2d19ebea4 100644 --- a/src/event/ngx_event_quic.c +++ b/src/event/ngx_event_quic.c @@ -4858,7 +4858,7 @@ ngx_quic_send_frames(ngx_connection_t *c, ngx_quic_send_ctx_t *ctx, if (start->level == ssl_encryption_initial && pkt.need_ack) { pad_len = NGX_QUIC_MIN_INITIAL_SIZE - EVP_GCM_TLS_TAG_LEN - - ngx_quic_create_long_header(&pkt, NULL, out.len, NULL); + - ngx_quic_create_header(&pkt, NULL, out.len, NULL); pad_len = ngx_min(pad_len, NGX_QUIC_MIN_INITIAL_SIZE); } else { |
