curl-library
Re: multi interface + writeDataCallback doesn't work on win32 !
From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Fri, 21 May 2004 23:07:23 +0200 (CEST)
Date: Fri, 21 May 2004 23:07:23 +0200 (CEST)
On Fri, 21 May 2004, Stefan Libcurl wrote:
> use multi handles the writeDataCallback() is not called. I set a breakpoint
> inside writeDataCallback() but the debugger doesn't stop there (maybe the
> multi interface is threaded).
libcurl uses only the thread you create.
Enable VERBOSE and see that you actually are getting data back.
Besides, your loop terminates much to premature. You should use select() in
there as docs and examples show, that loop will only run while libcurl has
data immediately without waiting.
-- Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se Dedicated custom curl help for hire: http://haxx.se/curl.htmlReceived on 2004-05-21