summaryrefslogtreecommitdiffstats
path: root/libssh/channels.c
Commit message (Collapse)AuthorAgeFilesLines
* misc: Rename libssh/ to src/Andreas Schneider2010-09-061-2495/+0
|
* Mark channel_read_buffer as deprecated in doxygenAris Adamantiadis2010-08-291-4/+2
|
* Limit the size of packets in ssh_channel_write*Aris Adamantiadis2010-08-281-3/+6
|
* ssh_channel_forward_* -> ssh_forward_*Aris Adamantiadis2010-08-281-6/+6
| | | | Fixes bug #108
* Added missing /** in doxygen @}'sAris Adamantiadis2010-08-281-1/+1
|
* Changed SSH_SUCCESS to SSH_OKAris Adamantiadis2010-08-201-17/+17
|
* Continue removing old flushing codeAris Adamantiadis2010-07-231-5/+5
|
* Fixed channel opening failures (infinite loop)Aris Adamantiadis2010-07-171-1/+1
|
* Fixed keepalive problem on older openssh serversAris Adamantiadis2010-07-161-1/+1
| | | | | | Conflicts: libssh/channels.c
* channel: Fixed the type of the max fd variable in ssh_channel_select().Andreas Schneider2010-06-171-5/+5
|
* Sanitize libssh namespace + legacy wrappersAris Adamantiadis2010-05-141-120/+120
|
* channels: Don't use signal as a name.Andreas Schneider2010-04-201-9/+9
| | | | Thanks to Xi Wang for the patch.
* Fixed the documentation of channels.c.Andreas Schneider2010-04-041-171/+223
|
* Fixed a build warning.Andreas Schneider2010-03-251-1/+1
|
* Fixed spelling.Andreas Schneider2010-03-251-1/+1
|
* Answer to openssh's keepalivesAris Adamantiadis2010-03-011-0/+9
|
* add missing leave_function()Aris Adamantiadis2010-02-021-2/+4
|
* Handle timeout correctlyAris Adamantiadis2010-02-021-1/+1
|
* The ssh_message object needs to be freed after processing in channel_accept().Vic Lee2010-02-011-1/+4
| | | | | Signed-off-by: Vic Lee <llyzs@163.com> Signed-off-by: Andreas Schneider <mail@cynapses.org>
* Correctly handle channel failures and chan statesAris Adamantiadis2010-01-241-56/+57
|
* Made parts of SSH asynchronous (inc kex1)Aris Adamantiadis2010-01-241-4/+9
|
* Fixed blocking bug in channel_pollAris Adamantiadis2010-01-081-12/+13
|
* Prefix message_handle_channel_request with ssh_Aris Adamantiadis2010-01-081-1/+1
|
* Merged the channel_request hdlrs and clean hdlrsAris Adamantiadis2010-01-081-7/+5
|
* Add support for async global requestsAris Adamantiadis2010-01-061-17/+85
| | | | | Normally the infamous packet_wait() synchronous call is gone in all SSH2 client code.
* Fixed typos from a* to error.cAris Adamantiadis2010-01-061-13/+13
|
* Remove some references to packet_wait()Aris Adamantiadis2010-01-031-2/+2
|
* Removed channel_handle now unused functionAris Adamantiadis2010-01-031-26/+0
|
* Channel requests are asynchronousAris Adamantiadis2010-01-031-13/+77
| | | | Exec example also runs perfectly now.
* Explicitely use the packet buffer arg in channelsAris Adamantiadis2010-01-031-20/+23
|
* Some work for async channel requestsAris Adamantiadis2010-01-031-5/+27
|
* Made channel_open_session partially asynchronousAris Adamantiadis2009-12-271-40/+65
|
* Made packet_wait issue warningsAris Adamantiadis2009-12-131-13/+2
|
* Standardize callbacks style and add documentationAris Adamantiadis2009-11-291-5/+5
|
* Squashed commit of the following:Aris Adamantiadis2009-11-271-149/+159
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | commit 43fad8dfd977637c31fade76ace2905f6528c3bc Author: Aris Adamantiadis <aris@0xbadc0de.be> Date: Fri Nov 27 18:39:06 2009 +0100 adaptation to the new ssh_poll_handle object name commit 1e5e6ac4605adf10d437d04f0fd4b7e66024853c Merge: 3fd92a0... 810adad... Author: Aris Adamantiadis <aris@0xbadc0de.be> Date: Fri Nov 27 18:33:06 2009 +0100 Merge branch 'master' into badcode/libssh_async commit 3fd92a08eb74b1447a9ff4ca4e1d137475c62cc6 Author: Aris Adamantiadis <aris@0xbadc0de.be> Date: Mon Nov 2 14:25:46 2009 +0100 Compiles again commit 8910d7b9692418c9ccea0234f6d49674d238dc16 Merge: e83f1b5... cce34a6... Author: Aris Adamantiadis <aris@0xbadc0de.be> Date: Mon Nov 2 12:47:34 2009 +0100 Merge branch 'master' into libssh_async Very big merge ! Conflicts: include/libssh/callbacks.h include/libssh/priv.h libssh/channels.c libssh/messages.c libssh/packet.c libssh/server.c libssh/session.c libssh/socket.c commit e83f1b593219e183082b015315f09bfe95a29cfc Author: Aris Adamantiadis <aris@0xbadc0de.be> Date: Mon Nov 2 12:07:01 2009 +0100 rename callback.h commit dffa7b730e8f39e2198de18ab69a8e57bef95e58 Merge: 5a8b748... de8808c... Author: Aris Adamantiadis <aris@0xbadc0de.be> Date: Tue Sep 15 10:50:07 2009 +0200 Merge branch 'master' of git://git.libssh.org/projects/libssh/libssh into libssh_async commit 5a8b7484f36599d28f2c0c14a23b76bfc7257638 Author: Aris Adamantiadis <aris@0xbadc0de.be> Date: Sun Sep 13 12:55:18 2009 +0200 More updates to callback system commit 18620c20d5e4e62107093f7fd330e553493253fa Author: Aris Adamantiadis <aris@0xbadc0de.be> Date: Sat Sep 12 22:26:52 2009 +0200 Same thing with channel_rcv_data commit fc4a56f6726e409a5866272923f1cbebfc821af3 Author: Aris Adamantiadis <aris@0xbadc0de.be> Date: Sat Sep 12 22:17:45 2009 +0200 added a few packet handlers for channels commit 4b6bb4fd00b10cf1321a764126f277ab204bffe3 Author: Aris Adamantiadis <aris@0xbadc0de.be> Date: Fri Sep 11 23:15:25 2009 +0300 sample packet handlers + bugfixes commit 2784d09d6dec0a8f868912d14f90d860233b3f82 Author: Aris Adamantiadis <aris@0xbadc0de.be> Date: Fri Sep 11 20:30:50 2009 +0300 Packet callbacks nearly finished Need tests and implementation of some packet callbacks commit cd3ea43f20c9ae2f54576ca98a0ea75c5d4299d3 Author: Aris Adamantiadis <aris@0xbadc0de.be> Date: Thu Sep 10 12:46:02 2009 +0300 First step of async packet handling The socket to packet handler is nearly done (needs testing) I still need to define the interface for callbacks. commit 487f4d2a900a5fe3b90ceda4460ab7d38d7ad722 Author: Aris Adamantiadis <aris@0xbadc0de.be> Date: Tue Sep 8 23:24:09 2009 +0300 Almost complete socket callback system Finished the callback function so it bufferizes data when callee does not use it. Flushes the buffer automaticaly after a ssh_socket_nonblocking_flush commit 23571f22fac9e40c855dfa99569bba181a39648b Author: Aris Adamantiadis <aris@0xbadc0de.be> Date: Tue Sep 8 22:22:32 2009 +0300 First draft of a callback system
* Fix another memleakAris Adamantiadis2009-11-181-1/+1
| | | | Use buffer_free instead of SAFE_FREE
* Fixed possible doulbe free problem found by Bernhard R. Link.Andreas Schneider2009-11-181-0/+4
|
* Fixed a memory leak in channel_new() if we have an error.Andreas Schneider2009-11-181-0/+1
|
* channel_read() won't block until count b. are readAris Adamantiadis2009-11-051-4/+6
|
* more priv.h splittingAris Adamantiadis2009-09-261-0/+1
|
* Fixed doxygen compilation warningsAris Adamantiadis2009-09-261-3/+3
|
* More include file splittingAris Adamantiadis2009-09-261-0/+1
|
* Moved lots of declaration out of priv.hAris Adamantiadis2009-09-231-1/+6
|
* Get rid of SSH_MESSAGEAris Adamantiadis2009-09-231-2/+2
|
* get rid of SSH_SESSIONAris Adamantiadis2009-09-231-25/+25
|
* Add warning in channel_open_forward documentationAris Adamantiadis2009-09-141-0/+3
| | | | Tell users it does not do magic (yet)
* Support for sending signals (RFC 4254, section 6.9).Dmitry V. Krivenok2009-09-101-0/+51
| | | | | | | | | | Added function int channel_request_send_signal(ssh_channel channel, const char *signal); which implements signals delivery (as described in RFC 4254). Only SSH-v2 is currently supported. Signed-off-by: Dmitry V. Krivenok <krivenok@orangesystem.ru> Signed-off-by: Andreas Schneider <mail@cynapses.org>
* Build channel_accept() on Windows too.Andreas Schneider2009-08-161-2/+0
|
* Fix return code from packet_wait in channel_requestVic Lee2009-08-161-1/+1
| | | | Signed-off-by: Andreas Schneider <mail@cynapses.org>
* Fix channel_accept_x11 on Windows.Andreas Schneider2009-08-161-3/+11
|