diff options
author | Roman Arutyunyan <arut@nginx.com> | 2023-09-13 17:57:13 +0400 |
---|---|---|
committer | Roman Arutyunyan <arut@nginx.com> | 2023-09-13 17:57:13 +0400 |
commit | ec37134416d4fd98d8cb8f02776a711c50398684 (patch) | |
tree | 0a4867ad61995cf5b615665045ad5d47297a5fb6 /src | |
parent | 33dca887925d9cec7153252dcd5380c394090936 (diff) | |
download | nginx-ec37134416d4fd98d8cb8f02776a711c50398684.tar.gz nginx-ec37134416d4fd98d8cb8f02776a711c50398684.zip |
HTTP/3: moved variable initialization.
Diffstat (limited to 'src')
-rw-r--r-- | src/http/v3/ngx_http_v3_request.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/http/v3/ngx_http_v3_request.c b/src/http/v3/ngx_http_v3_request.c index 2f5503aba..92c204c24 100644 --- a/src/http/v3/ngx_http_v3_request.c +++ b/src/http/v3/ngx_http_v3_request.c @@ -67,7 +67,6 @@ ngx_http_v3_init_stream(ngx_connection_t *c) hc->ssl = 1; clcf = ngx_http_get_module_loc_conf(hc->conf_ctx, ngx_http_core_module); - h3scf = ngx_http_get_module_srv_conf(hc->conf_ctx, ngx_http_v3_module); if (c->quic == NULL) { if (ngx_http_v3_init_session(c) != NGX_OK) { @@ -75,7 +74,9 @@ ngx_http_v3_init_stream(ngx_connection_t *c) return; } + h3scf = ngx_http_get_module_srv_conf(hc->conf_ctx, ngx_http_v3_module); h3scf->quic.idle_timeout = clcf->keepalive_timeout; + ngx_quic_run(c, &h3scf->quic); return; } |