cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: curl_multi_wait revent for extra_fd not set

From: Evgeny Turnaev <turnaev.e_at_gmail.com>
Date: Mon, 8 Jul 2013 13:47:21 +0400

Hello.
   I just want to refresh thread with this letter.
   It would be really nice if Daniel or any other maintainer (if any
exists) would have answer original question about getting revents for
extra_fds out after curl_multi_wait call.
   Thanks.

2013/7/4 Evgeny Turnaev <turnaev.e_at_gmail.com>:
> Excuse me please,
> but i don't understand how can i get revents for extra_fds passed to
> curl_multi_wait.
> I looked into multi.c and it is seems revents for extra_fds is
> discarded after call to Curl_poll.
>
> Is'nt there should be something like this in multi.c:
>
> 23d22
> <
> 812c811
> < unsigned int i, j;
> ---
>> unsigned int i;
> 913,916d911
> <
> < for(j = nfds - extra_nfds; j < nfds; ++j){
> < extra_fds[j].revents = ufds[j].revents;
> < }
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2013-07-08