containerd/runtime/v1/shim/client
Li Yuxuan cf6e008542 Fix fd leak of shim log
Open shim v2 log with the flag `O_RDWR` will cause the `Read()` block
forever even if the pipe has been closed on the shim side. Then the
`io.Copy()` would never return and lead to a fd leak.
Fix typo when closing shim v1 log which causes the `stdouLog` leak.
Update `numPipes` function in test case to get the opened FIFO
correctly.

Signed-off-by: Li Yuxuan <liyuxuan04@baidu.com>
2019-05-09 20:21:57 +08:00
..
client_linux.go Runtime v2 2018-07-17 10:21:29 -04:00
client_unix.go Runtime v2 2018-07-17 10:21:29 -04:00
client.go Fix fd leak of shim log 2019-05-09 20:21:57 +08:00