Mercurial > hg > nginx-quic
view src/event/ngx_event_quic.h @ 7653:de5917df2c30 quic
Adjusted transport parameters stub for active_connection_id_limit.
As was objserved with ngtcp2 client, Finished CRYPTO frame within Handshake
packet may not be sent for some reason if there's nothing to append on 1-RTT.
This results in unnecessary retransmit. To avoid this edge case, a non-zero
active_connection_id_limit transport parameter is now used to append datagram
with NEW_CONNECTION_ID 1-RTT frames.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Wed, 04 Mar 2020 16:05:39 +0300 |
parents | b28ea685a56e |
children | 4ae9ac69ab93 |
line wrap: on
line source
/* * Copyright (C) Nginx, Inc. */ #ifndef _NGX_EVENT_QUIC_H_INCLUDED_ #define _NGX_EVENT_QUIC_H_INCLUDED_ #include <ngx_event_openssl.h> /* TODO: get rid somehow of ssl argument? */ ngx_int_t ngx_quic_input(ngx_connection_t *c, ngx_ssl_t *ssl, ngx_buf_t *b); ngx_int_t ngx_quic_output(ngx_connection_t *c); void ngx_quic_init_ssl_methods(SSL_CTX* ctx); #endif /* _NGX_EVENT_QUIC_H_INCLUDED_ */