threading race condition fixes, detected by TSAN

This commit is contained in:
Benjamin Sergeant committed 2018-12-06 08:27:28 -08:00
1 parent c64bc20bb5
commit 49bf8bd830
10 files changed
+102 -59

No files matched your search

+2 -1
View File
@@ -167,7 +167,8 @@ namespace ix
if (!WebSocketTransport::parseUrl(_url, protocol, host,
path, query, port))
{
return WebSocketInitResult(false, 0, "Could not parse URL");
return WebSocketInitResult(false, 0,
std::string("Could not parse URL ") + _url);
}
if (protocol == "wss")