mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
use shared local destination for proxies
This commit is contained in:
parent
284fb5458e
commit
3c9e6054b5
4 changed files with 12 additions and 2 deletions
|
@ -231,6 +231,11 @@ namespace proxy
|
|||
}
|
||||
}
|
||||
|
||||
HTTPProxyServer::HTTPProxyServer(int port):
|
||||
TCPIPAcceptor(port, i2p::client::context.GetSharedLocalDestination ())
|
||||
{
|
||||
}
|
||||
|
||||
std::shared_ptr<i2p::client::I2PServiceHandler> HTTPProxyServer::CreateHandler(boost::asio::ip::tcp::socket * socket)
|
||||
{
|
||||
return std::make_shared<HTTPProxyHandler> (this, socket);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue