mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-01-31 09:04:14 +00:00
don't schedule send for first SYN reply
This commit is contained in:
parent
72a39609ed
commit
391e3b7814
@ -705,7 +705,8 @@ namespace stream
|
||||
|
||||
void Stream::SendBuffer ()
|
||||
{
|
||||
ScheduleSend ();
|
||||
if (m_RemoteLeaseSet) // don't scheudle send for first SYN for incoming stream
|
||||
ScheduleSend ();
|
||||
auto ts = i2p::util::GetMillisecondsSinceEpoch ();
|
||||
int numMsgs = m_WindowSize - m_SentPackets.size ();
|
||||
if (numMsgs <= 0 || !m_IsSendTime) // window is full
|
||||
|
Loading…
x
Reference in New Issue
Block a user