Mercurial > hg > nginx-quic
comparison src/http/v3/ngx_http_v3.c @ 8823:6434160b4b78 quic
QUIC: allowed main QUIC connection for some operations.
Operations like ngx_quic_open_stream(), ngx_http_quic_get_connection(),
ngx_http_v3_finalize_connection(), ngx_http_v3_shutdown_connection() used to
receive a QUIC stream connection. Now they can receive the main QUIC
connection as well. This is useful when calling them from a stream context.
author | Roman Arutyunyan <arut@nginx.com> |
---|---|
date | Mon, 31 Jan 2022 09:16:47 +0300 |
parents | 925572184d4a |
children | 81a3429db8b0 |
comparison
equal
deleted
inserted
replaced
8822:30cad5a0931e | 8823:6434160b4b78 |
---|---|
76 | 76 |
77 c = ev->data; | 77 c = ev->data; |
78 | 78 |
79 ngx_log_debug0(NGX_LOG_DEBUG_HTTP, c->log, 0, "http3 keepalive handler"); | 79 ngx_log_debug0(NGX_LOG_DEBUG_HTTP, c->log, 0, "http3 keepalive handler"); |
80 | 80 |
81 ngx_quic_finalize_connection(c, NGX_HTTP_V3_ERR_NO_ERROR, | 81 ngx_http_v3_finalize_connection(c, NGX_HTTP_V3_ERR_NO_ERROR, |
82 "keepalive timeout"); | 82 "keepalive timeout"); |
83 } | 83 } |
84 | 84 |
85 | 85 |
86 static void | 86 static void |
87 ngx_http_v3_cleanup_session(void *data) | 87 ngx_http_v3_cleanup_session(void *data) |