mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-03-07 06:09:42 +00:00
keep pending incoming streams if acceptor is not set
This commit is contained in:
@@ -909,11 +909,8 @@ namespace stream
|
|||||||
|
|
||||||
void StreamingDestination::ResetAcceptor ()
|
void StreamingDestination::ResetAcceptor ()
|
||||||
{
|
{
|
||||||
m_Owner->GetService ().post([this](void)
|
if (m_Acceptor) m_Acceptor (nullptr);
|
||||||
{
|
m_Acceptor = nullptr;
|
||||||
if (m_Acceptor) m_Acceptor (nullptr);
|
|
||||||
m_Acceptor = nullptr;
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void StreamingDestination::HandlePendingIncomingTimer (const boost::system::error_code& ecode)
|
void StreamingDestination::HandlePendingIncomingTimer (const boost::system::error_code& ecode)
|
||||||
|
|||||||
Reference in New Issue
Block a user