summaryrefslogtreecommitdiffstats
path: root/src/client.c
Commit message (Collapse)AuthorAgeFilesLines
* client: Fix possible NULL pointer dereference.Andreas Schneider2013-07-261-2/+2
|
* Fix regression in pre-connected socket setting.Werner Koch2012-09-211-1/+1
| | | | | | | | | | | * src/socket.c (ssh_socket_pollcallback): Factor some code out to ... (ssh_socket_set_connecting): New. * include/libssh/socket.h (ssh_socket_set_connecting): Add prototype. * src/client.c (ssh_connect): Use new function for a socket set by SSH_OPTIONS_FD. Signed-off-by: Werner Koch <wk@gnupg.org> Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
* build: Fix missing struct in_addr warning.Andreas Schneider2012-07-171-0/+1
| | | | (cherry picked from commit 782b2e37c6a4e0254e2b596b9182043c5ebabd75)
* Fixes the ssh_log issue on ssh_bind handles.Aris Adamantiadis2011-09-171-2/+2
| | | | | | | | (cherry picked from commit da954c2c5ee85bcbe2f5ad9f507a6306b0f5f8b9) Conflicts: src/keyfiles.c
* channels: replaced bugged lists with ssh_listAris Adamantiadis2011-09-021-2/+5
| | | | | | | | | (cherry picked from commit 6d8bb956c5caa48c2aba6713f067224650c3c1e1) Conflicts: src/channels.c src/session.c
* client: Fix another source of endless wait.rofl0r2011-08-071-12/+14
| | | | (cherry picked from commit 35686b4822c8a18d1d6715221be91ee67e563bad)
* Introduced ssh_timeout_elapsed functionsAris Adamantiadis2011-05-251-6/+10
| | | | | | | | Functions to mesure elapsed time before and after a serie of calls. Introduces a dependancy to clock_gettime() and librt, hope this doesn't break anything. Porting to gettimeofday() should not be too hard. (cherry picked from commit 59f7647cd97c62ab7a26725e5a166dcb54b27bc6)
* connect: Set timeout on connectOliver Stöneberg2011-05-171-4/+6
| | | | | | This also fixes error handling in ssh_poll_ctx_dopoll() and ssh_handle_packets(), so it won't loop forever on an actual timeout. (cherry picked from commit 671a9827394714cfc90d75c8a8fb2ccd86f80abf)
* SSH1: Update a few fix from 0.4.8-gitAris Adamantiadis2011-01-261-2/+4
|
* Fix double-connect testcaseAris Adamantiadis2011-01-151-1/+52
|
* Use termination functions for event pollingAris Adamantiadis2011-01-121-14/+23
|
* Non-blocking mode for ssh_connectAris Adamantiadis2011-01-101-2/+23
| | | | This looks ugly. I'll see if we need to revert or change that patch later.
* Fix connection callbacks called at wrong timeAris Adamantiadis2011-01-101-0/+11
|
* Fix "SSH_KEXINIT received in wrong state" raceAris Adamantiadis2011-01-041-1/+1
| | | | Setting the flag before doing any IO
* misc: Differentiate between client and server in ssh_analyze_banner.Andreas Schneider2010-09-291-1/+1
|
* misc: Move ssh_analyze_banner to a common location.Andreas Schneider2010-09-291-63/+2
| | | | Don't duplicate functions!
* Fixed outgoing flow control + writes behavioursAris Adamantiadis2010-09-261-3/+0
|
* Added initialisation logs for threadingAris Adamantiadis2010-09-121-3/+3
|
* misc: Rename libssh/ to src/Andreas Schneider2010-09-061-0/+814