diff options
author | Matthew Heon <mheon@redhat.com> | 2020-03-25 15:33:52 -0400 |
---|---|---|
committer | Matthew Heon <mheon@redhat.com> | 2020-03-25 15:33:52 -0400 |
commit | 1313f8a4504000e43512810937701347bf252cfc (patch) | |
tree | 2c3bce783ac4416c03934d4c5a96e5b055cfa6fc /libpod/oci_attach_linux_nocgo.go | |
parent | ff0124aee1ca700be3b7357b992a220cdacfddfd (diff) | |
download | podman-1313f8a4504000e43512810937701347bf252cfc.tar.gz podman-1313f8a4504000e43512810937701347bf252cfc.tar.bz2 podman-1313f8a4504000e43512810937701347bf252cfc.zip |
Ensure that exec sends resize events
We previously tried to send resize events only after the exec
session successfully started, which makes sense (we might drop an
event or two that came in before the exec session started
otherwise). However, the start function blocks, so waiting
actually means we send no resize events at all, which is
obviously worse than losing a few.. Sending resizes before attach
starts seems to work fine in my testing, so let's do that until we
get bug reports that it doesn't work.
Fixes #5584
Signed-off-by: Matthew Heon <mheon@redhat.com>
Diffstat (limited to 'libpod/oci_attach_linux_nocgo.go')
0 files changed, 0 insertions, 0 deletions