Mercurial > hg > nginx
diff 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 |
line wrap: on
line diff
--- a/src/event/quic/ngx_event_quic.h Mon Feb 15 14:54:28 2021 +0300 +++ b/src/event/quic/ngx_event_quic.h Wed Feb 17 14:25:07 2021 +0300 @@ -131,6 +131,7 @@ ngx_connection_t *ngx_quic_open_stream(ngx_connection_t *c, ngx_uint_t bidi); void ngx_quic_finalize_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); uint32_t ngx_quic_version(ngx_connection_t *c); ngx_int_t ngx_quic_get_packet_dcid(ngx_log_t *log, u_char *data, size_t len, ngx_str_t *dcid);