fix incorrect statement about connection ID lengths in the Transport (#4247)

This commit is contained in:
Marten Seemann
2024-01-23 21:22:28 -08:00
committed by GitHub
parent a2cf43d75c
commit a968e254a1

View File

@@ -54,7 +54,8 @@ type Transport struct {
Conn net.PacketConn
// The length of the connection ID in bytes.
// It can be 0, or any value between 4 and 18.
// It can be any value between 1 and 20.
// Due to the increased risk of collisions, it is not recommended to use connection IDs shorter than 4 bytes.
// If unset, a 4 byte connection ID will be used.
ConnectionIDLength int