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-26 11:52:47 -07:00
1 parent 73ee18b093
commit f4c771b745
7 files changed
+34 -45

No files matched your search

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