mirror of https://github.com/docker/cli.git
2831a04cba
Some network environments may have NATs, proxies, or gateways which kill idle connections. There are many Docker API operations which may be idle for long periods of time (such as ContainerWait and ContainerAttach) and may result in unexpected connection closures or hangs if TCP keepalives are not used. This patch updates the default HTTP transport used by the Docker client package to enable TCP Keep-Alive with a keep-alive interval of 30 seconds. It also sets a connect timeout of 30 seconds. Docker-DCO-1.1-Signed-off-by: Josh Hawn <josh.hawn@docker.com> (github: jlhawn) |
||
---|---|---|
.. | ||
command | ||
compose | ||
config | ||
debug | ||
flags | ||
internal/test | ||
trust | ||
winresources | ||
cobra.go | ||
error.go | ||
required.go | ||
version.go |