mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-03-13 04:46:38 +01:00
abruptly close
This commit is contained in:
parent
e8c3546433
commit
570598f556
1 changed files with 3 additions and 4 deletions
|
@ -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…
Add table
Reference in a new issue