#4740 Only adopted non-SSL socket
This commit is contained in:
parent
07f7baf335
commit
71741da721
|
@ -164,7 +164,8 @@ ClientListener::handleClientAccepted(const Event&, void* vsocket)
|
||||||
IDataSocket* socket = reinterpret_cast<IDataSocket*>(vsocket);
|
IDataSocket* socket = reinterpret_cast<IDataSocket*>(vsocket);
|
||||||
|
|
||||||
// filter socket messages, including a packetizing filter
|
// filter socket messages, including a packetizing filter
|
||||||
synergy::IStream* stream = new PacketStreamFilter(m_events, socket);
|
bool adopt = !m_useSecureNetwork;
|
||||||
|
synergy::IStream* stream = new PacketStreamFilter(m_events, socket, adopt);
|
||||||
assert(m_server != NULL);
|
assert(m_server != NULL);
|
||||||
|
|
||||||
// create proxy for unknown client
|
// create proxy for unknown client
|
||||||
|
|
Loading…
Reference in New Issue