Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

bug: a new HttpClient is created on every call

Closed Beginner friendly
#450 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

@fresh55 is already working on this.

Since Oct 2, 2026.

  • #478 by @fresh55 — open

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
84/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
csharp

Research direction

Start in packages/Gotrue/Gotrue/StatelessClient.cs at StatelessClient.GetApi and inspect packages/Core/Core/Http/DefaultHttpClientFactory.cs. Compare this flow with the Client constructor in packages/Gotrue/Gotrue/Client.cs, then run the relevant Gotrue tests; done means repeated stateless calls with a proxy no longer create undisposed HttpClient instances.

Written by the indexing model from the issue text.

Description

These create a new HttpClient each time they run, and it is never disposed:

  • Storage: From creates three, with or without a proxy. 200 From("bucket").List() calls leave 200 open connections.
  • Postgrest: Table<T> creates one when Proxy is set.
  • Auth: StatelessClient.GetApi creates one on each stateless call when Proxy is set.

The stateful auth Client creates it once, in its constructor.

Dominant language
C#
Stars
702
Forks
106
Avg merge
2d 21h
Merged PRs (30d)
51

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from supabase/supabase-csharp

All issues in supabase/supabase-csharp

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.