This repository has been archived by the owner on Nov 6, 2022. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prevent multiple parallel connections
http_client.connect() is async and imposes a race condition if we set the gobal connection variable *after* this async call returns. We now set connection = true to prevent further calls to http_client.connect() and write the correct value to the connection global once the async call returns.
- Loading branch information