Files
containerd/pkg
XlabAI 5a2a3a759b cri: cancel ExecSync IO drain on context cancellation
When drain_exec_sync_io_timeout is 0 and a child process holds the
pipe, drainExecSyncIO blocks forever even after the client disconnects.
Add ctx.Done() to the select to allow cancellation, and use a deferred
context for Process.Delete cleanup when the original context is already
canceled.

Signed-off-by: Guannan Wang <wgnbuaa@gmail.com>
(cherry picked from commit ff39a97236)
Signed-off-by: Samuel Karp <samuelkarp@google.com>
2026-09-01 11:55:27 -07:00
..
2023-02-10 10:23:59 -07:00
2024-12-19 21:57:39 -08:00
2022-08-04 18:18:33 -07:00
2022-08-04 18:18:33 -07:00
2023-01-11 13:03:59 -08:00
2022-10-12 14:41:01 +02:00
2021-11-16 11:06:40 +08:00
2022-07-20 22:53:42 +08:00