comparison src/event/quic/ngx_event_quic.h @ 9051:37d5dddabaea quic

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.
author Roman Arutyunyan <arut@nginx.com>
date Tue, 29 Nov 2022 17:46:46 +0400
parents c2f5d79cde64
children 2e51cf3ffd90
comparison
equal deleted inserted replaced
9050:aaca8e111959 9051:37d5dddabaea
111 const char *reason); 111 const char *reason);
112 void ngx_quic_shutdown_connection(ngx_connection_t *c, ngx_uint_t err, 112 void ngx_quic_shutdown_connection(ngx_connection_t *c, ngx_uint_t err,
113 const char *reason); 113 const char *reason);
114 ngx_int_t ngx_quic_reset_stream(ngx_connection_t *c, ngx_uint_t err); 114 ngx_int_t ngx_quic_reset_stream(ngx_connection_t *c, ngx_uint_t err);
115 ngx_int_t ngx_quic_shutdown_stream(ngx_connection_t *c, int how); 115 ngx_int_t ngx_quic_shutdown_stream(ngx_connection_t *c, int how);
116 void ngx_quic_cancelable_stream(ngx_connection_t *c);
116 ngx_int_t ngx_quic_handle_read_event(ngx_event_t *rev, ngx_uint_t flags); 117 ngx_int_t ngx_quic_handle_read_event(ngx_event_t *rev, ngx_uint_t flags);
117 ngx_int_t ngx_quic_handle_write_event(ngx_event_t *wev, size_t lowat); 118 ngx_int_t ngx_quic_handle_write_event(ngx_event_t *wev, size_t lowat);
118 ngx_int_t ngx_quic_get_packet_dcid(ngx_log_t *log, u_char *data, size_t len, 119 ngx_int_t ngx_quic_get_packet_dcid(ngx_log_t *log, u_char *data, size_t len,
119 ngx_str_t *dcid); 120 ngx_str_t *dcid);
120 ngx_int_t ngx_quic_derive_key(ngx_log_t *log, const char *label, 121 ngx_int_t ngx_quic_derive_key(ngx_log_t *log, const char *label,