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:
		
				
					committed by
					
						 Benjamin Sergeant
						Benjamin Sergeant
					
				
			
			
				
	
			
			
			
						parent
						
							720f57da27
						
					
				
				
					commit
					c1ef3f4e1d
				
			| @@ -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 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user