mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
some cleanup
This commit is contained in:
parent
30233bed77
commit
ef2932a234
6 changed files with 10 additions and 10 deletions
|
@ -96,7 +96,7 @@ namespace stream
|
|||
SendQuickAck ();
|
||||
else if (isSyn)
|
||||
// we have to send SYN back to incoming connection
|
||||
Send (nullptr, 0, 0); // also sets m_IsOpen
|
||||
Send (nullptr, 0); // also sets m_IsOpen
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -229,7 +229,7 @@ namespace stream
|
|||
m_ResendTimer.cancel ();
|
||||
}
|
||||
|
||||
size_t Stream::Send (const uint8_t * buf, size_t len, int timeout)
|
||||
size_t Stream::Send (const uint8_t * buf, size_t len)
|
||||
{
|
||||
bool isNoAck = m_LastReceivedSequenceNumber < 0; // first packet
|
||||
while (!m_IsOpen || len > 0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue