From dbe925d74a4916d9fcdac6a63c98aac6fbd0fb68 Mon Sep 17 00:00:00 2001 From: Marten Seemann Date: Wed, 27 May 2020 09:54:03 +0700 Subject: [PATCH] update the ALPN tokens to draft-28 --- http3/server.go | 2 +- interop/http09/server.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/http3/server.go b/http3/server.go index 7d2abffbb..9ae1efe23 100644 --- a/http3/server.go +++ b/http3/server.go @@ -25,7 +25,7 @@ var ( quicListenAddr = quic.ListenAddrEarly ) -const nextProtoH3 = "h3-27" +const nextProtoH3 = "h3-28" // contextKey is a value for use with context.WithValue. It's used as // a pointer so it fits in an interface{} without allocation. diff --git a/interop/http09/server.go b/interop/http09/server.go index 893fdbb00..a384e18cb 100644 --- a/interop/http09/server.go +++ b/interop/http09/server.go @@ -16,7 +16,7 @@ import ( "github.com/lucas-clemente/quic-go" ) -const h09alpn = "hq-27" +const h09alpn = "hq-28" type responseWriter struct { io.Writer