From 'handler.go':
line 63
delete(connections, conn)
line 94
connections[conn] = true
All of this logic occurs within a 'http.Handler', and is therefore multi-threaded. There are currently no safeguards against concurrent map read and map write. Perhaps this map should be replaced with a 'sync.Map' from the standard library?