Skip to content
This repository has been archived by the owner on Jul 3, 2021. It is now read-only.

fixes issue httpclienthandler being disposed #8

Merged
merged 1 commit into from
Dec 3, 2018

Conversation

Erwinvandervalk
Copy link
Collaborator

Asp.net core will periodically recycle the HttpClientHandler. The default implementation only uses a single instance, so when it get's disposed, you run into issues.

This logic turns the MessageHandler option into a function, thus allowing aspnet to re-renerate the handlers.

@Erwinvandervalk Erwinvandervalk added the bug Something isn't working label Dec 3, 2018
@Erwinvandervalk Erwinvandervalk added this to the v1.0 milestone Dec 3, 2018
@damianh damianh merged commit 0f3d79e into ProxyKit:master Dec 3, 2018
@damianh damianh added enhancement New feature or request and removed enhancement New feature or request labels Dec 3, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants