supabase-community / storage-csharp

A C# implementation of Supabase's Object Storage API
https://supabase-community.github.io/storage-csharp/api/Supabase.Storage.Client.html
MIT License
19 stars 7 forks source link

Socket Exhaustion Starvation Issue #8

Closed Kuffs2205 closed 1 year ago

Kuffs2205 commented 1 year ago

Just a heads up.

The library is susceptible to Socket Exhaustion issues due to creating a new HttpClient for each request. I did hit it myself but it is easy enough to duplicate.

https://www.aspnetmonsters.com/2016/08/2016-08-27-httpclientwrong/

acupofjose commented 1 year ago

Good call! I'll get to work on a fix. Appreciate it!

acupofjose commented 1 year ago

Available in v1.3.0!