#6178 Check if we should use secure socket for listening
This commit is contained in:
parent
0ef8838e88
commit
5697da164b
|
@ -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(),
|
||||
|
|
Loading…
Reference in New Issue