changeset 9076:394e9a2cefc4 quic

HTTP/3: fixed ngx_http_v3_init_session() error handling. A QUIC connection is not usable yet at this early stage of spin up.
author Sergey Kandaurov <pluknet@nginx.com>
date Thu, 04 May 2023 15:52:22 +0400
parents 8347620e0e76
children 8f2f40d3fd18
files src/http/v3/ngx_http_v3.c
diffstat 1 files changed, 0 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/http/v3/ngx_http_v3.c
+++ b/src/http/v3/ngx_http_v3.c
@@ -59,9 +59,6 @@ ngx_http_v3_init_session(ngx_connection_
 failed:
 
     ngx_log_error(NGX_LOG_ERR, c->log, 0, "failed to create http3 session");
-
-    ngx_http_v3_finalize_connection(c, NGX_HTTP_V3_ERR_INTERNAL_ERROR,
-                                    "failed to create http3 session");
     return NGX_ERROR;
 }