comparison src/event/ngx_event_quic.h @ 8013:455a8536eaa7 quic

QUIC: limited the number of server-initiated streams. Also, ngx_quic_create_uni_stream() is replaced with ngx_quic_open_stream() which is capable of creating a bidi stream.
author Roman Arutyunyan <arut@nginx.com>
date Mon, 27 Jul 2020 18:51:42 +0300
parents 2da9c4fddd44
children 924882f42dea
comparison
equal deleted inserted replaced
8012:e334ca1b23ba 8013:455a8536eaa7
111 ngx_quic_frames_stream_t fs; 111 ngx_quic_frames_stream_t fs;
112 }; 112 };
113 113
114 114
115 void ngx_quic_run(ngx_connection_t *c, ngx_ssl_t *ssl, ngx_quic_conf_t *conf); 115 void ngx_quic_run(ngx_connection_t *c, ngx_ssl_t *ssl, ngx_quic_conf_t *conf);
116 ngx_connection_t *ngx_quic_create_uni_stream(ngx_connection_t *c); 116 ngx_connection_t *ngx_quic_open_stream(ngx_connection_t *c, ngx_uint_t bidi);
117 void ngx_quic_finalize_connection(ngx_connection_t *c, ngx_uint_t err, 117 void ngx_quic_finalize_connection(ngx_connection_t *c, ngx_uint_t err,
118 const char *reason); 118 const char *reason);
119 119
120 120
121 /********************************* DEBUG *************************************/ 121 /********************************* DEBUG *************************************/