comparison src/http/modules/ngx_http_quic_module.h @ 8353:554e11a325a9 quic

QUIC: fixed hq ALPN id for the final draft. It was an agreement to use "hq-interop"[1] for interoperability testing. [1] https://github.com/quicwg/base-drafts/wiki/ALPN-IDs-used-with-QUIC
author Sergey Kandaurov <pluknet@nginx.com>
date Tue, 16 Mar 2021 13:48:28 +0300
parents e1eb7f4ca9f1
children 9ec3e71f8a61
comparison
equal deleted inserted replaced
8352:0a0b1de9ccab 8353:554e11a325a9
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 "\x02hq" 17 #define NGX_HTTP_QUIC_ALPN_ADVERTISE "\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 ngx_int_t ngx_http_quic_init(ngx_connection_t *c); 21 ngx_int_t ngx_http_quic_init(ngx_connection_t *c);
22 22