commit | fb432f3f783bdbfdcb5b99a2cdb8e10ef8f6ae3f | [log] [tgz] |
---|---|---|
author | Salvador Fandino <sfandino-/E1597aS9LQAvxtiuMwx3w@public.gmane.org> | Wed Aug 26 14:21:44 2015 +0200 |
committer | Daniel Stenberg <daniel@haxx.se> | Tue Sep 29 09:48:36 2015 +0200 |
tree | 9b05aa0d58e2a317029894c4cfc51586ca71d02e | |
parent | fc4a969a0512e226de9b821496d20b9ddf53b741 [diff] |
channel: Detect bad usage of libssh2_channel_process_startup A common novice programmer error (at least among those using the wrapping Perl module Net::SSH2), is to try to reuse channels. This patchs detects that incorrect usage and fails with a LIBSSH2_ERROR_BAD_USE error instead of hanging. Signed-off-by: Salvador Fandino <sfandino-/E1597aS9LQAvxtiuMwx3w@public.gmane.org>