You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Backport 7.x] Fix check for agressive connectionlimit (#4668)
* Fix check for agressive connectionlimit
In dotnet/runtime#22366 we found that if
HttpClient is using the curl handler it will lead to TCP connections
bleeding. Our DefaultConnectionLimit is very restrictive if this is
true. Our check however is too lenient and will default to true always
on .NET core since netcoreapp still ships with CurlHandler as recent as
`3.1.x`
* remove unused reference
* Detect if CurlHandler exists
This commit updates the implementation of determining if
a conservative default connection limit should be set by also checking
if CurlHandler exists when UseSocketsHttpHandler exists and is
disabled.
Co-authored-by: Russ Cam <[email protected]>
Co-authored-by: Martijn Laarman <[email protected]>
Co-authored-by: Russ Cam <[email protected]>
0 commit comments