[ndnSIM] ConsumerWindow application does not get all Data (#33)
yic at email.arizona.edu
Fri Apr 12 11:42:15 PDT 2013
No problem :) thanks for the fix!
On 04/12/2013 11:37 AM, Alex Afanasyev wrote:
> Hi Cheng,
> Thanks for noticing the problem!
> I just pushed a commit that should solve the bug. I used a slightly
> different solution that you were suggesting, but the effect should be
> exactly the same.
> Thanks again,
> On Apr 12, 2013, at 11:28 AM, Cheng Yi <notifications at github.com
> <mailto:notifications at github.com>> wrote:
>> In ConsumerWindow::ScheduleNextPacket, m_inFlight is always increased
>> when Consumer::SendPacket is scheduled, but Consumer::SendPacket does
>> not always send out an Interest. If m_inFlight is increased when no
>> Interest is sent out, it will cause m_inFlight to be larger than the
>> actual number of in-flight Interests. As a result, Interests in the
>> retransmission queue may not be sent out because the window size is
>> smaller than the m_inFlight at the end of the simulation.
> ndnSIM mailing list
> ndnSIM at lists.cs.ucla.edu
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the ndnSIM