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

conn_sock: do not fail on EAGAIN #237

Merged

Conversation

giuseppe
Copy link
Member

@giuseppe giuseppe commented Feb 2, 2021

commit 6287bd8 introduced the
regression.

writes to the attached sockets must be blocking, otherwise the
write_back_to_remote_consoles() shutdowns the socket when write fails
with EAGAIN.

I've verified the original issue fixed with commit 62887bd is not
reintroduced with this patch.

Closes: #236

Signed-off-by: Giuseppe Scrivano gscrivan@redhat.com

commit 6287bd8 introduced the
regression.

writes to the attached sockets must be blocking, otherwise the
write_back_to_remote_consoles() shutdowns the socket when write fails
with EAGAIN.

I've verified the original issue fixed with commit 62887bd is not
reintroduced with this patch.

Closes: containers#236

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Copy link
Member

@vrothberg vrothberg left a comment

Choose a reason for hiding this comment

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

LGTM

@haircommander
Copy link
Collaborator

LGTM this may also help with failures I'm seeing here containers/podman#8979

@haircommander haircommander merged commit 2b87314 into containers:master Feb 2, 2021
@haircommander
Copy link
Collaborator

I may be able to get to a release later today, or someone else could pick it up if I'm too slow 😇

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.

output hanging
3 participants