Fix data race in WebSocket where _url is accessed without protection in setThreadName

Also fix with url usage + docker container uses fedora and works with tsan
This commit is contained in:
Benjamin Sergeant
2019-04-25 16:07:49 -07:00
parent 7f96c43d6f
commit f6ae490723
7 changed files with 34 additions and 45 deletions

View File

@ -257,7 +257,7 @@ namespace ix
void WebSocket::run()
{
setThreadName(_url);
setThreadName(getUrl());
while (true)
{