mirror of
https://github.com/refraction-networking/uquic.git
synced 2025-04-04 20:57:36 +03:00
simplify pruning of old ACK ranges
This commit is contained in:
parent
f317a471bb
commit
a5fc72047e
11 changed files with 94 additions and 50 deletions
|
@ -17,6 +17,6 @@ func NewAckHandler(
|
|||
logger utils.Logger,
|
||||
version protocol.VersionNumber,
|
||||
) (SentPacketHandler, ReceivedPacketHandler) {
|
||||
return newSentPacketHandler(initialPacketNumber, rttStats, pers, traceCallback, qlogger, logger),
|
||||
newReceivedPacketHandler(rttStats, logger, version)
|
||||
sph := newSentPacketHandler(initialPacketNumber, rttStats, pers, traceCallback, qlogger, logger)
|
||||
return sph, newReceivedPacketHandler(sph, rttStats, logger, version)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue