Skip to content

Release response sockets on failed requests - #64

Merged
cmoesel merged 1 commit into
mainfrom
cleanup-failed-requests
Oct 31, 2026
Merged

cmoesel merged 1 commit into
mainfrom
cleanup-failed-requests

Conversation

@cmoesel

@cmoesel cmoesel commented Oct 31, 2026

Copy link
Copy Markdown
Member

Description:

Failed registry requests caused the CLI (and likely other applications) to hang due to an open socket. FPL now properly releases sockets after a failed request.

Testing Instructions:

To test, run the following command on the main branch and this branch:

ts-node src/app.ts install nonexistent.pkg#1.0.0

On the main branch, it will hang. On this branch the CLI will properly terminate after the failures.

Related Issue:

N/A

Failed requests caused the CLI to hang due
to an open socket. Release sockets on failure.
@cmoesel
cmoesel merged commit 3630d63 into main Oct 31, 2026
14 checks passed
@cmoesel
cmoesel deleted the cleanup-failed-requests branch October 31, 2026 15:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant