summaryrefslogtreecommitdiffhomepage
path: root/src/http/v3/ngx_http_v3.c
diff options
context:
space:
mode:
authorRoman Arutyunyan <arut@nginx.com>2022-01-31 09:16:47 +0300
committerRoman Arutyunyan <arut@nginx.com>2022-01-31 09:16:47 +0300
commitacb585518d868a5051c1caa85add006d975751f5 (patch)
treee4edefa822b4851a0a39aaefe42fc2daa2e6de1a /src/http/v3/ngx_http_v3.c
parentf87630ab49d053d35829e8c2e2160e66495f3a2d (diff)
downloadnginx-acb585518d868a5051c1caa85add006d975751f5.tar.gz
nginx-acb585518d868a5051c1caa85add006d975751f5.tar.bz2
QUIC: allowed main QUIC connection for some operations.
Operations like ngx_quic_open_stream(), ngx_http_quic_get_connection(), ngx_http_v3_finalize_connection(), ngx_http_v3_shutdown_connection() used to receive a QUIC stream connection. Now they can receive the main QUIC connection as well. This is useful when calling them from a stream context.
Diffstat (limited to 'src/http/v3/ngx_http_v3.c')
-rw-r--r--src/http/v3/ngx_http_v3.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/http/v3/ngx_http_v3.c b/src/http/v3/ngx_http_v3.c
index 97d8a5e34..29b07e025 100644
--- a/src/http/v3/ngx_http_v3.c
+++ b/src/http/v3/ngx_http_v3.c
@@ -78,8 +78,8 @@ ngx_http_v3_keepalive_handler(ngx_event_t *ev)
ngx_log_debug0(NGX_LOG_DEBUG_HTTP, c->log, 0, "http3 keepalive handler");
- ngx_quic_finalize_connection(c, NGX_HTTP_V3_ERR_NO_ERROR,
- "keepalive timeout");
+ ngx_http_v3_finalize_connection(c, NGX_HTTP_V3_ERR_NO_ERROR,
+ "keepalive timeout");
}