• Andy Goldstein's avatar
    Eliminate possible infinite loop in exec · 7748a02e
    Andy Goldstein authored
    If a user starts an exec session with a shell and leaves it idle long
    enough, they will eventually hit the Kubelet's HTTP server's read/write
    timeout of 5 minutes. At this time, the StartExec call to Docker exits,
    but if the user requested a TTY, the exec'd process does not exit.
    After StartExec finishes, we try to determine the exit code of the
    exec'd process, but in this case, we'll never get it. This change exits
    the loop after 5 tries if the process is still running.
    7748a02e
Name
Last commit
Last update
Godeps Loading commit data...
api/swagger-spec Loading commit data...
build Loading commit data...
cluster Loading commit data...
cmd Loading commit data...
contrib Loading commit data...
docs Loading commit data...
examples Loading commit data...
hack Loading commit data...
hooks Loading commit data...
pkg Loading commit data...
plugin Loading commit data...
release-0.19.0 Loading commit data...
test Loading commit data...
third_party Loading commit data...
www Loading commit data...
.gitignore Loading commit data...
.travis.yml Loading commit data...
CHANGELOG.md Loading commit data...
CONTRIB.md Loading commit data...
CONTRIBUTING.md Loading commit data...
DESIGN.md Loading commit data...
LICENSE Loading commit data...
Makefile Loading commit data...
README.md Loading commit data...
Vagrantfile Loading commit data...
logo.pdf Loading commit data...
logo.png Loading commit data...
logo.svg Loading commit data...
logo_usage_guidelines.md Loading commit data...
shippable.yml Loading commit data...