aboutsummaryrefslogtreecommitdiff
path: root/libpod/container_copy_common.go
diff options
context:
space:
mode:
authorValentin Rothberg <vrothberg@redhat.com>2022-09-15 15:54:30 +0200
committerValentin Rothberg <vrothberg@redhat.com>2022-09-16 13:45:25 +0200
commit4a053a821aab8891498cb5dd3f01ce3437fdf0ef (patch)
treee9caa342a9566e3a29cbdb9e82e4fa8683a9c68e /libpod/container_copy_common.go
parent1071098ee24f2764946c72065b3e422eddc47666 (diff)
downloadpodman-4a053a821aab8891498cb5dd3f01ce3437fdf0ef.tar.gz
podman-4a053a821aab8891498cb5dd3f01ce3437fdf0ef.tar.bz2
podman-4a053a821aab8891498cb5dd3f01ce3437fdf0ef.zip
notifyproxy: don't set a read deadline
The read deadline may yield the READY message to be lost in space. Instead, use a more Go-idiomatic alternative by using two goroutines; one reading from the connection, the other watching the container. [NO NEW TESTS NEEDED] since existing tests are exercising this functionality already. Fixes: #15800 Signed-off-by: Valentin Rothberg <vrothberg@redhat.com>
Diffstat (limited to 'libpod/container_copy_common.go')
0 files changed, 0 insertions, 0 deletions