mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-02-02 11:04:00 +01:00
keep pending incoming streams if acceptor is not set
This commit is contained in:
parent
5930e2d221
commit
9fa6b1ebe1
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue