diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-05-13 12:30:14 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-13 12:30:14 -0700 |
commit | 71f66f03c5dcf8ab65c741e64c60ce12b01218a8 (patch) | |
tree | 3000cb5cb03f019dd8b18386330552ca109e2612 /libpod/oci_conmon_linux.go | |
parent | 886b2cc4b10c32611b45da983fa9d1318d38356a (diff) | |
parent | b6113e2b9ea8f397e345a09335c26f953994c6f4 (diff) | |
download | podman-71f66f03c5dcf8ab65c741e64c60ce12b01218a8.tar.gz podman-71f66f03c5dcf8ab65c741e64c60ce12b01218a8.tar.bz2 podman-71f66f03c5dcf8ab65c741e64c60ce12b01218a8.zip |
Merge pull request #6203 from jwhonce/wip/attach
V2 attach bindings and test
Diffstat (limited to 'libpod/oci_conmon_linux.go')
-rw-r--r-- | libpod/oci_conmon_linux.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libpod/oci_conmon_linux.go b/libpod/oci_conmon_linux.go index d59ff18ca..d1c1a1fc2 100644 --- a/libpod/oci_conmon_linux.go +++ b/libpod/oci_conmon_linux.go @@ -1704,6 +1704,8 @@ func httpAttachTerminalCopy(container *net.UnixConn, http *bufio.ReadWriter, cid buf := make([]byte, bufferSize) for { numR, err := container.Read(buf) + logrus.Debugf("Read fd(%d) %d/%d bytes for container %s", int(buf[0]), numR, len(buf), cid) + if numR > 0 { switch buf[0] { case AttachPipeStdout: |