Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make compressionGoroutine panic-safe again #1297

Merged
merged 1 commit into from
Jul 14, 2021

Conversation

mtrmac
Copy link
Collaborator

@mtrmac mtrmac commented Jul 9, 2021

Commit 3250f2d from #1084 removed the code that ensures the pipe is closed with error on a goroutine panic, i.e. that the caller does not hang indefinitely, for no clear reason; restore that.

@mtrmac mtrmac force-pushed the goroutine-patic branch from 14c0650 to befa955 Compare July 9, 2021 10:46
Copy link
Member

@giuseppe giuseppe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mtrmac mtrmac force-pushed the goroutine-patic branch 3 times, most recently from fa0a93d to 5efaa03 Compare July 12, 2021 16:23
@TomSweeneyRedHat
Copy link
Member

LGTM, but needs a rebase @mtrmac

Commit 3250f2d removed
the code that ensures the pipe is closed with error on a
goroutine panic, i.e. that the caller does not hang indefinitely,
for no clear reason; restore that.

Signed-off-by: Miloslav Trmač <[email protected]>
@mtrmac mtrmac force-pushed the goroutine-patic branch from 5efaa03 to 614788f Compare July 14, 2021 06:44
@mtrmac mtrmac merged commit 2b688e9 into containers:main Jul 14, 2021
@mtrmac mtrmac deleted the goroutine-patic branch July 14, 2021 07:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants