x/exp/jsonrpc2: end of connection can be never detected #56131
Labels
FrozenDueToAge
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
Try to monitor the end of a connection using the
golang.org/x/exp/jsonrpc2.Binder interface
:What did you expect to see?
The
// YYY do some cleanup in *MyServer
is reached for each end of connection.What did you see instead?
Sometimes
conn.Wait()
blocks forever.https://go-review.googlesource.com/c/exp/+/436888 fixes this issue.
The text was updated successfully, but these errors were encountered: