summaryrefslogtreecommitdiff
path: root/extra/libssh/0004-reset-global-request-status.patch
diff options
context:
space:
mode:
Diffstat (limited to 'extra/libssh/0004-reset-global-request-status.patch')
-rw-r--r--extra/libssh/0004-reset-global-request-status.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/extra/libssh/0004-reset-global-request-status.patch b/extra/libssh/0004-reset-global-request-status.patch
new file mode 100644
index 000000000..760f3497a
--- /dev/null
+++ b/extra/libssh/0004-reset-global-request-status.patch
@@ -0,0 +1,18 @@
+Description: Allow requesting more than one channel per session.
+Author: Andreas Schneider <asn@cryptomilk.org>
+Abstract:
+ In the 0.5.x series of libssh only one channel request per session
+ is possible. This blocks using libssh client sessions which require
+ requesting multiple channels on a single SSH connection.
+Origin: http://git.libssh.org/projects/libssh.git/commit/src/channels.c?id=e30acdb58a86937e8bece57ce47e272f1106ca55
+--- a/src/channels.c
++++ b/src/channels.c
+@@ -1951,7 +1951,7 @@
+ break;
+
+ }
+-
++ session->global_req_state = SSH_CHANNEL_REQ_STATE_NONE;
+ leave_function();
+ return rc;
+ error: