Mercurial > hg > nginx
comparison src/http/v3/ngx_http_v3_module.c @ 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 | 1192923be0aa |
children | c851a2ed5ce8 |
comparison
equal
deleted
inserted
replaced
9057:7b83da3bdf9f | 9058:b0c2234aaa9f |
---|---|
247 h3scf->quic.gso_enabled = NGX_CONF_UNSET; | 247 h3scf->quic.gso_enabled = NGX_CONF_UNSET; |
248 h3scf->quic.stream_close_code = NGX_HTTP_V3_ERR_NO_ERROR; | 248 h3scf->quic.stream_close_code = NGX_HTTP_V3_ERR_NO_ERROR; |
249 h3scf->quic.stream_reject_code_bidi = NGX_HTTP_V3_ERR_REQUEST_REJECTED; | 249 h3scf->quic.stream_reject_code_bidi = NGX_HTTP_V3_ERR_REQUEST_REJECTED; |
250 h3scf->quic.active_connection_id_limit = NGX_CONF_UNSET_UINT; | 250 h3scf->quic.active_connection_id_limit = NGX_CONF_UNSET_UINT; |
251 | 251 |
252 h3scf->quic.init = ngx_http_v3_init; | |
252 h3scf->quic.shutdown = ngx_http_v3_shutdown; | 253 h3scf->quic.shutdown = ngx_http_v3_shutdown; |
253 | 254 |
254 return h3scf; | 255 return h3scf; |
255 } | 256 } |
256 | 257 |