]> granicus.if.org Git - curl/commit
ssh_statemach_act() is now modified to loop over the switch() to perform as
authorDaniel Stenberg <daniel@haxx.se>
Mon, 11 Jan 2010 23:10:53 +0000 (23:10 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 11 Jan 2010 23:10:53 +0000 (23:10 +0000)
commitd17416190bcde9f59b1bc282682bc2b52548b829
treee0e4a0855fa33e1b24fe9881d99be2cf077ab40a
parent2158e234aa155bc60bc6f68fe4578f41e72d998a
ssh_statemach_act() is now modified to loop over the switch() to perform as
much as possible in one go, as long as it doesn't block and hasn't reached the
end of the state machine.
This avoids spurious -1 returns from curl_multi_fdset() simply because
previously it would return from this function without anything in EWOUDLBLOCK
and thus basically it wasn't actually waiting for anything!!
lib/ssh.c