fix casing of onACK method in CC

This commit is contained in:
Stephen Birarda 2015-07-31 16:41:22 -07:00
parent 9b6c8bcf77
commit 84b8fc9f06
2 changed files with 2 additions and 2 deletions

View file

@ -37,7 +37,7 @@ public:
virtual void init() {}
virtual void close() {}
virtual void onAck(SequenceNumber ackNum) {}
virtual void onACK(SequenceNumber ackNum) {}
virtual void onLoss(SequenceNumber rangeStart, SequenceNumber rangeEnd) {}
protected:

View file

@ -431,7 +431,7 @@ void Connection::processACK(std::unique_ptr<ControlPacket> controlPacket) {
// give this ACK to the congestion control and update the send queue parameters
updateCongestionControlAndSendQueue([this, ack](){
_congestionControl->onAck(ack);
_congestionControl->onACK(ack);
});
// update the total count of received ACKs