mirror of
https://github.com/debauchee/barrier.git
synced 2025-07-19 09:27:37 +02:00
More robust secure socket error handling #4313
This commit is contained in:
parent
b6a3788fea
commit
40fa58de8c
2 changed files with 63 additions and 63 deletions
|
@ -58,10 +58,9 @@ private:
|
|||
bool secureAccept(int s);
|
||||
bool secureConnect(int s);
|
||||
void showCertificate();
|
||||
bool checkResult(int n);
|
||||
void showError();
|
||||
bool checkResult(int n, bool canThrow);
|
||||
void throwError(const char* reason);
|
||||
bool getError();
|
||||
String getError();
|
||||
|
||||
ISocketMultiplexerJob*
|
||||
serviceConnect(ISocketMultiplexerJob*,
|
||||
|
@ -74,5 +73,4 @@ private:
|
|||
private:
|
||||
Ssl* m_ssl;
|
||||
bool m_secureReady;
|
||||
char* m_error;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue