SSH: corrected the inability to respect the timeout
authorDaniel Stenberg <daniel@haxx.se>
Wed, 2 Jun 2010 21:33:51 +0000 (23:33 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 2 Jun 2010 21:33:51 +0000 (23:33 +0200)
commit684830cb2a2f10e987658ba36915a681271be941
tree6513f66da8f4d191bf870fcf79bc87c4cc464bde
parent51248a9bdd825f86c4c8a4b1f67006fffb908950
SSH: corrected the inability to respect the timeout

Jason McDonald posted bug report #3006786 when he found that the
SFTP code didn't timeout properly in several places in the code
even if a timeout was set properly.

Based on his suggested patch, I wrote a different implementation
that I think addressed the issue better and also uses the connect
timeout for the initial part of the SSH/SFTP done during the
"protocol connect" phase.

(http://curl.haxx.se/bug/view.cgi?id=3006786)
CHANGES
RELEASE-NOTES
lib/ssh.c