DockerCLI/vendor/github.com
Laura Brehm a5ebe2282a
commandconn: don't return error if command closed successfully
---
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>
2023-06-09 11:24:19 +02:00
..
Azure/go-ansiterm vendor dependencies with go1.17 2022-03-26 19:48:14 +01:00
Microsoft/go-winio vendor: github.com/Microsoft/go-winio v0.5.2 2022-04-30 12:01:41 +02:00
beorn7/perks vendor with go mod 2021-12-16 21:16:01 +01:00
cespare/xxhash/v2 vendor dependencies with go1.17 2022-03-26 19:48:14 +01:00
containerd/containerd vendor: github.com/containerd/containerd v1.6.19 2023-03-15 01:03:04 +01:00
creack/pty vendor: github.com/creack/pty v1.1.18 2023-04-27 02:20:43 +02:00
docker commandconn: don't return error if command closed successfully 2023-06-09 11:24:19 +02:00
fvbommel/sortorder vendor dependencies with go1.17 2022-03-26 19:48:14 +01:00
gogo/protobuf Set buildx as default builder 2022-02-03 10:38:05 +01:00
golang/protobuf vendor: github.com/containerd/containerd v1.6.10 2022-11-16 16:32:17 +01:00
google vendor: github.com/google/go-cmp v0.5.9 to remove golang.org/x/xerrors 2022-11-05 23:24:04 +01:00
gorilla/mux vendor dependencies with go1.17 2022-03-26 19:48:14 +01:00
imdario/mergo vendor: github.com/imdario/mergo v0.3.13 2023-03-30 19:56:27 +02:00
inconshreveable/mousetrap vendor: github.com/inconshreveable/mousetrap v1.1.0 2022-12-27 13:45:16 +01:00
klauspost/compress vendor: github.com/klauspost/compress v1.16.3 2023-03-30 19:56:28 +02:00
mattn/go-runewidth vendor: github.com/mattn/go-runewidth v0.0.14 2023-05-05 02:37:12 +02:00
matttproud/golang_protobuf_extensions vendor with go mod 2021-12-16 21:16:01 +01:00
miekg/pkcs11 vendor: github.com/miekg/pkcs11 v1.1.1 2022-04-30 12:01:33 +02:00
mitchellh/mapstructure vendor dependencies with go1.17 2022-03-26 19:48:14 +01:00
moby vendor: github.com/moby/term v0.5.0 2023-05-02 14:22:36 +02:00
morikuni/aec vendor with go mod 2021-12-16 21:16:01 +01:00
opencontainers vendor: github.com/opencontainers/runc v1.1.6 2023-04-17 23:13:21 +02:00
pkg/errors vendor with go mod 2021-12-16 21:16:01 +01:00
prometheus vendor: github.com/prometheus/client_golang v1.14.0 2022-12-22 22:48:55 +01:00
rivo/uniseg use our own version of text/tabwriter 2022-04-25 15:01:41 +02:00
sirupsen/logrus vendor: github.com/sirupsen/logrus v1.9.0 2022-11-17 10:59:56 +01:00
spf13 vendor: github.com/spf13/cobra v1.7.0 2023-04-09 23:10:56 +02:00
theupdateframework/notary vendor dependencies with go1.17 2022-03-26 19:48:14 +01:00
tonistiigi/go-rosetta vendor dependencies with go1.17 2022-03-26 19:48:14 +01:00
xeipuuv vendor dependencies with go1.17 2022-03-26 19:48:14 +01:00