| |
|
|
|
cURL Mailing List Monthly Index Single Mail
curl-library Mailing List Archives
RE: More questions about ares behavior
From: Joshua Kwan <jkwan_at_vmware.com>
Date: Mon, 3 Aug 2009 18:04:14 -0700
Here's a patch to fix the behavior of cURL informing c-ares correctly about network events. In the case of a POLLERR, we basically pretend it is an event that triggers both watches for POLLIN or POLLOUT. For POLLHUP, we treat it like a POLLIN. As far as ares_process_fd is concerned, it only wants to know about 'input' and 'output' on these FDs, so we can conform to it using the above formula.
It works for me - not sure if you find this appropriate.
-Josh
-----Original Message-----
On Wed, 29 Jul 2009, Joshua Kwan wrote:
> The key is in ev_bitmask. There's a 1:1 relationship between the flags you
As you can see in the beginning of the lib/transferl.c:Curl_readwrite()
> Offtopic: Should I resubmit my other patch for c-ares to the c-ares
I took care of it. Thanks!
-- / daniel.haxx.se
These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info