comparison src/http/v3/ngx_http_v3.h @ 9058:b0c2234aaa9f quic

QUIC: application init() callback. It's called after handshake completion or prior to the first early data stream creation. The callback should initialize application-level data before creating streams. HTTP/3 callback implementation sets keepalive timer and sends SETTINGS. Also, this allows to limit max handshake time in ngx_http_v3_init_stream().
author Roman Arutyunyan <arut@nginx.com>
date Wed, 30 Nov 2022 12:51:15 +0400
parents 7b83da3bdf9f
children c851a2ed5ce8
comparison
equal deleted inserted replaced
9057:7b83da3bdf9f 9058:b0c2234aaa9f
157 157
158 void ngx_http_v3_init_stream(ngx_connection_t *c); 158 void ngx_http_v3_init_stream(ngx_connection_t *c);
159 void ngx_http_v3_reset_stream(ngx_connection_t *c); 159 void ngx_http_v3_reset_stream(ngx_connection_t *c);
160 ngx_int_t ngx_http_v3_init_session(ngx_connection_t *c); 160 ngx_int_t ngx_http_v3_init_session(ngx_connection_t *c);
161 ngx_int_t ngx_http_v3_check_flood(ngx_connection_t *c); 161 ngx_int_t ngx_http_v3_check_flood(ngx_connection_t *c);
162 ngx_int_t ngx_http_v3_init(ngx_connection_t *c);
162 void ngx_http_v3_shutdown(ngx_connection_t *c); 163 void ngx_http_v3_shutdown(ngx_connection_t *c);
163 164
164 ngx_int_t ngx_http_v3_read_request_body(ngx_http_request_t *r); 165 ngx_int_t ngx_http_v3_read_request_body(ngx_http_request_t *r);
165 ngx_int_t ngx_http_v3_read_unbuffered_request_body(ngx_http_request_t *r); 166 ngx_int_t ngx_http_v3_read_unbuffered_request_body(ngx_http_request_t *r);
166 167