fix: error after sync

This commit is contained in:
Gaukas Wang 2023-10-26 22:48:59 -06:00
parent 7c77243b04
commit 77691ccce8
No known key found for this signature in database
GPG key ID: 9E2F8986D76F8B5D
16 changed files with 39 additions and 87 deletions

View file

@ -12,11 +12,12 @@ func NewUAckHandler(
initialMaxDatagramSize protocol.ByteCount,
rttStats *utils.RTTStats,
clientAddressValidated bool,
enableECN bool,
pers protocol.Perspective,
tracer logging.ConnectionTracer,
tracer *logging.ConnectionTracer,
logger utils.Logger,
) (SentPacketHandler, ReceivedPacketHandler) {
sph := newSentPacketHandler(initialPacketNumber, initialMaxDatagramSize, rttStats, clientAddressValidated, pers, tracer, logger)
sph := newSentPacketHandler(initialPacketNumber, initialMaxDatagramSize, rttStats, clientAddressValidated, enableECN, pers, tracer, logger)
return &uSentPacketHandler{
sentPacketHandler: sph,
}, newReceivedPacketHandler(sph, rttStats, logger)