comparison src/http/modules/ngx_http_quic_module.h @ 8918:606bf52888d2 quic

HTTP/3: adjusted ALPN macro names to align with 61abb35bb8cf.
author Sergey Kandaurov <pluknet@nginx.com>
date Thu, 02 Dec 2021 13:59:09 +0300
parents 9ec3e71f8a61
children
comparison
equal deleted inserted replaced
8917:bb1d1d9d76e2 8918:606bf52888d2
12 #include <ngx_config.h> 12 #include <ngx_config.h>
13 #include <ngx_core.h> 13 #include <ngx_core.h>
14 #include <ngx_http.h> 14 #include <ngx_http.h>
15 15
16 16
17 #define NGX_HTTP_QUIC_ALPN_ADVERTISE "\x0Ahq-interop" 17 #define NGX_HTTP_QUIC_ALPN_PROTO "\x0Ahq-interop"
18 #define NGX_HTTP_QUIC_ALPN_DRAFT_FMT "\x05hq-%02uD" 18 #define NGX_HTTP_QUIC_ALPN_DRAFT_FMT "\x05hq-%02uD"
19 19
20 20
21 #define ngx_http_quic_get_connection(c) \ 21 #define ngx_http_quic_get_connection(c) \
22 ((ngx_http_connection_t *) (c)->quic->parent->data) 22 ((ngx_http_connection_t *) (c)->quic->parent->data)