mirror of
https://github.com/nginx/nginx.git
synced 2025-08-01 19:36:13 +08:00
HTTP/3: fixed ngx_http_v3_init_session() error handling.
A QUIC connection is not usable yet at this early stage of spin up.
This commit is contained in:
parent
4746ec2b62
commit
ea51d2fce8
@ -59,9 +59,6 @@ ngx_http_v3_init_session(ngx_connection_t *c)
|
|||||||
failed:
|
failed:
|
||||||
|
|
||||||
ngx_log_error(NGX_LOG_ERR, c->log, 0, "failed to create http3 session");
|
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;
|
return NGX_ERROR;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user