NTCP2 proxy with authorization

This commit is contained in:
orignal 2021-03-10 20:00:21 -05:00
parent 744b25190a
commit 880d1a7ccd
3 changed files with 11 additions and 6 deletions

View file

@ -188,7 +188,7 @@ namespace transport
if (proxyurl.schema == "http")
proxytype = NTCP2Server::eHTTPProxy;
m_NTCP2Server->UseProxy(proxytype, proxyurl.host, proxyurl.port);
m_NTCP2Server->UseProxy(proxytype, proxyurl.host, proxyurl.port, proxyurl.user, proxyurl.pass);
i2p::context.SetStatus (eRouterStatusProxy);
}
else