# HG changeset patch
# User Sergey Kandaurov <[email protected]>
# Date 1682954723 -14400
# Mon May 01 19:25:23 2023 +0400
# Branch quic
# Node ID 8aa3363bc83d4354b3142e3972cce5c0ef523539
# Parent 9ea62b6250f225578f703da5e230853a7a84df7d
HTTP/3: fixed ngx_http_v3_init_session() error handling.
A QUIC connection is not usable yet at this early stage of spin up.
diff --git a/src/http/v3/ngx_http_v3.c b/src/http/v3/ngx_http_v3.c
--- 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;
}
_______________________________________________
nginx-devel mailing list
[email protected]
https://mailman.nginx.org/mailman/listinfo/nginx-devel