refactor select code + add protection against large fds (cf Android 9)
This commit is contained in:
@ -33,7 +33,7 @@ namespace
|
||||
uint16_t getCloseCode();
|
||||
const std::string& getCloseReason();
|
||||
bool getCloseRemote();
|
||||
|
||||
|
||||
bool hasConnectionError() const;
|
||||
|
||||
private:
|
||||
@ -56,7 +56,7 @@ namespace
|
||||
{
|
||||
;
|
||||
}
|
||||
|
||||
|
||||
bool WebSocketClient::hasConnectionError() const
|
||||
{
|
||||
return _connectionError;
|
||||
|
Reference in New Issue
Block a user