<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi Cheng,<div><br></div><div>Thanks for noticing the problem!</div><div><br></div><div>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.</div><div><br></div><div>Thanks again,</div><div>Alex</div><div><br><div><div>On Apr 12, 2013, at 11:28 AM, Cheng Yi <<a href="mailto:notifications@github.com">notifications@github.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><p>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.</p></blockquote></div></div></body></html>