-
Notifications
You must be signed in to change notification settings - Fork 197
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
module/apmhttp: add locking to httptrace handlers
Add synchronisation to requestTracer. Sayeth the httptrace docs: > Functions may be called concurrently from different goroutines and some may be called after the request has completed or failed. There's also a minor enhancement here to set the Connect span outcome to "failure" if an error occurred.
- Loading branch information
Showing
1 changed file
with
55 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters