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 committed 2019-04-25 16:11:46 -07:00
1 parent d37ed300e2
commit 9367a1feff
7 files changed
+34 -45

No files matched your search

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