Hi Dmitry,
On 24/4/21 12:41 am, Dmitry Belyavskiy wrote:
Could you please take a look at the updated version of the patch?
If I understand correctly, it provides the same blocking state after
closing
the channel as it was before closing.
Yes, generally right, but, I feel you've assumed that the files are
initially
blocking which is not necessarily so.
Also, the file is closed immediately after clearing blocking mode. I think
it's worth a comment to say that the file being set to blocking mode is an
alias for stdin, out or err.
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@xxxxxxxxxxx
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev