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:
parent
77d8bae2c2
commit
b1cc1db967
@ -207,7 +207,7 @@ namespace client
|
|||||||
if (endOfHeader)
|
if (endOfHeader)
|
||||||
{
|
{
|
||||||
m_OutHeader << "\r\n"; // end of header
|
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;
|
m_HeaderSent = true;
|
||||||
I2PTunnelConnection::Write ((uint8_t *)m_OutHeader.str ().c_str (), m_OutHeader.str ().length ());
|
I2PTunnelConnection::Write ((uint8_t *)m_OutHeader.str ().c_str (), m_OutHeader.str ().length ());
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user