update the ALPN for draft-29

This commit is contained in:
Marten Seemann
2020-06-12 10:06:23 +07:00
parent cdf7e06ff1
commit 5f37327f1d
2 changed files with 2 additions and 2 deletions

View File

@@ -25,7 +25,7 @@ var (
quicListenAddr = quic.ListenAddrEarly quicListenAddr = quic.ListenAddrEarly
) )
const nextProtoH3 = "h3-28" const nextProtoH3 = "h3-29"
// contextKey is a value for use with context.WithValue. It's used as // contextKey is a value for use with context.WithValue. It's used as
// a pointer so it fits in an interface{} without allocation. // a pointer so it fits in an interface{} without allocation.

View File

@@ -16,7 +16,7 @@ import (
"github.com/lucas-clemente/quic-go" "github.com/lucas-clemente/quic-go"
) )
const h09alpn = "hq-28" const h09alpn = "hq-29"
type responseWriter struct { type responseWriter struct {
io.Writer io.Writer