go-sdk/internal/jsonrpc2
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Bryan C. Mills 9e251950a6 internal/jsonrpc2_v2: error out in-flight client calls when the reader breaks
Otherwise, the Await method on the corresponding AsyncCall will never
unblock, leading to a deadlock (detected by the test changes in
CL 388597).

For golang/go#46047
For golang/go#46520
For golang/go#49387

Change-Id: I7954f80786059772ddd7f8c98d8752d56d074919
Reviewed-on: https://go-review.googlesource.com/c/tools/+/388775
Run-TryBot: Bryan Mills <bcmills@google.com>
Reviewed-by: Ian Cottrell <iancottrell@google.com>
gopls-CI: kokoro <noreply+kokoro@google.com>
Auto-Submit: Bryan Mills <bcmills@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
2022-10-17 19:48:19 +00:00
..
conn.go internal/jsonrpc2_v2: error out in-flight client calls when the reader breaks 2022-10-17 19:48:19 +00:00
frame.go internal/jsonrpc2*: remove usage of golang.org/x/xerrors 2022-04-20 16:10:40 +00:00
jsonrpc2.go internal/jsonrpc2_v2: clarify documentation 2022-03-01 14:55:09 +00:00
jsonrpc2_test.go internal/jsonrpc2*: remove usage of golang.org/x/xerrors 2022-04-20 16:10:40 +00:00
messages.go internal/jsonrpc2*: remove usage of golang.org/x/xerrors 2022-04-20 16:10:40 +00:00
net.go all: fix spelling 2022-04-04 19:50:34 +00:00
serve.go internal/jsonrpc2*: remove usage of golang.org/x/xerrors 2022-04-20 16:10:40 +00:00
serve_test.go internal/lsp/lsprpc: update binder tests to handle forwarding 2021-06-25 19:21:47 +00:00
wire.go internal/jsonrpc2_v2: error out in-flight client calls when the reader breaks 2022-10-17 19:48:19 +00:00
wire_test.go internal/jsonrpc2_v2: an updated jsonrpc2 library 2021-03-24 21:26:20 +00:00