Browse Source

fix

pull/628/head
Jeff Becker 8 years ago
parent
commit
584379b502
No known key found for this signature in database
GPG Key ID: AB950234D6EA286B
  1. 4
      Streaming.cpp

4
Streaming.cpp

@ -862,10 +862,8 @@ namespace stream @@ -862,10 +862,8 @@ namespace stream
if(DropNewStream(ih))
{
// drop
LogPrint(eLogWarning, "Streaming: Too many inbound streams from ", ih.ToBase32());
LogPrint(eLogWarning, "Streaming: Dropping connection, too many inbound streams from ", ih.ToBase32());
incomingStream->Close();
DeleteStream(incomingStream);
incomingStream = nullptr;
if(m_SavedPackets.find(receiveStreamID) != m_SavedPackets.end())
m_SavedPackets.erase(receiveStreamID);
delete packet;

Loading…
Cancel
Save