Skip to content

bug: a new HttpClient is created on every call #450

Closed

Description

@fresh55

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.

Activity

  1. changed the title [-]bug(gotrue): stateless client creates a new HttpClient on every call when a proxy is set[/-] [+]bug: a new HttpClient is created on every call[/+] on Oct 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions