Replies: 1 comment
-
Oh my dear Comrade 'Stalin', the similar question to yours has been raised by me since 2019. But it's still in discussion. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have a feeling that the issue I am going to describe is touching several areas, and the way the need is formed in the title is probably due to the current active API surface of HttpClient + HttpClientHandler
Let's imagine I want to make an http request from my API to some 3rd party site. One call to my API produces n request for downstream 3rd party.
The whole communication scheme looks like this:
The problem: how to pool http client handlers efficiently in this scenario is unclear to me.
The best I have come up with is
because there is no other way to reset a cookie collection on a used http client handler in a clear way I can find
Can anyone suggest a cleaner way to do this?
Why there is such a strict restriction in regards of changing properties on handler in the first place?
It feels like the set of options is just a specification on how to build underlying stack which will actually hit tcp socket
Beta Was this translation helpful? Give feedback.
All reactions