update the ALPN tokens to draft-28

This commit is contained in:
Marten Seemann 2020-05-27 09:54:03 +07:00
parent fd5ecee85d
commit dbe925d74a
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-27" const nextProtoH3 = "h3-28"
// 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-27" const h09alpn = "hq-28"
type responseWriter struct { type responseWriter struct {
io.Writer io.Writer