diff options
author | Daniel J Walsh <dwalsh@redhat.com> | 2021-03-26 10:54:33 -0400 |
---|---|---|
committer | Daniel J Walsh <dwalsh@redhat.com> | 2021-03-26 15:15:17 -0400 |
commit | dcabf6dd717ad495ba71d2788a64255defb852fd (patch) | |
tree | bd2ee4042feadd0b84a2b4076b2d7e948f4855b7 /vendor/gopkg.in/square/go-jose.v2/.travis.yml | |
parent | c81e273835303664d62c4e958a7f34877c05ed49 (diff) | |
download | podman-dcabf6dd717ad495ba71d2788a64255defb852fd.tar.gz podman-dcabf6dd717ad495ba71d2788a64255defb852fd.tar.bz2 podman-dcabf6dd717ad495ba71d2788a64255defb852fd.zip |
Remove resize race condition
Since podman-remote resize requests can come in at random times, this
generates a real potential for race conditions. We should only be
attempting to resize TTY on running containers, but the containers can
go from running to stopped at any time, and returning an error to the
caller is just causing noice.
This change will basically ignore requests to resize terminals if the
container is not running and return the caller to success. All other
callers will still return failure.
Fixes: https://github.com/containers/podman/issues/9831
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'vendor/gopkg.in/square/go-jose.v2/.travis.yml')
0 files changed, 0 insertions, 0 deletions