Files
podman/pkg
Paul Holzinger fbce7584d7 libpod: fix race when closing STDIN
There is a race where `conn.Close()` was called before `conn.CloseWrite()`.
In this case `CloseWrite` will fail and an useless error is printed. To
fix this we move the the `CloseWrite()` call to the same goroutine to
remove the race. This ensures that `CloseWrite()` is called before
`Close()` and never afterwards.
Also fixed podman-remote run where the STDIN was never was closed.
This is causing flakes in CI testing.

[NO TESTS NEEDED]

Fixes #11856

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2021-10-06 17:51:07 +02:00
..
2020-12-22 13:34:31 -05:00
2021-09-20 15:07:41 +02:00
2021-05-06 11:51:15 +02:00
2021-07-27 15:32:23 +02:00
2021-07-27 16:10:44 +02:00
2019-07-23 15:43:40 -04:00
2021-02-22 09:03:51 +01:00
2021-02-11 23:01:56 +01:00
2021-03-15 14:01:52 +01:00
2021-02-22 09:03:51 +01:00
2021-02-22 09:03:51 +01:00
2020-12-22 13:34:31 -05:00
2020-01-13 14:27:02 +01:00