Move Stream creation to its own handler for cleanliness, it will hand over to a tunnel connection when done

This commit is contained in:
Francisco Blas (klondike) Izquierdo Riera 2015-01-08 03:28:54 +01:00
parent 7d9c0b76fc
commit df3e8ce937
2 changed files with 57 additions and 20 deletions

View file

@ -70,7 +70,6 @@ namespace client
const i2p::data::IdentHash * GetIdentHash ();
void Accept ();
void HandleAccept (const boost::system::error_code& ecode, boost::asio::ip::tcp::socket * socket);
void HandleStreamRequestComplete (std::shared_ptr<i2p::stream::Stream> stream, boost::asio::ip::tcp::socket * socket);
private: