Mercurial > hg > nginx-quic
diff src/event/quic/ngx_event_quic_connection.h @ 8410:41807e581de9 quic
QUIC: separate files for stream related processing.
author | Vladimir Homutov <vl@nginx.com> |
---|---|
date | Tue, 13 Apr 2021 14:40:00 +0300 |
parents | 660c4a2f95f3 |
children | bc910a5ec737 |
line wrap: on
line diff
--- a/src/event/quic/ngx_event_quic_connection.h +++ b/src/event/quic/ngx_event_quic_connection.h @@ -19,6 +19,7 @@ typedef struct ngx_quic_connection_s ng #include <ngx_event_quic_frames.h> #include <ngx_event_quic_migration.h> #include <ngx_event_quic_connid.h> +#include <ngx_event_quic_streams.h> #define NGX_QUIC_MAX_SHORT_HEADER 25 /* 1 flags + 20 dcid + 4 pn */ @@ -225,6 +226,9 @@ ngx_msec_t ngx_quic_pto(ngx_connection_t ngx_int_t ngx_quic_new_sr_token(ngx_connection_t *c, ngx_str_t *cid, u_char *secret, u_char *token); +ngx_int_t ngx_quic_output(ngx_connection_t *c); +void ngx_quic_shutdown_quic(ngx_connection_t *c); + /********************************* DEBUG *************************************/ /* #define NGX_QUIC_DEBUG_PACKETS */ /* dump packet contents */