go/internal/jsonrpc2_v2
Bryan C. Mills ffa170dc4a internal/jsonrpc2_v2: fix a racy map assignment in readIncoming
If a call request comes it at the same time that a response becomes
ready for another call (either via an explicit Respond call or the
return from a Handle call), the map read and deletion for the response
could race with the map assignment for the new (incoming) call.

Change-Id: Ifd81dbc490486251e81c7eeae438806356f514af
Reviewed-on: https://go-review.googlesource.com/c/tools/+/388595
Trust: Bryan Mills <bcmills@google.com>
Run-TryBot: Bryan Mills <bcmills@google.com>
Reviewed-by: Ian Cottrell <iancottrell@google.com>
gopls-CI: kokoro <noreply+kokoro@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
2022-03-01 21:32:50 +00:00
..
conn.go internal/jsonrpc2_v2: fix a racy map assignment in readIncoming 2022-03-01 21:32:50 +00:00
frame.go internal/jsonrpc2_v2: an updated jsonrpc2 library 2021-03-24 21:26:20 +00:00
jsonrpc2.go internal/jsonrpc2_v2: clarify documentation 2022-03-01 14:55:09 +00:00
jsonrpc2_test.go internal/jsonrpc2_v2: fix a racy map assignment in readIncoming 2022-03-01 21:32:50 +00:00
messages.go internal/jsonrpc2_v2: an updated jsonrpc2 library 2021-03-24 21:26:20 +00:00
net.go internal/lsp/lsprpc: update binder tests to handle forwarding 2021-06-25 19:21:47 +00:00
serve.go internal/jsonrpc2_v2: clarify documentation 2022-03-01 14:55:09 +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: clarify documentation 2022-03-01 14:55:09 +00:00
wire_test.go internal/jsonrpc2_v2: an updated jsonrpc2 library 2021-03-24 21:26:20 +00:00