-
-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Labels
bugSomething isn't workingSomething isn't workingenhancementNew feature or requestNew feature or request
Description
The current way that httpclient is being used by default causes DNS entries to become stale. More information on this, and a fix can be found here on Microsoft docs.
It looks like it can be a simple fix by instead of passing a httpclienthandler in
WLED.NET/src/Kevsoft.WLED/WLedClient.cs
Line 18 in 9381c27
| public WLedClient(string baseUri) : this(new HttpClientHandler(), baseUri) |
Passing a SocketsHttpHandler with the PooledConnectionLifetime property set to something reasonable.
If I get around to it later, and this hasn't been done yet, I'll probably submit a pull request.
kevbite
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingenhancementNew feature or requestNew feature or request