I just found the problem. The `let authProxy = newAuthenticator()` statement creates an object that has an `HttpClient` and other data inside, so when many clients requested connections each request created a new object with many `HttpClient`'s inside of it, so it seems that's why that error about many TCP opened sockets occurs. I just initialized that variable outside the route handler so it can be recycled and fixed the problem.
- Race condition in async server using websockets.... maybe? JeysonFlores
- Race condition in async server using websockets.... mayb... enthus1ast
- Race condition in async server using websockets.... ... JeysonFlores
