mirror of https://github.com/golang/go.git
When test awaiting fails, we often fail to shut down the server because the pipe is closed. Fix this by using a detached context for running the connection. Also clean up some unnecessary context arguments. Change-Id: I535c1cc1606e44df5f8e2177c92293d57836f992 Reviewed-on: https://go-review.googlesource.com/c/tools/+/340850 TryBot-Result: Gopher Robot <gobot@golang.org> Run-TryBot: Robert Findley <rfindley@google.com> gopls-CI: kokoro <noreply+kokoro@google.com> Reviewed-by: Alan Donovan <adonovan@google.com> |
||
|---|---|---|
| .. | ||
| servertest | ||
| conn.go | ||
| handler.go | ||
| jsonrpc2.go | ||
| jsonrpc2_test.go | ||
| messages.go | ||
| serve.go | ||
| serve_test.go | ||
| stream.go | ||
| wire.go | ||
| wire_test.go | ||