mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-01-22 08:14:15 +00:00
use terminate
This commit is contained in:
parent
6441c9d5d8
commit
7a9dc0eec0
@ -970,7 +970,7 @@ namespace transport
|
||||
{
|
||||
// hit limit, close premature
|
||||
LogPrint(eLogWarning, "NTCP: limiting with backoff session from ", ep);
|
||||
conn->GetSocket().close();
|
||||
conn->Terminate();
|
||||
return;
|
||||
}
|
||||
LogPrint (eLogDebug, "NTCP: Connected from ", ep);
|
||||
@ -1005,7 +1005,7 @@ namespace transport
|
||||
{
|
||||
// hit limit, close premature
|
||||
LogPrint(eLogWarning, "NTCP: limiting with backoff on session from ", ep);
|
||||
conn->GetSocket().close();
|
||||
conn->Terminate();
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user