Skip to content

bug(gotrue): stateless client creates a new HttpClient on every call when a proxy is set #450

Description

@fresh55

StatelessClient.GetApi runs on each stateless call. When Proxy is set and HttpClient isn't, it calls DefaultHttpClientFactory.Create, so each call gets a new HttpClient that is never disposed.

The stateful Client creates it once, in its constructor.

Activity

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