Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
roachtestutil: httpclient grabs lock earlier
Before, the defaultHTTPClient would grab the lock only when adding cookies. However, we also want to protect the check of a sessionID from concurrent access as well. Previously, it was possible that concurrent calls would all see the sessionID as not set and all attempt to authenticate with the cluster.
- Loading branch information