diff 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
line wrap: on
line diff
--- a/src/http/modules/ngx_http_quic_module.h
+++ b/src/http/modules/ngx_http_quic_module.h
@@ -14,7 +14,7 @@
 #include <ngx_http.h>
 
 
-#define NGX_HTTP_QUIC_ALPN_ADVERTISE  "\x02hq"
+#define NGX_HTTP_QUIC_ALPN_ADVERTISE  "\x0Ahq-interop"
 #define NGX_HTTP_QUIC_ALPN_DRAFT_FMT  "\x05hq-%02uD"