Fixed pong synchronization issue (#62)
* Fixed pong synchronization issue * Minor optimization in lock by scoping it to necessary changes. * Fixing compilation issues
This commit is contained in:
parent
9441095637
commit
f60293b2e7
@ -186,7 +186,7 @@ namespace ix
|
||||
static const std::string kNoStatusCodeErrorMessage;
|
||||
|
||||
// enable auto response to ping
|
||||
bool _enablePong;
|
||||
std::atomic<bool> _enablePong;
|
||||
static const bool kDefaultEnablePong;
|
||||
|
||||
// Optional ping and pong timeout
|
||||
|
Loading…
Reference in New Issue
Block a user