(server) server should not mask data when sending to client (some python client libraries enforce that and assert)
This commit is contained in:
		| @@ -100,6 +100,10 @@ namespace ix | ||||
|             uint8_t masking_key[4]; | ||||
|         }; | ||||
|  | ||||
|         // Tells whether we should mask the data we send. | ||||
|         // client should mask but server should not | ||||
|         bool _useMask; | ||||
|  | ||||
|         // Buffer for reading from our socket. That buffer is never resized. | ||||
|         std::vector<uint8_t> _readbuf; | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user