Skip to content

Commit

Permalink
set the correct HTTP/3 ALPN for QUIC v2
Browse files Browse the repository at this point in the history
  • Loading branch information
marten-seemann committed May 25, 2022
1 parent e6ecd0c commit e57d4c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion http3/server.go
Expand Up @@ -44,7 +44,7 @@ const (
)

func versionToALPN(v protocol.VersionNumber) string {
if v == protocol.Version1 {
if v == protocol.Version1 || v == protocol.Version2 {
return nextProtoH3
}
if v == protocol.VersionTLS || v == protocol.VersionDraft29 {
Expand Down

0 comments on commit e57d4c6

Please sign in to comment.