mirror of
https://github.com/PurpleI2P/i2pd
synced 2024-11-10 00:00:29 +03:00
Handle long HTTP headers
This commit is contained in:
parent
79b97ef2f7
commit
150b8f8cbd
@ -321,6 +321,8 @@ namespace client
|
||||
m_HeaderSent = true;
|
||||
I2PTunnelConnection::Write ((uint8_t *)m_OutHeader.str ().c_str (), m_OutHeader.str ().length ());
|
||||
}
|
||||
else
|
||||
StreamReceive (); // read more header
|
||||
}
|
||||
}
|
||||
|
||||
@ -404,6 +406,8 @@ namespace client
|
||||
m_HeaderSent = true;
|
||||
I2PTunnelConnection::Write ((uint8_t *)m_OutHeader.str ().c_str (), m_OutHeader.str ().length ());
|
||||
}
|
||||
else
|
||||
StreamReceive (); // read more header
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user