Files
containerd/internal
XlabAI 9ec55f0240 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:21 -07:00
..
2026-03-15 18:24:15 +01:00
2026-03-15 18:24:15 +01:00
2025-04-22 20:27:06 +02:00
2026-03-15 18:24:15 +01:00
2026-03-15 18:24:13 +01:00
2026-03-15 18:24:16 +01:00