renamed TCPIPPipe to SocketsPipe

This commit is contained in:
orignal 2024-02-13 18:52:18 -05:00
parent 967627e58a
commit a9ad6fc31e
4 changed files with 46 additions and 39 deletions
libi2pd_client

View file

@ -638,7 +638,7 @@ namespace proxy {
void HTTPReqHandler::HandoverToUpstreamProxy()
{
LogPrint(eLogDebug, "HTTPProxy: Handover to SOCKS proxy");
auto connection = std::make_shared<i2p::client::TCPIPPipe>(GetOwner(), m_proxysock, m_sock);
auto connection = CreateSocketsPipe (GetOwner(), m_proxysock, m_sock);
m_sock = nullptr;
m_proxysock = nullptr;
GetOwner()->AddHandler(connection);