cURL / Mailing Lists / curl-library / Single Mail

curl-library

[Update] Re: [hiper] hipev.c ++ ;-)

From: Alexander Lazic <al-curllibrary_at_none.at>
Date: Tue, 22 Aug 2006 21:59:53 +0200

On Die 22.08.2006 20:54, Alexander Lazic wrote:
>
>The eventcallback wouldn't be called if the server can answer the
>request in one call of multi-perform.
>
>As we have seen none of the libevent/multi_sock callback is called only
>easy callbacks.

the current output show us that the socks callback was called *after*:

--- in multi_runsingle()
CURLM_STATE_DO, /* start send off the request (part 1) */

---
how about to call the callback *before* the CURLM_STATE_DO?!
You can get both outputs (ok,nok) with some printstatments in libcurl
from:
http://none.at/ok.run.txt
http://none.at/nok.run.txt
Regards
Alex
Received on 2006-08-22