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

Backport of docker: close response connection once stdin is exhausted into release/1.9.x #24243

Conversation

hc-github-team-nomad-core
Copy link
Contributor

Backport

This PR is auto-generated from #24202 to be assessed for backporting due to the inclusion of the label backport/1.9.x.

The below text is copied from the body of the original PR.


This PR ensures we close the hijacked writer connection once there is no more data going into the stdin buffer of the exec'd command. Without this, the command (tar in this case) would hang forever awaiting more input.

Fixes #24171

Internal: NET-11378


Overview of commits

@hc-github-team-nomad-core hc-github-team-nomad-core force-pushed the backport/docker-exec-close-stdin-conn/totally-loved-grouse branch from d8e70e4 to 662039d Compare October 17, 2024 16:07
@shoenig shoenig merged commit 1d48945 into release/1.9.x Oct 17, 2024
20 checks passed
@shoenig shoenig deleted the backport/docker-exec-close-stdin-conn/totally-loved-grouse branch October 17, 2024 16:59
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.

2 participants