Skip to content
Branch: master
Find file History
Ryan Nowak and rynowak Fix aspnet/AspNetCore-Internal#1869
I think the issue here is that the HttpClient goes out of scope too
early and the cleanup pass is able to dispose it before we intend for it
to be disposed.

GC.Keepalive will preserve the liveness until the point we're ready to
null it out.
Latest commit e658402 Mar 4, 2019
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
Http
Polly
samples/HttpClientFactorySample Reorganize source code in preparation to move into aspnet/Extensions Nov 16, 2018
README.md Reorganize source code in preparation to move into aspnet/Extensions Nov 16, 2018

README.md

HttpClient Factory

Contains an opinionated factory for creating HttpClient instances.

You can’t perform that action at this time.