Browse Source

abruptly close

pull/628/head
Jeff Becker 9 years ago
parent
commit
570598f556
No known key found for this signature in database
GPG Key ID: AB950234D6EA286B
  1. 7
      Streaming.cpp

7
Streaming.cpp

@ -863,12 +863,11 @@ namespace stream @@ -863,12 +863,11 @@ namespace stream
{
// drop
LogPrint(eLogWarning, "Streaming: Dropping connection, too many inbound streams from ", ih.ToBase32());
incomingStream->Close();
incomingStream->Terminate();
delete incomingStream;
return;
}
} else
LogPrint(eLogWarning, "Streaming: Inbound stream has no identity");
}
// handle saved packets if any
{
auto it = m_SavedPackets.find (receiveStreamID);

Loading…
Cancel
Save