Skip to content

More fixes#10

Open
kbirk wants to merge 1 commit intomainfrom
kbirk/more-fixes
Open

More fixes#10
kbirk wants to merge 1 commit intomainfrom
kbirk/more-fixes

Conversation

@kbirk
Copy link
Copy Markdown
Owner

@kbirk kbirk commented Mar 29, 2026

No description provided.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR addresses client-side RPC call hangs by ensuring pending requests are unblocked when the client connection is closed, and by preventing the receive goroutine from blocking when delivering late responses.

Changes:

  • On Client.Close(), notify all currently pending request channels so callers don’t wait indefinitely.
  • Make per-request response channels buffered (size 1) so the receive goroutine can deliver a response even if the caller has already stopped waiting (e.g., context cancellation).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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.

2 participants