Migrate to I2Pservice

This commit is contained in:
Francisco Blas (klondike) Izquierdo Riera 2015-01-07 20:44:24 +01:00
parent dd42819a2f
commit 90005c8237
6 changed files with 18 additions and 19 deletions

View file

@ -196,8 +196,7 @@ namespace proxy
if (HandleData(m_http_buff, len)) {
if (m_state == DONE) {
LogPrint(eLogInfo,"--- HTTP Proxy requested: ", m_url);
GetOwner()->GetLocalDestination ()->CreateStream (
std::bind (&HTTPProxyHandler::HandleStreamRequestComplete,
GetOwner()->CreateStream (std::bind (&HTTPProxyHandler::HandleStreamRequestComplete,
this, std::placeholders::_1), m_address, m_port);
} else {
AsyncSockRead();