don't acquire DH keys pair until connection is established

This commit is contained in:
orignal 2016-03-06 09:57:38 -05:00
parent e2a70873b8
commit a5576ddbf3

View file

@ -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;
}