| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
We need to cleanup the channels first cause we call ssh_channel_close()
on the channels which still require a working socket and poll context.
Thanks to sh4rm4!
|
|
|
|
| |
(cherry picked from commit 280ce3fe937c96899732814928c8ecfa9f9ae431)
|
|
|
|
|
|
|
|
| |
It is possible that we get unrelated packets while waiting for
termination, thus waiting indefinitely. As a workaround we have to
check the user-supplied timeout.
Also cleaned up ssh_blocking_flush, which was using the timeout in a
bogus manner (resetting the timeout after each check).
|
|
|
|
|
|
|
|
| |
(cherry picked from commit da954c2c5ee85bcbe2f5ad9f507a6306b0f5f8b9)
Conflicts:
src/keyfiles.c
|
|
|
|
|
|
|
|
|
| |
(cherry picked from commit 6d8bb956c5caa48c2aba6713f067224650c3c1e1)
Conflicts:
src/channels.c
src/session.c
|
|
|
|
|
|
| |
This happened due to the use of the buggy and obsolete timeout
funtions.
(cherry picked from commit 7949f2cdc6eb1ac0f076e06e6a3fa47540a9b870)
|
|
|
|
| |
(cherry picked from commit 2f878736427f5fd846f8ebb0c834e6a65bf8a638)
|
|
|
|
|
|
| |
-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)
|
|
|
|
| |
(cherry picked from commit 3c21281bf07bceb61a321e11348cd54e35b5e869)
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
| |
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)
|
|
|
|
| |
bug#38
|
|
|
|
| |
(cherry picked from commit 4bc9c96e4e5b376578c7dcfdd9a85c7a4b4c788b)
|
|
|
|
|
| |
Based on code from Jan Willamowius
(cherry picked from commit dff4e4e6d3a56123b00df48fdcd7a6de0a275aef)
|
|
|
|
| |
(cherry picked from commit 32e23a25da4e7d23bdede1cee4cadc6c80306c23)
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
SSH_OPTION_COMPRESSION and SSH_OPTION_COMPRESSION_LEVEL options have been added. Now, end-level apps may simply choose to enable compression without knowing the relevant algorithms behind it.
|
| |
|
| |
|
| |
|
|
|