cURL / Mailing Lists / curl-library / Single Mail

curl-library

curl_multi_wait revent for extra_fd not set

From: Evgeny Turnaev <turnaev.e_at_gmail.com>
Date: Thu, 4 Jul 2013 18:58:50 +0400

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-04