Skip to content

Commit

Permalink
quic: disable sending of Version Negotiation packets
Browse files Browse the repository at this point in the history
  • Loading branch information
marten-seemann committed Jan 27, 2023
1 parent 3919359 commit 58478cf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions p2p/transport/quicreuse/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,6 @@ var quicConfig = &quic.Config{
Versions: []quic.VersionNumber{quic.VersionDraft29, quic.Version1},
// We don't use datagrams (yet), but this is necessary for WebTransport
EnableDatagrams: true,
// The multiaddress encodes the QUIC version, thus there's no need to send Version Negotiation packets.
DisableVersionNegotiationPackets: true,
}

0 comments on commit 58478cf

Please sign in to comment.