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

Stop pipe operations after EOF #3784

Merged
merged 2 commits into from
May 7, 2020
Merged

Stop pipe operations after EOF #3784

merged 2 commits into from
May 7, 2020

Conversation

bboreham
Copy link
Collaborator

@bboreham bboreham commented May 6, 2020

Fixes #3684

Move the check for IsExpectedWSCloseError() inside CopyToWebsocket() and only do the check on the websocket side.

Previously we were treating EOF on the non-websocket side of the conversation as no-error, meaning that operations like Kubernetes Describe would retry endlessly when finished.

Previously we were treating EOF on the reader as no-error, meaning
that operations like Kubernetes Describe would retry endlessly when
finished.
This comes back when an operation like Kubernetes Describe finishes;
hide it so we don't print as an error.
@bboreham bboreham merged commit 47519e4 into master May 7, 2020
@bboreham bboreham deleted the pipe-errors branch May 7, 2020 11:28
@bboreham bboreham mentioned this pull request May 18, 2020
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.

Pipe server goes nuts sometimes
1 participant