diff options
author | Jeff Forcier <jeff@bitprophet.org> | 2019-06-14 20:45:09 -0400 |
---|---|---|
committer | Jeff Forcier <jeff@bitprophet.org> | 2019-06-14 20:45:09 -0400 |
commit | 04505d5ead61d0aea866c36a89d3fbfb786b3206 (patch) | |
tree | 4d32a528daefe8f3583ad6ca046d1e48db3ded5f /sites/www/changelog.rst | |
parent | 02175b034d91ef5fc4e86ab7379cdc2aacd7f3c4 (diff) |
Implement #322 - new ChannelFile subclass for stdin that calls shutdown_write on close()
Diffstat (limited to 'sites/www/changelog.rst')
-rw-r--r-- | sites/www/changelog.rst | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/sites/www/changelog.rst b/sites/www/changelog.rst index 41c50ce5..abd73b06 100644 --- a/sites/www/changelog.rst +++ b/sites/www/changelog.rst @@ -2,6 +2,17 @@ Changelog ========= +- :bug:`322 major` `SSHClient.exec_command + <paramiko.client.SSHClient.exec_command>` previously returned a naive + `~paramiko.channel.ChannelFile` object for its ``stdin`` value; such objects + don't know to properly shut down the remote end's stdin when they + ``.close()``. This leads to issues when running remote commands that read + from stdin. + + A new subclass, `~paramiko.channel.ChannelStdinFile`, has been created which + closes remote stdin when it itself is closed. + `~paramiko.client.SSHClient.exec_command` has been updated to use that class + for its ``stdin`` return value. - :release:`2.5.0 <2019-06-09>` - :feature:`1233` (also :issue:`1229`, :issue:`1332`) Add support for encrypt-then-MAC (ETM) schemes (``hmac-sha2-256-etm@openssh.com``, |