From 5697da164b2c8c9edec17725cc6522a31f8d5eac Mon Sep 17 00:00:00 2001 From: "Jerry (Xinyu Hou)" Date: Wed, 21 Mar 2018 11:26:06 +0000 Subject: [PATCH] #6178 Check if we should use secure socket for listening --- src/lib/server/ClientListener.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/server/ClientListener.cpp b/src/lib/server/ClientListener.cpp index 8ca1015a..d7ee675a 100644 --- a/src/lib/server/ClientListener.cpp +++ b/src/lib/server/ClientListener.cpp @@ -45,7 +45,7 @@ ClientListener::ClientListener(const NetworkAddress& address, assert(m_socketFactory != NULL); try { - m_listen = m_socketFactory->createListen(ARCH->getAddrFamily(address.getAddress())); + m_listen = m_socketFactory->createListen(m_useSecureNetwork, ARCH->getAddrFamily(address.getAddress())); // setup event handler m_events->adoptHandler(m_events->forIListenSocket().connecting(),