forked from quic-go/quic-go
drop packets for new gQUIC connections that are too small
This commit is contained in:
@@ -74,8 +74,8 @@ const MaxReceivePacketSize ByteCount = 1452
|
||||
// Used in QUIC for congestion window computations in bytes.
|
||||
const DefaultTCPMSS ByteCount = 1460
|
||||
|
||||
// ClientHelloMinimumSize is the minimum size the server expects an inchoate CHLO to have.
|
||||
const ClientHelloMinimumSize = 1024
|
||||
// MinClientHelloSize is the minimum size the server expects an inchoate CHLO to have (in gQUIC)
|
||||
const MinClientHelloSize = 1024
|
||||
|
||||
// MinInitialPacketSize is the minimum size an Initial packet (in IETF QUIC) is requried to have.
|
||||
const MinInitialPacketSize = 1200
|
||||
|
||||
Reference in New Issue
Block a user