Displaying 1 result from an estimated 1 matches for "chan_handle_wfd".
2003 Dec 16
1
[Bug 773] OpenSSH hangs or silently exits on write failure on stdout/stderr
...riting to
stdout of the 'ssh' command, the command can hang and will not produce
an error message.
I can reproduce both problems with OpenSSH 3.7.1p2 on Linux, and the
code affected appears to be common with the current OpenBSD anoncvs
version of OpenSSH.
The write() call that fails is in chan_handle_wfd. This goes on to
call chan_write_failed, which since the channel is in CHAN_OUTPUT_OPEN
or CHAN_OUTPUT_WAIT_DRAIN (depending on how much output is being sent)
will simply flush the data and then close the file descriptor.
No error message is provided.
[Note that client_process_output does provide...