aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSergey Kandaurov <pluknet@nginx.com>2023-05-04 15:52:22 +0400
committerSergey Kandaurov <pluknet@nginx.com>2023-05-04 15:52:22 +0400
commitea51d2fce8798c4bfc0d56a566ea73a024b3b125 (patch)
treef11fada9dc7e8525d0668a14bbe34d983c7f7d12 /src
parent4746ec2b626dd8dd9550809f125e5887c4c0d445 (diff)
downloadnginx-ea51d2fce8798c4bfc0d56a566ea73a024b3b125.tar.gz
nginx-ea51d2fce8798c4bfc0d56a566ea73a024b3b125.zip
HTTP/3: fixed ngx_http_v3_init_session() error handling.
A QUIC connection is not usable yet at this early stage of spin up.
Diffstat (limited to 'src')
-rw-r--r--src/http/v3/ngx_http_v3.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/http/v3/ngx_http_v3.c b/src/http/v3/ngx_http_v3.c
index 6d4bddb38..db0be75da 100644
--- 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_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;
}