Mercurial > hg > nginx
comparison src/http/v3/ngx_http_v3.c @ 9090: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 | c851a2ed5ce8 |
children | f742b1b46901 |
comparison
equal
deleted
inserted
replaced
9089:8347620e0e76 | 9090:394e9a2cefc4 |
---|---|
57 return NGX_OK; | 57 return NGX_OK; |
58 | 58 |
59 failed: | 59 failed: |
60 | 60 |
61 ngx_log_error(NGX_LOG_ERR, c->log, 0, "failed to create http3 session"); | 61 ngx_log_error(NGX_LOG_ERR, c->log, 0, "failed to create http3 session"); |
62 | |
63 ngx_http_v3_finalize_connection(c, NGX_HTTP_V3_ERR_INTERNAL_ERROR, | |
64 "failed to create http3 session"); | |
65 return NGX_ERROR; | 62 return NGX_ERROR; |
66 } | 63 } |
67 | 64 |
68 | 65 |
69 static void | 66 static void |