aboutsummaryrefslogtreecommitdiff
path: root/pkg
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-05-22 08:57:53 +0200
committerGitHub <noreply@github.com>2019-05-22 08:57:53 +0200
commit6f02f3b2bc58925bfb8c97c897f58473f09e1219 (patch)
treef1dee419904199ac21733c7d83b03ef0d5e553e0 /pkg
parent488b698040e6df1c8bb353a3e32c6e446a14e2d4 (diff)
parent00262edf6c89840f8b90db7d8e7e664138478eda (diff)
downloadpodman-6f02f3b2bc58925bfb8c97c897f58473f09e1219.tar.gz
podman-6f02f3b2bc58925bfb8c97c897f58473f09e1219.tar.bz2
podman-6f02f3b2bc58925bfb8c97c897f58473f09e1219.zip
Merge pull request #3176 from baude/resizechanbuffer
make remote resize channel buffered
Diffstat (limited to 'pkg')
-rw-r--r--pkg/adapter/containers_remote.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/adapter/containers_remote.go b/pkg/adapter/containers_remote.go
index 63b0f9d2f..c34495b3d 100644
--- a/pkg/adapter/containers_remote.go
+++ b/pkg/adapter/containers_remote.go
@@ -561,7 +561,7 @@ func (r *LocalRuntime) attach(ctx context.Context, stdin, stdout *os.File, cid s
if err != nil {
return nil, err
}
- resize := make(chan remotecommand.TerminalSize)
+ resize := make(chan remotecommand.TerminalSize, 5)
haveTerminal := terminal.IsTerminal(int(os.Stdin.Fd()))
// Check if we are attached to a terminal. If we are, generate resize