tcp: (fixes #987) Fix retransmission of wrong segment
This commit is contained in:
committed by
Tom Henderson
parent
4a3b0fea8b
commit
951f13c2fd
@@ -1689,7 +1689,8 @@ TcpSocketBase::EnterRecovery(uint32_t currentDelivered)
|
||||
}
|
||||
|
||||
// (4.3) Retransmit the first data segment presumed dropped
|
||||
DoRetransmit();
|
||||
uint32_t sz = SendDataPacket(m_highRxAckMark, m_tcb->m_segmentSize, true);
|
||||
NS_ASSERT_MSG(sz > 0, "SendDataPacket returned zero, indicating zero bytes were sent");
|
||||
// (4.4) Run SetPipe ()
|
||||
// (4.5) Proceed to step (C)
|
||||
// these steps are done after the ProcessAck function (SendPendingData)
|
||||
|
||||
Reference in New Issue
Block a user