Browse Source

don't acquire DH keys pair until connection is established

pull/405/head
orignal 9 years ago
parent
commit
a5576ddbf3
  1. 1
      NTCPSession.cpp

1
NTCPSession.cpp

@ -25,7 +25,6 @@ namespace transport @@ -25,7 +25,6 @@ namespace transport
m_TerminationTimer (m_Server.GetService ()), m_IsEstablished (false), m_IsTerminated (false),
m_ReceiveBufferOffset (0), m_NextMessage (nullptr), m_IsSending (false)
{
m_DHKeysPair = transports.GetNextDHKeysPair ();
m_Establisher = new Establisher;
}

Loading…
Cancel
Save