Browse Source

wait more for tunnel creation

pull/93/head
orignal 10 years ago
parent
commit
7995385a19
  1. 2
      SSU.cpp
  2. 2
      Tunnel.h

2
SSU.cpp

@ -109,7 +109,7 @@ namespace ssu @@ -109,7 +109,7 @@ namespace ssu
Decrypt (buf, len, address->key);
else
{
LogPrint ("MAC verifcation failed");
LogPrint ("MAC verification failed ", len, " bytes from ", senderEndpoint);
m_Server.DeleteSession (this);
return;
}

2
Tunnel.h

@ -22,7 +22,7 @@ namespace i2p @@ -22,7 +22,7 @@ namespace i2p
namespace tunnel
{
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
enum TunnelState

Loading…
Cancel
Save