Skip to content

Exit Softnet when its VM socket disconnects - #193

Merged
edi-oai merged 1 commit into
mainfrom
handle-vm-peer-disconnect
Aug 14, 2026
Merged

Exit Softnet when its VM socket disconnects#193
edi-oai merged 1 commit into
mainfrom
handle-vm-peer-disconnect

Conversation

@yzhuang-oai

Copy link
Copy Markdown
Contributor

Check the VM socket on poll timeouts because macOS kqueue does not report Unix datagram peer disconnects. This prevents orphaned Softnet processes from blocking VM cleanup.

@yzhuang-oai
yzhuang-oai requested a review from edi-oai August 14, 2026 01:02

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: ab23fbe383

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread lib/proxy/mod.rs Outdated
Check the VM socket on poll timeouts because macOS kqueue does not
report Unix datagram peer disconnects. This prevents orphaned
Softnet processes from blocking VM cleanup.
@yzhuang-oai
yzhuang-oai force-pushed the handle-vm-peer-disconnect branch from ab23fbe to 01f6964 Compare August 14, 2026 01:12
Comment thread lib/proxy/mod.rs
@edi-oai
edi-oai self-requested a review August 14, 2026 10:46

@edi-oai edi-oai left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM overall, left a small nit in #193 (comment).

@edi-oai
edi-oai merged commit 0c4327d into main Aug 14, 2026
2 checks passed
@edi-oai
edi-oai deleted the handle-vm-peer-disconnect branch August 14, 2026 12:36
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