]> git.kaiwu.me - nginx.git/commitdiff
QUIC: fixed hq ALPN id for the final draft.
authorSergey Kandaurov <pluknet@nginx.com>
Tue, 16 Mar 2021 10:48:28 +0000 (13:48 +0300)
committerSergey Kandaurov <pluknet@nginx.com>
Tue, 16 Mar 2021 10:48:28 +0000 (13:48 +0300)
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

src/http/modules/ngx_http_quic_module.h

index bc75dd501d08bbaf0e66490911bc5fa084640c7e..21d4a40a10c98f95e530151f7b9e89d3e283a526 100644 (file)
@@ -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"