-
Notifications
You must be signed in to change notification settings - Fork 40.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve recording of cancellation signal in WebClient
With its initial fix in gh-18444, the `WebClient` instrumentation would record all CANCEL signals, including: * when a `timeout` expires and the response has not been received * when the client partially consumes the response body Since the second use case is arguable intentional, this commit restricts the instrumentation and thus avoids recording two events for a single request in that case. Closes gh-18444
- Loading branch information
Showing
2 changed files
with
23 additions
and
1 deletion.
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
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