On Fri August 21 2009 09:42:30 Daniel Stenberg wrote: > Yeah, I can see exactly what you're saying and of course this doesn't work > as intended. We need to make sure that the (ssh-) block-bits can be used by > the Curl_readwrite() function during the transfer phase as the 'keepon' > direction is too simple for this purpose. And we need to make it somewhat > protocol indepdent so that we don't just make a ssh kludge in the generic > transfer.c code. > > I'll need to go back to staring at that code for a while more before I take > a stab at this. If anyone else does it first, by all means go ahead!
I am still a bit new to libcurl and not yet familiar with its design. What about not making 'waitfor' as ssh-specific? Then its value can be checked within Curl_readwrite() and performed the appropriate poll if necessary, not sure how is the situation with other protocols... Kamil
