comparison src/event/quic/ngx_event_quic.h @ 8703:d710c457171c quic

QUIC: added ability to reset a stream.
author Sergey Kandaurov <pluknet@nginx.com>
date Wed, 17 Feb 2021 14:25:07 +0300
parents cef042935003
children 12df02cc709f
comparison
equal deleted inserted replaced
8702:d4e02b3b734f 8703:d710c457171c
129 129
130 void ngx_quic_run(ngx_connection_t *c, ngx_quic_conf_t *conf); 130 void ngx_quic_run(ngx_connection_t *c, ngx_quic_conf_t *conf);
131 ngx_connection_t *ngx_quic_open_stream(ngx_connection_t *c, ngx_uint_t bidi); 131 ngx_connection_t *ngx_quic_open_stream(ngx_connection_t *c, ngx_uint_t bidi);
132 void ngx_quic_finalize_connection(ngx_connection_t *c, ngx_uint_t err, 132 void ngx_quic_finalize_connection(ngx_connection_t *c, ngx_uint_t err,
133 const char *reason); 133 const char *reason);
134 ngx_int_t ngx_quic_reset_stream(ngx_connection_t *c, ngx_uint_t err);
134 uint32_t ngx_quic_version(ngx_connection_t *c); 135 uint32_t ngx_quic_version(ngx_connection_t *c);
135 ngx_int_t ngx_quic_get_packet_dcid(ngx_log_t *log, u_char *data, size_t len, 136 ngx_int_t ngx_quic_get_packet_dcid(ngx_log_t *log, u_char *data, size_t len,
136 ngx_str_t *dcid); 137 ngx_str_t *dcid);
137 138
138 139