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

io: fix input channel EOF detection #75

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jaysoffian
Copy link

When attempting to use parallel mode along with sudo, fabric was causing paramiko-ng to go into an infinite loop. The reason was due to a combination of fabric calling sendall() along with it misdetecting EOF on the input and closing the output channel. The fix for paramiko-ng going into an infinite loop is here:

ploxiln/paramiko-ng#140

This commit fixes the root cause in fabric where it (apparently) erroneously detects the input channel as being closed when it is not.

When attempting to use parallel mode along with sudo, fabric was causing
paramiko-ng to go into an infinite loop. The reason was due to a combination of
fabric calling sendall() along with it misdetecting EOF on the input and closing
the output channel. The fix for paramiko-ng going into an infinite loop is here:

ploxiln/paramiko-ng#140

This commit fixes the root cause in fabric where it (apparently) erroneously 
detects the input channel as being closed when it is not.
@ploxiln
Copy link
Owner

ploxiln commented Sep 24, 2022

hmm ... test_stdin_bytesio freezes indefinitely

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