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
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

@ -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…
Cancel
Save