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
KeithHenry
changed the title
Connection link due to HttpClient instantiation without an HttpClientFactory
Connection leak due to HttpClient instantiation without an HttpClientFactory
Jul 4, 2023
This line creates a
HttpClient
every time the service is created:NeverBounceApi-DotNet/NeverBounceSDK/Utilities/HttpClientWrapper.cs
Line 43 in fa534a1
This will cause more HTTP connections being opened, and left open as this connection isn't closed or disposed either.
This needs an
HttpClientFactory
to avoid the connection leak.The text was updated successfully, but these errors were encountered: