mirror of
https://github.com/debauchee/barrier.git
synced 2025-07-21 02:17:37 +02:00
removed client connection when SSL handshake failed #4313
This commit is contained in:
parent
ad230d46e6
commit
10e6b5ad63
4 changed files with 22 additions and 3 deletions
|
@ -62,7 +62,7 @@ public:
|
|||
|
||||
protected:
|
||||
ArchSocket getSocket() { return m_socket; }
|
||||
|
||||
IEventQueue* getEvents() { return m_events; }
|
||||
virtual bool isSecureReady() { return false; }
|
||||
virtual bool isSecure() { return false; }
|
||||
virtual UInt32 secureRead(void* buffer, UInt32) { return 0; }
|
||||
|
@ -76,11 +76,12 @@ protected:
|
|||
|
||||
Mutex& getMutex() { return m_mutex; }
|
||||
|
||||
void sendEvent(Event::Type);
|
||||
|
||||
private:
|
||||
void init();
|
||||
|
||||
void sendConnectionFailedEvent(const char*);
|
||||
void sendEvent(Event::Type);
|
||||
void onConnected();
|
||||
void onInputShutdown();
|
||||
void onOutputShutdown();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue