curl-library
Re: [hiper] callback wouldn't be call at write state
Date: Thu, 10 Aug 2006 16:11:10 +0200
On Mit 09.08.2006 19:45, Daniel Stenberg wrote:
>On Wed, 9 Aug 2006, Alexander Lazic wrote:
>
>>>But why would you expect a CURL_POLL_OUT for this application?
>>
>>Because i *WRITE* something out, do you mean with out only uploads?!
>
>You write, yes, but the socket callback tells you what action you
>should wait for on the specific socket, and CURL_POLL_OUT means you
>should wait for that socket to become *writable* while CURL_POLL_IN
>means you should wait for the socket to become *readable*.
>
>So, for download transfers you'll (mostly) get CURL_POLL_IN.
Aha, that's the misunderstanding from me, thanks for explanation ;-)
>>May be i haven't use yet a upload test.
>
>I haven't tested the socket API with uploads yet so it would be a very
>useful test case.
Full ack, i will work in about 2 weeks or so on this issue, will tell
you the status ;-)
regards
Alex
Received on 2006-08-10