MCPcopy Create free account
hub / github.com/PurpleI2P/i2pd / CreateHandler

Method CreateHandler

libi2pd_client/SOCKS.cpp:894–897  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

892 }
893
894 std::shared_ptr<i2p::client::I2PServiceHandler> SOCKSServer::CreateHandler(std::shared_ptr<boost::asio::ip::tcp::socket> socket)
895 {
896 return std::make_shared<SOCKSHandler> (this, socket, m_UpstreamProxyAddress, m_UpstreamProxyPort, m_UseUpstreamProxy);
897 }
898
899 void SOCKSServer::SetUpstreamProxy(const std::string & addr, const uint16_t port)
900 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected