#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);
|
assert(m_socketFactory != NULL);
|
||||||
|
|
||||||
try {
|
try {
|
||||||
m_listen = m_socketFactory->createListen(ARCH->getAddrFamily(address.getAddress()));
|
m_listen = m_socketFactory->createListen(m_useSecureNetwork, ARCH->getAddrFamily(address.getAddress()));
|
||||||
|
|
||||||
// setup event handler
|
// setup event handler
|
||||||
m_events->adoptHandler(m_events->forIListenSocket().connecting(),
|
m_events->adoptHandler(m_events->forIListenSocket().connecting(),
|
||||||
|
|
Loading…
Reference in New Issue