Browse Source

don't schedule send for first SYN reply

pull/2125/head
orignal 4 days ago
parent
commit
391e3b7814
  1. 1
      libi2pd/Streaming.cpp

1
libi2pd/Streaming.cpp

@ -705,6 +705,7 @@ namespace stream
void Stream::SendBuffer () void Stream::SendBuffer ()
{ {
if (m_RemoteLeaseSet) // don't scheudle send for first SYN for incoming stream
ScheduleSend (); ScheduleSend ();
auto ts = i2p::util::GetMillisecondsSinceEpoch (); auto ts = i2p::util::GetMillisecondsSinceEpoch ();
int numMsgs = m_WindowSize - m_SentPackets.size (); int numMsgs = m_WindowSize - m_SentPackets.size ();

Loading…
Cancel
Save