mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
create/delete stream per destination only
This commit is contained in:
parent
341e860caa
commit
18d6a2c70e
6 changed files with 7 additions and 33 deletions
|
@ -223,7 +223,7 @@ namespace proxy
|
|||
void SOCKS4AHandler::SentConnectionSuccess(const boost::system::error_code & ecode)
|
||||
{
|
||||
LogPrint("--- socks4a making connection");
|
||||
m_stream = i2p::stream::CreateStream(*m_ls);
|
||||
m_stream = i2p::stream::GetSharedLocalDestination ()->CreateNewOutgoingStream(*m_ls);
|
||||
m_state = OKAY;
|
||||
LogPrint("--- socks4a state is ", m_state);
|
||||
AsyncSockRead();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue