project builds / gross hack to disable compression code path / ws connect -x works but test fails
This commit is contained in:
1 parent
fbe7b0b020
commit
7a4a84d6e0
7 files changed
+74
-17
No files matched your search
@@ -100,6 +100,7 @@ namespace
|
||||
}
|
||||
|
||||
_webSocket.setUrl(url);
|
||||
_webSocket.disablePerMessageDeflate();
|
||||
|
||||
std::stringstream ss;
|
||||
log(std::string("Connecting to url: ") + url);
|
||||
@@ -188,7 +189,9 @@ namespace
|
||||
|
||||
void WebSocketChat::sendMessage(const std::string& text)
|
||||
{
|
||||
_webSocket.sendBinary(encodeMessage(text));
|
||||
auto msg = encodeMessage(text);
|
||||
std::vector<uint8_t> data(text.begin(), text.end());
|
||||
_webSocket.sendBinary(data);
|
||||
}
|
||||
|
||||
bool startServer(ix::WebSocketServer& server)
|
||||
|
||||
Reference in new issue
Block a user