mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-27 11:17:49 +02:00
change establish timeout to 10 seconds
This commit is contained in:
parent
1317b80fca
commit
5803a84bd7
2 changed files with 2 additions and 1 deletions
|
@ -23,7 +23,7 @@ namespace i2p
|
|||
namespace transport
|
||||
{
|
||||
NTCPSession::NTCPSession (NTCPServer& server, std::shared_ptr<const i2p::data::RouterInfo> in_RemoteRouter):
|
||||
TransportSession (in_RemoteRouter, NTCP_CONNECT_TIMEOUT),
|
||||
TransportSession (in_RemoteRouter, NTCP_ESTABLISH_TIMEOUT),
|
||||
m_Server (server), m_Socket (m_Server.GetService ()),
|
||||
m_IsEstablished (false), m_IsTerminated (false),
|
||||
m_ReceiveBufferOffset (0), m_NextMessage (nullptr), m_IsSending (false)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue