Browse Source

keep pending incoming streams if acceptor is not set

pull/308/head
orignal 9 years ago
parent
commit
9fa6b1ebe1
  1. 7
      Streaming.cpp

7
Streaming.cpp

@ -909,11 +909,8 @@ namespace stream @@ -909,11 +909,8 @@ namespace stream
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)

Loading…
Cancel
Save