mirror of
https://github.com/golang/go
synced 2024-09-30 12:08:32 -06:00
d088b475e3
When the client closes its connection, we get an EOF, but it's not really an error. Suppress it so that the gopls binary doesn't exit with an error. In principle we should connect this to (lsp.Server).shutdown somehow, but as far as I know a path for that doesn't exist, and this seems pretty innocuous to me. Fixes golang/go#40832. Change-Id: I9dd83d26bcf5c07e03188d3829e603005d80c8c4 Reviewed-on: https://go-review.googlesource.com/c/tools/+/249417 Run-TryBot: Heschi Kreinick <heschi@google.com> Reviewed-by: Robert Findley <rfindley@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> |
||
---|---|---|
.. | ||
analysisinternal | ||
apidiff | ||
event | ||
fakenet | ||
fastwalk | ||
gocommand | ||
gopathwalk | ||
imports | ||
jsonrpc2 | ||
lsp | ||
memoize | ||
packagesinternal | ||
proxydir | ||
span | ||
stack | ||
testenv | ||
tool | ||
typesinternal | ||
xcontext |