mirror of
https://github.com/debauchee/barrier.git
synced 2024-12-25 20:13:23 +03:00
#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);
|
||||
|
||||
// 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);
|
||||
|
||||
// create proxy for unknown client
|
||||
|
Loading…
Reference in New Issue
Block a user