Skip to content

Commit

Permalink
send correct buffer to outproxy
Browse files Browse the repository at this point in the history
  • Loading branch information
orignal committed Apr 13, 2018
1 parent a9b6489 commit 48099a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libi2pd_client/HTTPProxy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,7 @@ namespace proxy {
if (!m_ProxyURL.port) m_ProxyURL.port = 80;
if (m_ProxyURL.is_i2p())
{
m_send_buf = m_recv_buf;
m_send_buf = m_ClientRequestBuffer.str ();
GetOwner()->CreateStream (std::bind (&HTTPReqHandler::HandleStreamRequestComplete,
shared_from_this(), std::placeholders::_1), m_ProxyURL.host, m_ProxyURL.port);
}
Expand Down

0 comments on commit 48099a3

Please sign in to comment.