abruptly close

This commit is contained in:
Jeff Becker 2016-07-28 15:33:03 -04:00
parent e8c3546433
commit 570598f556
No known key found for this signature in database
GPG Key ID: AB950234D6EA286B

View File

@ -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);