Skip to content
This repository has been archived by the owner on Sep 4, 2021. It is now read-only.

host/logmux: Add timeouts to sink writes #4485

Merged
merged 1 commit into from Nov 23, 2018
Merged

host/logmux: Add timeouts to sink writes #4485

merged 1 commit into from Nov 23, 2018

Conversation

titanous
Copy link
Contributor

These basic timeouts prevent a potential scenario where the stdout pipe from a container fills up due to a blocked sink, in turn blocking the containerized process in a write(2) to the pipe.

Both timeouts were tested manually via code modifications due to the complexity and fragility of an integration test for these paths.

These basic timeouts prevent a potential scenario where the stdout pipe
from a container fills up due to a blocked sink, in turn blocking the
containerized process in a write(2) to the pipe.

Signed-off-by: Jonathan Rudenberg <jonathan@titanous.com>
@titanous titanous merged commit 727a121 into master Nov 23, 2018
@titanous titanous deleted the logmux-timeout branch November 23, 2018 18:02
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants