MindscapeHQ / raygun4net

Raygun provider for .NET
https://raygun.com
MIT License
125 stars 91 forks source link

Request for ASP.NET Core: allow HttpClient configuration #322

Closed FLGMwt closed 9 months ago

FLGMwt commented 7 years ago

Before ASP.NET Core, we configured connection limits and SSL protocols using the static ServicePointManager:

ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12 | SecurityProtocolType.Tls11;
ServicePointManager.DefaultConnectionLimit = 60;

ServicePointManager is no longer available and it looks like the only way to configure this is at the instantiation of the HttpClient.

I'm not quite sure what the configuration would look like, but given I hope #321 also gets in, it would have to be at initial setup.

Obi-Dann commented 9 months ago

cc @phillip-haydon there's a simple PR available fixing this issue #507