curl-library
Question about using multi handle.
Date: Tue, 2 Oct 2012 15:00:57 +0200
Hi,
I've posted a message earlier about a fuse fs I'm working on.
I have a quesion about the multi interface.
Earlier I used the easy interface, and the fs was only using the readdir call,
so it was only possible to browse. To make reads work, I'm trying to
implement the multi interface. This provides just what I need. The fuse fs
has an eventloop, which can be used to add a socket to communicate
about the status
of the transfer.
I've followed the approach in hiperfifo.c.
When doing a opendir, my fs adds the curl handle to the multi handle using
curl_multi_add_handle.
The socket callback is defined, but it's never called. So the socket
action is never done,
and the transfer is not done. My fs wait's for a certain period (10 s)
and then returns.
I'm not using the CURLMOPT_TIMERFUNCTION, is this required?
Stef
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2012-10-02