Skip to content

Conversation

@geoffkizer
Copy link
Contributor

Two related changes:

(1) Avoid doing any logging logic under the lock
(2) Avoid calling TrySetResult on the waiter under the lock -- instead, do this outside the lock and retry as necessary for canceled requests

This PR is in progress and only addresses HTTP/1.1 at the moment.

@geoffkizer geoffkizer added the NO-MERGE The PR is not ready for merge yet (see discussion for detailed reasons) label Dec 14, 2021
@ghost ghost assigned geoffkizer Dec 14, 2021
@ghost ghost added the area-System.Net.Http label Dec 14, 2021
@ghost
Copy link

ghost commented Dec 14, 2021

Tagging subscribers to this area: @dotnet/ncl
See info in area-owners.md if you want to be subscribed.

Issue Details

Two related changes:

(1) Avoid doing any logging logic under the lock
(2) Avoid calling TrySetResult on the waiter under the lock -- instead, do this outside the lock and retry as necessary for canceled requests

This PR is in progress and only addresses HTTP/1.1 at the moment.

Author: geoffkizer
Assignees: geoffkizer
Labels:

* NO MERGE *, area-System.Net.Http

Milestone: -

@geoffkizer
Copy link
Contributor Author

Replaced by #62935

@geoffkizer geoffkizer closed this Dec 17, 2021
@karelz karelz added this to the 7.0.0 milestone Jan 11, 2022
@ghost ghost locked as resolved and limited conversation to collaborators Feb 10, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-System.Net.Http NO-MERGE The PR is not ready for merge yet (see discussion for detailed reasons)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants