diff options
author | Roman Arutyunyan <arut@nginx.com> | 2022-11-30 12:51:15 +0400 |
---|---|---|
committer | Roman Arutyunyan <arut@nginx.com> | 2022-11-30 12:51:15 +0400 |
commit | 64ccdf45288c46b5f8e12426d3802c44d789d115 (patch) | |
tree | 40513d16c8d8f9571e336ef354437b50c60b1a33 /src/http/v3/ngx_http_v3_module.c | |
parent | 8a1deaca78d65f4db82f856e22dcf879d1cec479 (diff) | |
download | nginx-64ccdf45288c46b5f8e12426d3802c44d789d115.tar.gz nginx-64ccdf45288c46b5f8e12426d3802c44d789d115.zip |
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().
Diffstat (limited to 'src/http/v3/ngx_http_v3_module.c')
-rw-r--r-- | src/http/v3/ngx_http_v3_module.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/http/v3/ngx_http_v3_module.c b/src/http/v3/ngx_http_v3_module.c index d87a1c9ef..ed6becf31 100644 --- a/src/http/v3/ngx_http_v3_module.c +++ b/src/http/v3/ngx_http_v3_module.c @@ -249,6 +249,7 @@ ngx_http_v3_create_srv_conf(ngx_conf_t *cf) h3scf->quic.stream_reject_code_bidi = NGX_HTTP_V3_ERR_REQUEST_REJECTED; h3scf->quic.active_connection_id_limit = NGX_CONF_UNSET_UINT; + h3scf->quic.init = ngx_http_v3_init; h3scf->quic.shutdown = ngx_http_v3_shutdown; return h3scf; |