forked from quic-go/quic-go
limit available window to 3x of received bytes before address validation
This commit is contained in:
@@ -64,6 +64,7 @@ func (h *receivedPacketHandler) ReceivedPacket(
|
||||
rcvTime time.Time,
|
||||
shouldInstigateAck bool,
|
||||
) error {
|
||||
h.sentPackets.ReceivedPacket(encLevel)
|
||||
switch encLevel {
|
||||
case protocol.EncryptionInitial:
|
||||
h.initialPackets.ReceivedPacket(pn, rcvTime, shouldInstigateAck)
|
||||
|
||||
Reference in New Issue
Block a user