openssh的一个commit分析;可能导致的问题是:append标记没有生效?
阿里云国内75折 回扣 微信号:monov8 |
阿里云国际,腾讯云国际,低至75折。AWS 93折 免费开户实名账号 代冲值 优惠多多 微信号:monov8 飞机:@monov6 |
文章目录
一个commit
https://github.com/openssh/openssh-portable/commit/7be4ac813662f68e89f23c50de058a49aa32f7e4
从描述看,这个commit的主要作用是,将标准输入输出变成非阻塞的模式。然后再恢复回来。原有可能是在做标准的输入输出的时候出现block,影响ssh的处理。
ssh(1) needs to set file descriptors to non-blocking mode to operate
but it was not restoring the original state on exit. This could cause
problems with fds shared with other programs via the shell, e.g