comparison src/http/v3/ngx_http_v3.h @ 8814:3d0fc72d409e quic

HTTP/3: removed draft versions support in ALPN.
author Sergey Kandaurov <pluknet@nginx.com>
date Wed, 26 Jan 2022 14:15:40 +0300
parents 10522e8dea41
children 6434160b4b78
comparison
equal deleted inserted replaced
8813:c37ea624c307 8814:3d0fc72d409e
18 #include <ngx_http_v3_uni.h> 18 #include <ngx_http_v3_uni.h>
19 #include <ngx_http_v3_table.h> 19 #include <ngx_http_v3_table.h>
20 20
21 21
22 #define NGX_HTTP_V3_ALPN_PROTO "\x02h3" 22 #define NGX_HTTP_V3_ALPN_PROTO "\x02h3"
23 #define NGX_HTTP_V3_ALPN_DRAFT_FMT "\x05h3-%02uD"
24
25 #define NGX_HTTP_V3_HQ_ALPN_PROTO "\x0Ahq-interop" 23 #define NGX_HTTP_V3_HQ_ALPN_PROTO "\x0Ahq-interop"
26 #define NGX_HTTP_V3_HQ_ALPN_DRAFT_FMT "\x05hq-%02uD"
27 24
28 #define NGX_HTTP_V3_VARLEN_INT_LEN 4 25 #define NGX_HTTP_V3_VARLEN_INT_LEN 4
29 #define NGX_HTTP_V3_PREFIX_INT_LEN 11 26 #define NGX_HTTP_V3_PREFIX_INT_LEN 11
30 27
31 #define NGX_HTTP_V3_STREAM_CONTROL 0x00 28 #define NGX_HTTP_V3_STREAM_CONTROL 0x00