forked from quic-go/quic-go
update the ALPN for draft-29
This commit is contained in:
@@ -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.
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user