]> git.kaiwu.me - nginx.git/commitdiff
HTTP/3: fixed ngx_http_v3_init_session() error handling.
authorSergey Kandaurov <pluknet@nginx.com>
Thu, 4 May 2023 11:52:22 +0000 (15:52 +0400)
committerSergey Kandaurov <pluknet@nginx.com>
Thu, 4 May 2023 11:52:22 +0000 (15:52 +0400)
A QUIC connection is not usable yet at this early stage of spin up.

src/http/v3/ngx_http_v3.c

index 6d4bddb382050b26ff095e522cca31dfd01d27c9..db0be75dabf09a08919ee2e054d5b7ff438513cb 100644 (file)
@@ -59,9 +59,6 @@ ngx_http_v3_init_session(ngx_connection_t *c)
 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;
 }