curl-library
Re: bug in pycurl 7.15.4 / curl_multi_fdset ?
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 27 Jun 2006 23:04:17 +0200 (CEST)
Date: Tue, 27 Jun 2006 23:04:17 +0200 (CEST)
On Tue, 27 Jun 2006, K.S.Sreeram wrote:
> res = curl_multi_fdset(self->multi_handle, &self->read_fd_set,
> &self->write_fd_set, &self->exc_fd_set,
> &max_fd);
>
> In particular, curl_multi_fdset returning a max_fd of -1, is *not* an error.
> It just indicates that the fdset is empty. Just removing the check (max_fd <
> 0), fixes the problem.
>
> But, this seems to indicate some deeper problem in libcurl/c-ares itself.
> Why are there no sockets being returned by 'curl_multi_fdset' when an
> operation is still in progress???
I believe you've found the problem that we already fixed in CVS:
http://cool.haxx.se/cvs.cgi/curl/lib/multi.c.diff?r1=1.80&r2=1.81
-- Commercial curl and libcurl Technical Support: http://haxx.se/curl.htmlReceived on 2006-06-27