summaryrefslogtreecommitdiffhomepage
path: root/src/event/quic/ngx_event_quic.h
diff options
context:
space:
mode:
authorRoman Arutyunyan <arut@nginx.com>2022-11-29 17:46:46 +0400
committerRoman Arutyunyan <arut@nginx.com>2022-11-29 17:46:46 +0400
commitdc82bed893cc4292c459d41269882b621b98f5b3 (patch)
tree8c7a7740c0c72dc3bed50bf5f296f7e6a560931c /src/event/quic/ngx_event_quic.h
parenta89167c247afd67e43017583033463f551737262 (diff)
downloadnginx-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.h1
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,