diff options
| author | Roman Arutyunyan <arut@nginx.com> | 2022-11-29 17:46:46 +0400 |
|---|---|---|
| committer | Roman Arutyunyan <arut@nginx.com> | 2022-11-29 17:46:46 +0400 |
| commit | dc82bed893cc4292c459d41269882b621b98f5b3 (patch) | |
| tree | 8c7a7740c0c72dc3bed50bf5f296f7e6a560931c /src/event/quic/ngx_event_quic.h | |
| parent | a89167c247afd67e43017583033463f551737262 (diff) | |
| download | nginx-dc82bed893cc4292c459d41269882b621b98f5b3.tar.gz nginx-dc82bed893cc4292c459d41269882b621b98f5b3.tar.bz2 | |
QUIC: reusable mode for main connection.
The connection is automatically switched to this mode by transport layer when
there are no non-cancelable streams. Currently, cancelable streams are
HTTP/3 encoder/decoder/control streams.
Diffstat (limited to 'src/event/quic/ngx_event_quic.h')
| -rw-r--r-- | src/event/quic/ngx_event_quic.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/event/quic/ngx_event_quic.h b/src/event/quic/ngx_event_quic.h index 92c9ecae0..231ff6e96 100644 --- a/src/event/quic/ngx_event_quic.h +++ b/src/event/quic/ngx_event_quic.h @@ -113,6 +113,7 @@ void ngx_quic_shutdown_connection(ngx_connection_t *c, ngx_uint_t err, const char *reason); ngx_int_t ngx_quic_reset_stream(ngx_connection_t *c, ngx_uint_t err); ngx_int_t ngx_quic_shutdown_stream(ngx_connection_t *c, int how); +void ngx_quic_cancelable_stream(ngx_connection_t *c); ngx_int_t ngx_quic_handle_read_event(ngx_event_t *rev, ngx_uint_t flags); ngx_int_t ngx_quic_handle_write_event(ngx_event_t *wev, size_t lowat); ngx_int_t ngx_quic_get_packet_dcid(ngx_log_t *log, u_char *data, size_t len, |
