queue up out of sequence packets

This commit is contained in:
orignal 2016-02-08 15:47:39 -05:00
parent 74f03202b7
commit e2e101e4fb

View File

@ -885,7 +885,7 @@ namespace stream
auto s = shared_from_this (); auto s = shared_from_this ();
timer->async_wait ([s,timer,receiveStreamID](const boost::system::error_code& ecode) timer->async_wait ([s,timer,receiveStreamID](const boost::system::error_code& ecode)
{ {
if (ecode == boost::asio::error::operation_aborted) if (ecode != boost::asio::error::operation_aborted)
{ {
auto it = s->m_SavedPackets.find (receiveStreamID); auto it = s->m_SavedPackets.find (receiveStreamID);
if (it != s->m_SavedPackets.end ()) if (it != s->m_SavedPackets.end ())