mirror of https://github.com/docker/cli.git
a5ebe2282a
--- commandconn: fix race on `Close()` During normal operation, if a `Read()` or `Write()` call results in an EOF, we call `onEOF()` to handle the terminating command, and store it's exit value. However, if a Read/Write call was blocked while `Close()` is called the in/out pipes are immediately closed which causes an EOF to be returned. Here, we shouldn't call `onEOF()`, since the reason why we got an EOF is because we're already terminating the connection. This also prevents a race between two calls to the commands `Wait()`, in the `Close()` call and `onEOF()` --- Add CLI init timeout to SSH connections --- connhelper: add 30s ssh default dialer timeout (same as non-ssh dialer) Signed-off-by: Laura Brehm <laurabrehm@hey.com> |
||
---|---|---|
.. | ||
Azure/go-ansiterm | ||
Microsoft/go-winio | ||
beorn7/perks | ||
cespare/xxhash/v2 | ||
containerd/containerd | ||
creack/pty | ||
docker | ||
fvbommel/sortorder | ||
gogo/protobuf | ||
golang/protobuf | ||
gorilla/mux | ||
imdario/mergo | ||
inconshreveable/mousetrap | ||
klauspost/compress | ||
mattn/go-runewidth | ||
matttproud/golang_protobuf_extensions | ||
miekg/pkcs11 | ||
mitchellh/mapstructure | ||
moby | ||
morikuni/aec | ||
opencontainers | ||
pkg/errors | ||
prometheus | ||
rivo/uniseg | ||
sirupsen/logrus | ||
spf13 | ||
theupdateframework/notary | ||
tonistiigi/go-rosetta | ||
xeipuuv |