summaryrefslogtreecommitdiffstats
path: root/src/channels.c
Commit message (Collapse)AuthorAgeFilesLines
* channels: Fix a possible infinite loop if the connection dropped.Andreas Schneider2012-10-221-1/+3
| | | | This fixes bug #85.
* channel: Fix a possible null pointer dereference.Andreas Schneider2012-10-051-1/+6
| | | | (cherry picked from commit ceb8072b34a581eb72ed43f7f7ce78fd9b0ea708)
* channels: Fix a possible null pointer dereference.Andreas Schneider2012-10-051-1/+6
| | | | (cherry picked from commit 656fd60110b73b3fc56c8c407b12a68be7ca67ff)
* build: Fix missing struct in_addr warning.Andreas Schneider2012-07-171-0/+1
| | | | (cherry picked from commit 782b2e37c6a4e0254e2b596b9182043c5ebabd75)
* channels: don't send SSH2 packets on SSH1 !Aris Adamantiadis2011-09-151-0/+7
|
* SSH1: fix buildAris Adamantiadis2011-09-021-4/+2
| | | | | | | | | (cherry picked from commit 3eece8ac0b107a7df8d95325ef17ed19d6429e75) Conflicts: src/channels.c src/channels1.c
* channels: replaced bugged lists with ssh_listAris Adamantiadis2011-09-021-39/+25
| | | | | | | | | (cherry picked from commit 6d8bb956c5caa48c2aba6713f067224650c3c1e1) Conflicts: src/channels.c src/session.c
* Channels: increase window size x10Aris Adamantiadis2011-09-021-1/+1
| | | | | | Provides me a 3x performance boost for async sftp, 5x for sync sftp (on localhost) (cherry picked from commit 17ae216340fea65edbfbb59789121e6e4af73f20)
* channels: Fix bug #52.Andreas Schneider2011-09-021-4/+15
| | | | | | | (cherry picked from commit a2c94abb92ead1503a0d6284609af41e53bef402) Conflicts: src/channels.c
* channels: Fix possible infinite loop in channel_read().rofl0r2011-08-291-1/+5
| | | | (cherry picked from commit 66188f1af84852b9d9fc09acf26454c4cfacefef)
* channels: Fix incorrect return values in ssh_channel_write().Andreas Schneider2011-08-101-3/+12
| | | | (cherry picked from commit 13227714f25b57b95594f33d395bc3cea0b7fe8e)
* channels: Handle SSH_AGAIN in channel_open().Andreas Schneider2011-08-091-5/+8
| | | | (cherry picked from commit 2f878736427f5fd846f8ebb0c834e6a65bf8a638)
* channels: Fix an endless loop in case of a channel_open error.rofl0r2011-08-071-0/+4
| | | | (cherry picked from commit 7ccd9c31b33798824b27e4af095b52b9026a1f98)
* session: Fix timeout handling.rofl0r2011-08-071-9/+9
| | | | | | -2 now means to use the timeout specified in options. It wasn't used earlier and poll only knows -1 and 0 anyway for special meanings. (cherry picked from commit af85337f5ff052437fa5cf117f3d065488640660)
* channels: Fix checking for fatal errors.rofl0r2011-08-071-0/+5
| | | | | | | | | We need this that we don't end up in and infinite poll loop. (cherry picked from commit 563fbe4de8ee090b40b50415a86f9a3da16f46b0) Conflicts: src/poll.c
* channels: Fix ssh_channel_from_local()rofl0r2011-08-071-14/+15
| | | | | | It only worked if the first channel in the list was equivalent to we were looking for. (cherry picked from commit 39f962c91eb4575a65edc7d984ce3f1a699097b8)
* channels: Set the max packet size to 32768.Andreas Schneider2011-08-031-3/+23
| | | | (cherry picked from commit 790b62bca59f46593711d17dd6c3058c7571a17c)
* Forgot a cast to remove warningsAris Adamantiadis2011-05-271-2/+2
| | | | (cherry picked from commit ac167c90775b757adefb9f3ec6b3cfbcdef78c1a)
* Fix bug #5, channel_read_nonblocking that blocksAris Adamantiadis2011-05-271-1/+1
|
* channel: Fixed potential use-after-free in ssh_channel_get_exit_status().Oliver Stöneberg2011-05-171-1/+1
| | | | | | If ssh_channel_get_exit_status() is called more than once and the connection closed. (cherry picked from commit 4e153aed8a943b636135b424e052fc69392ad87c)
* channel: Improve the request signal documentation.Andreas Schneider2011-05-151-1/+17
| | | | (cherry picked from commit 32cd45612bd89714f5c597f6d9ac8c51510e3df4)
* [channels] Added ssh_channel_window_size() and avoided reentrancy in ↵milo2011-05-021-8/+9
| | | | | | channel_write_common() (cherry picked from commit 7ba09388464f0437da2833b81e268744b20a68fe)
* Fix assertion with Visual Studio because of %zu.Andreas Schneider2011-04-151-2/+2
| | | | (cherry picked from commit ef658b4bef82670b6064078df355d6b6cf5ac999)
* channel: Fixed uninitialized use of session.Andreas Schneider2011-02-191-2/+2
|
* channel: Improve ssh_channel_open_reverse_forward documentation.Bernhard R. Link2011-02-181-4/+5
| | | | (cherry picked from commit 23b3c46fd60201147c8a40d4dae5fe86f36bfd86)
* channels: set error for new NULL pointer checksAndreas Schneider2011-02-181-6/+50
| | | | | Signed-off-by: Andreas Schneider <asn@cryptomilk.org> (cherry picked from commit 8a83990c1603a051e74d5aa7a60445a7ef5021e4)
* channels: Set errors on return.Bernhard R. Link2011-02-181-2/+80
| | | | | Signed-off-by: Andreas Schneider <asn@cryptomilk.org> (cherry picked from commit 7ae59c571afae0bae1f54a4d8b16a456b6469535)
* Respect RFC when sending stderr datamilo2011-02-041-2/+10
| | | | | | | | | http://tools.ietf.org/html/rfc4254#section-5.2 byte SSH_MSG_CHANNEL_EXTENDED_DATA uint32 recipient channel *uint32 data_type_code* string data
* channels: Fixed a build warning.Andreas Schneider2010-12-231-1/+1
|
* Fix from Oleksandr ShneyderAris Adamantiadis2010-12-071-2/+4
| | | | http://www.libssh.org/archive/libssh/2010-11/0000005.html
* Removed references to ssh_buffer_get_beginAris Adamantiadis2010-10-031-6/+6
|
* Don't grow window if there is no space in the buffermilo2010-10-021-1/+1
|
* Fix the window not growing problemAris Adamantiadis2010-10-021-1/+6
| | | | | | | Fix conflict with patch from milo Conflicts: src/channels.c
* Added ssh_channel_write_stderr() for the servermilo2010-10-021-0/+17
|
* Added channel features on the servermilo2010-10-021-6/+205
| | | | | | | - ssh_channel_request_send_exit_status() - ssh_channel_request_send_exit_signal() - enhanced these features client-side
* Handle global requests and reverse forwardingmilo2010-10-021-1/+72
|
* Add new callbacks in session and channelsmilo2010-10-021-0/+33
|
* Rewrote channel_read_buffer to use ssh_channel_readAris Adamantiadis2010-10-011-71/+36
|
* Update the window *after* effective readAris Adamantiadis2010-10-011-6/+6
|
* Fix the behaviour of channel window handlingAris Adamantiadis2010-10-011-15/+30
|
* Fixed outgoing flow control + writes behavioursAris Adamantiadis2010-09-261-2/+2
|
* misc: Rename libssh/ to src/Andreas Schneider2010-09-061-0/+2495