mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-24 09:56:35 +02:00
use terminate
This commit is contained in:
parent
6441c9d5d8
commit
7a9dc0eec0
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue