1
0
mirror of https://github.com/PurpleI2P/i2pd.git synced 2025-01-31 09:04:14 +00:00

fixed POST for server http tunnel

This commit is contained in:
orignal 2016-02-02 22:00:51 -05:00
parent 77d8bae2c2
commit b1cc1db967

View File

@ -207,7 +207,7 @@ namespace client
if (endOfHeader)
{
m_OutHeader << "\r\n"; // end of header
m_OutHeader << m_InHeader.str (); // data right after header
m_OutHeader << m_InHeader.str ().substr (m_InHeader.tellg ()); // data right after header
m_HeaderSent = true;
I2PTunnelConnection::Write ((uint8_t *)m_OutHeader.str ().c_str (), m_OutHeader.str ().length ());
}