|
|
@ -296,7 +296,7 @@ namespace proxy { |
|
|
|
} |
|
|
|
} |
|
|
|
if (Kill()) |
|
|
|
if (Kill()) |
|
|
|
return; |
|
|
|
return; |
|
|
|
LogPrint (eLogDebug, "HTTPProxy: Created new I2PTunnel stream"); |
|
|
|
LogPrint (eLogDebug, "HTTPProxy: Created new I2PTunnel stream, sSID=", stream->GetSendStreamID(), ", rSID=", stream->GetRecvStreamID()); |
|
|
|
auto connection = std::make_shared<i2p::client::I2PTunnelConnection>(GetOwner(), m_sock, stream); |
|
|
|
auto connection = std::make_shared<i2p::client::I2PTunnelConnection>(GetOwner(), m_sock, stream); |
|
|
|
GetOwner()->AddHandler (connection); |
|
|
|
GetOwner()->AddHandler (connection); |
|
|
|
connection->I2PConnect (reinterpret_cast<const uint8_t*>(m_send_buf.data()), m_send_buf.length()); |
|
|
|
connection->I2PConnect (reinterpret_cast<const uint8_t*>(m_send_buf.data()), m_send_buf.length()); |
|
|
|