mirror of
https://github.com/PurpleI2P/i2pd
synced 2024-11-10 08:00:38 +03:00
queue up out of sequence packets
This commit is contained in:
parent
74f03202b7
commit
e2e101e4fb
@ -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 ())
|
||||||
|
Loading…
Reference in New Issue
Block a user