-
-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
18 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
pylibssh no longer crashes when received EOF or when channel is not explicitly | ||
closed -- by :user:`pbrezina`. | ||
|
||
Previously, pylibssh crashed if ``channel.recv`` was called and ``libssh`` | ||
returned ``SSH_EOF`` error. It also crashed on some special occasions where | ||
channel was not explicitly closed and the session object was garbage-collected | ||
first. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
Fixed the example of invoking remote commands by using | ||
``Channel.exec_command()`` in snippets -- by :user:`pbrezina`. | ||
|
||
Its previously showcased version wasn't functional. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
The ``request_exec()`` method was added to the ``Channel`` class. It exposes an | ||
interface for calling the respective low-level C-API of the underlying | ||
``libssh`` library -- by :user:`pbrezina`. | ||
|
||
Additionally, the following calls to ``libssh`` are now available in the same | ||
class: ``request_exec()``, ``send_eof()``, ``request_send_signal()`` and | ||
``is_eof`` which is exposed as a :py:class:`property`. |