diff options
author | rofl0r <retnyg@gmx.net> | 2011-12-31 02:15:16 +0100 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2012-01-02 12:42:47 +0100 |
commit | 558b53a856c5df5efcee70f1ee0aba6cc10fe9ea (patch) | |
tree | d5471a5d7718dff967a8f40ea04e9f6c306c8888 /src/buffer.c | |
parent | 0764adc82f2e25c77af73c7ffa03c0653694f0e1 (diff) | |
download | libssh-558b53a856c5df5efcee70f1ee0aba6cc10fe9ea.tar.gz libssh-558b53a856c5df5efcee70f1ee0aba6cc10fe9ea.tar.xz libssh-558b53a856c5df5efcee70f1ee0aba6cc10fe9ea.zip |
session: Cleanup timeout functions and fix packets termination.
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).
Diffstat (limited to 'src/buffer.c')
0 files changed, 0 insertions, 0 deletions