containerd/runtime
Li Yuxuan 84464b801f v2: Cancel shim log ctx when ttrpc is closed
The background context aovids shim blocking when the ctx is cancelled
unexpectedly during shim start. But if the shim exits unexpectedly
before opening the pipe, the fd will never be closed.
`onCloseWithShimLog` makes sure that the shim log fd is closed properly
once the shim disconnects.

Signed-off-by: Li Yuxuan <liyuxuan04@baidu.com>
2020-02-20 23:20:10 +08:00
..
linux/runctypes Regenerate protobufs 2019-04-03 23:41:15 +02:00
opts support cgroup2 2019-12-12 02:56:51 +09:00
restart Cleanup workdirs on manager load 2018-07-30 10:21:04 -04:00
v1 Handle large output in v2 shim with TTY 2019-10-11 15:42:05 -04:00
v2 v2: Cancel shim log ctx when ttrpc is closed 2020-02-20 23:20:10 +08:00
events.go Licence header added 2018-02-19 10:32:26 +09:00
monitor.go Licence header added 2018-02-19 10:32:26 +09:00
runtime.go runtime: add Add/Delete method in PlatformRuntime interface 2018-12-29 13:56:38 +08:00
task_list.go Runtime v2 2018-07-17 10:21:29 -04:00
task.go Fast path getting pid from task 2019-07-26 17:48:00 +00:00
typeurl.go Licence header added 2018-02-19 10:32:26 +09:00