threading race condition fixes, detected by TSAN

This commit is contained in:
Benjamin Sergeant
2018-12-06 08:27:28 -08:00
parent 58cccbdcf9
commit f77ececc92
10 changed files with 102 additions and 59 deletions

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")