mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-02-07 07:44:13 +00:00
wait more for tunnel creation
This commit is contained in:
parent
fb15c72be2
commit
7995385a19
2
SSU.cpp
2
SSU.cpp
@ -109,7 +109,7 @@ namespace ssu
|
|||||||
Decrypt (buf, len, address->key);
|
Decrypt (buf, len, address->key);
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
LogPrint ("MAC verifcation failed");
|
LogPrint ("MAC verification failed ", len, " bytes from ", senderEndpoint);
|
||||||
m_Server.DeleteSession (this);
|
m_Server.DeleteSession (this);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
2
Tunnel.h
2
Tunnel.h
@ -22,7 +22,7 @@ namespace i2p
|
|||||||
namespace tunnel
|
namespace tunnel
|
||||||
{
|
{
|
||||||
const int TUNNEL_EXPIRATION_TIMEOUT = 660; // 11 minutes
|
const int TUNNEL_EXPIRATION_TIMEOUT = 660; // 11 minutes
|
||||||
const int TUNNEL_CREATION_TIMEOUT = 10; // 10 seconds
|
const int TUNNEL_CREATION_TIMEOUT = 20; // 20 seconds
|
||||||
const int STANDARD_NUM_RECORDS = 5; // in VariableTunnelBuild message
|
const int STANDARD_NUM_RECORDS = 5; // in VariableTunnelBuild message
|
||||||
|
|
||||||
enum TunnelState
|
enum TunnelState
|
||||||
|
Loading…
x
Reference in New Issue
Block a user