Re: Cancelling in-flight DNS request

2014-05-22 Thread Jakub Hrozek
On Sat, Apr 19, 2014 at 08:41:34PM +0200, David Guillen Fandos wrote: > Hello, > > I just wondered whether it was possible to cancel an in-flight request > for a particular host without cancelling them all. > For example, let's say I query two DNS requests using > "ares_gethostbyname" and I keep l

Re: [PATCH] ares_parse_soa_reply: Do not leak rr_name on allocation failure

2014-05-22 Thread Jakub Hrozek
On Thu, May 22, 2014 at 02:30:36PM +0200, Daniel Stenberg wrote: > On Thu, 22 May 2014, Jakub Hrozek wrote: > > >>The updated code change looks OK to me (but I've not actually > >>exercised the new arm). > > > >Daniel, is it OK if I push this patch? > > No need to ask me for permission. I trust y

Re: [Patch] Inability to override search domains

2014-05-22 Thread Jakub Hrozek
On Thu, May 22, 2014 at 10:30:05AM +0200, Jakub Hrozek wrote: > On Mon, May 19, 2014 at 09:13:24PM +0200, Jakub Hrozek wrote: > > On Fri, Jan 24, 2014 at 03:38:37PM +, David Drysdale wrote: > > > Hi Daniel, > > > > > > I don't think it's currently possible to explicitly set the search domains

Re: Patch for fixing the slow DNS lookup issue

2014-05-22 Thread Jakub Hrozek
On Thu, May 22, 2014 at 01:43:53PM +0800, Lei Shi wrote: > Hello, everyone > > This patch include two major change groups. one is fixing the dns lookup > issue due to dummy dns information of a disconnected adapter(in my case is > a bluetooth adapter). I changed the dns lookup policy to try > GetN

Re: [PATCH] ares_parse_txt_reply: add `record_start` field

2014-05-22 Thread Fedor Indutny
Hello Saul! As an alternative, I could use `NULL` txt field to indicate a record separation, but this will break the existing code. Unfortunately, there is no certain description of how TXT records should be used after parsing. Clearly some people may want to get each chunk of each record separat

Re: [PATCH] ares_parse_soa_reply: Do not leak rr_name on allocation failure

2014-05-22 Thread Daniel Stenberg
On Thu, 22 May 2014, Jakub Hrozek wrote: The updated code change looks OK to me (but I've not actually exercised the new arm). Daniel, is it OK if I push this patch? No need to ask me for permission. I trust you and your judgement, and if there's more people giving their thumbs up I think y

Re: [PATCH] ares_parse_soa_reply: Do not leak rr_name on allocation failure

2014-05-22 Thread Jakub Hrozek
On Tue, May 20, 2014 at 04:56:33PM +0100, David Drysdale wrote: > The updated code change looks OK to me (but I've not actually exercised the > new arm). > > D. Daniel, is it OK if I push this patch?

Re: [Patch] Inability to override search domains

2014-05-22 Thread Jakub Hrozek
On Mon, May 19, 2014 at 09:13:24PM +0200, Jakub Hrozek wrote: > On Fri, Jan 24, 2014 at 03:38:37PM +, David Drysdale wrote: > > Hi Daniel, > > > > I don't think it's currently possible to explicitly set the search domains > > for c-ares -- any values specified in ares_options get overwritten b