mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2026-04-27 04:15:21 +00:00
resume destination upon new incoming connection in HTTP and SOCKS proxy
This commit is contained in:
@@ -538,6 +538,7 @@ namespace proxy
|
||||
m_send_buf.append(m_recv_buf);
|
||||
/* connect to destination */
|
||||
LogPrint(eLogDebug, "HTTPProxy: Connecting to host ", dest_host, ":", dest_port);
|
||||
GetOwner ()->UpdateLastActivityTime ();
|
||||
GetOwner()->CreateStream (std::bind (&HTTPReqHandler::HandleStreamRequestComplete,
|
||||
shared_from_this(), std::placeholders::_1), dest_host, dest_port);
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user