add a comment for Connection processTimeoutNAK

This commit is contained in:
Stephen Birarda 2015-07-29 10:56:38 -07:00
parent 94db77155e
commit d344ba5743

View file

@ -432,8 +432,8 @@ void Connection::processTimeoutNAK(std::unique_ptr<ControlPacket> controlPacket)
// Override SendQueue's LossList with the timeout NAK list // Override SendQueue's LossList with the timeout NAK list
_sendQueue->overrideNAKListFromPacket(*controlPacket); _sendQueue->overrideNAKListFromPacket(*controlPacket);
// TODO: tell the congestion control object that there was loss // we don't tell the congestion control object there was loss here - this matches UDTs implementation
// _congestionControl->onLoss(); // a possible improvement would be to tell it which new loss this timeout packet told us about
++_totalReceivedTimeoutNAKs; ++_totalReceivedTimeoutNAKs;
} }