Philippe Vaucher
unread,Apr 1, 2009, 4:40:55 AM4/1/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to curlpp-devel
Hello,
In Multi.hpp there's the following typedef:
typedef std::list<std::pair<const curlpp::Easy *, Multi::Info> > Msgs;
I think you should remove the const, because we need to be able to
modify the easy handle in order to reuse it in the middle of a Multi-
transfer. For example when you dynamically reuse finished transfers in
order to provide the functionnality of a "queue" of like 10 files
transfering at the same time.
Then the following API:
void fdset(fd_set * read_fd_set, fd_set * write_fd_set, fd_set *
exc_fd_set, int * max_fd);
I think it'd return the CURLMcode for consistency with the C api.
Thanks,
Philippe