Files
containerd/internal
XlabAI 22ccf4314d 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:52:47 -07:00
..
2025-04-22 20:27:06 +02:00
2024-10-03 00:12:50 +00:00
2025-09-22 15:25:31 +05:30