mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-23 17:36:37 +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
|
// hit limit, close premature
|
||||||
LogPrint(eLogWarning, "NTCP: limiting with backoff session from ", ep);
|
LogPrint(eLogWarning, "NTCP: limiting with backoff session from ", ep);
|
||||||
conn->GetSocket().close();
|
conn->Terminate();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
LogPrint (eLogDebug, "NTCP: Connected from ", ep);
|
LogPrint (eLogDebug, "NTCP: Connected from ", ep);
|
||||||
|
@ -1005,7 +1005,7 @@ namespace transport
|
||||||
{
|
{
|
||||||
// hit limit, close premature
|
// hit limit, close premature
|
||||||
LogPrint(eLogWarning, "NTCP: limiting with backoff on session from ", ep);
|
LogPrint(eLogWarning, "NTCP: limiting with backoff on session from ", ep);
|
||||||
conn->GetSocket().close();
|
conn->Terminate();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue