snowflake-connector-net icon indicating copy to clipboard operation
snowflake-connector-net copied to clipboard

SNOW-197712: Why are we setting global settings inside each httpclient creation?

Open mhunting opened this issue 4 years ago • 1 comments

https://github.com/snowflakedb/snowflake-connector-net/blob/21f2d01a2add057ed5d19130d9a485b7289f5ff8/Snowflake.Data/Core/HttpUtil.cs#L43

I believe this is a global setting and affects more than just your library behavior. https://docs.microsoft.com/en-us/dotnet/api/system.net.servicepointmanager.defaultconnectionlimit?view=netcore-3.1

mhunting avatar Sep 19 '20 18:09 mhunting

same with the other ServicePointManager stuff https://github.com/snowflakedb/snowflake-connector-net/blob/21f2d01a2add057ed5d19130d9a485b7289f5ff8/Snowflake.Data/Core/HttpUtil.cs#L38-L40

shawnjones253 avatar Mar 10 '21 06:03 shawnjones253

To clean up and re-prioritize more pressing bugs and feature requests we are closing all issues older than 6 months as of April 1, 2023. If there are any issues or feature requests that you would like us to address, please create them according to the new templates we have created. For urgent issues, opening a support case with this link Snowflake Community is the fastest way to get a response.

sfc-gh-igarish avatar Mar 30 '23 03:03 sfc-gh-igarish