Skip to content

fix: close the socket when connecting an exec websocket fails - #2876

Merged
tonyandrewmeyer merged 2 commits into
canonical:mainfrom
tonyandrewmeyer:fix/websocket-connect-socket-leak
Nov 11, 2026
Merged

tonyandrewmeyer merged 2 commits into
canonical:mainfrom
tonyandrewmeyer:fix/websocket-connect-socket-leak

Conversation

@tonyandrewmeyer

@tonyandrewmeyer tonyandrewmeyer commented Nov 9, 2026 •

Copy link
Copy Markdown
Collaborator

If connecting the Unix socket or the websocket for exec failed, the socket was left open. It's now closed before the error is raised.

If connecting the Unix socket or the websocket raised, the socket was left open.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@tonyandrewmeyer
tonyandrewmeyer merged commit 1df2085 into canonical:main Nov 11, 2026
37 of 60 checks passed
@tonyandrewmeyer
tonyandrewmeyer deleted the fix/websocket-connect-socket-leak branch November 11, 2026 18:59
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.

3 participants