Skip to content

Commit

Permalink
http3: remove leftover ALPN constant for draft-29 (#4027)
Browse files Browse the repository at this point in the history
  • Loading branch information
marten-seemann committed Aug 14, 2023
1 parent b65ed61 commit 70f3f44
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions http3/server.go
Expand Up @@ -31,12 +31,8 @@ var (
}
)

const (
// NextProtoH3Draft29 is the ALPN protocol negotiated during the TLS handshake, for QUIC draft 29.
NextProtoH3Draft29 = "h3-29"
// NextProtoH3 is the ALPN protocol negotiated during the TLS handshake, for QUIC v1 and v2.
NextProtoH3 = "h3"
)
// NextProtoH3 is the ALPN protocol negotiated during the TLS handshake, for QUIC v1 and v2.
const NextProtoH3 = "h3"

// StreamType is the stream type of a unidirectional stream.
type StreamType uint64
Expand Down

0 comments on commit 70f3f44

Please sign in to comment.