cleanup acceptor for AcceptOnce

This commit is contained in:
orignal 2017-03-30 20:27:31 -04:00
parent 4448884a3e
commit 1f76dc78d8
2 changed files with 11 additions and 7 deletions

View file

@ -280,7 +280,9 @@ namespace stream
void DeletePacket (Packet * p) { if (p) m_PacketsPool.Release (p); };
private:
void AcceptOnceAcceptor (std::shared_ptr<Stream> stream, Acceptor acceptor, Acceptor prev);
void HandleNextPacket (Packet * packet);
std::shared_ptr<Stream> CreateNewIncomingStream ();
void HandlePendingIncomingTimer (const boost::system::error_code& ecode);