Skip to content

Heimdall auth response body resource leak #15

@fwcd

Description

@fwcd

We need to make to defer resp.Body.Close() on all code paths (or some equivalent of that) to avoid leaking the underlying TCP sockets (which can lead to 401s once the pool is exhausted).

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions