This month's Index
Subject: Re: Two questions: 1. Callback function not called; 2. TCP connecting to un-existing server prevents from using existing server.
Re: Two questions: 1. Callback function not called; 2. TCP connecting to un-existing server prevents from using existing server.
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 9 Aug 2007 11:18:32 +0200 (CEST)
On Wed, 8 Aug 2007, Anlin Zhang wrote:
> Problem 1: Not all queries get callback after calling 200 ares_query(). UDP
I would assume you should get timeouts and not just not get anything. Sounds
> Problem 2: If force "Always use TCP" and primary DNS host machine is
Sounds like a flaw there. Possibly we should introduce some kind of time-out
> I did a fix of this problem 2 by checking if the FD is really connected
I don't really see how this approach is covering all cases. First, a very slow
BTW, can you provide your suggested fix(es) as a diff -u output?
-- c-ares -- my preferred DNS asynch resolver libraryReceived on 2007-08-09