Re: [PATCHES] Major DNS changes

2017-06-02 Thread Willy Tarreau
Hi Baptiste, On Wed, May 24, 2017 at 11:34:31AM +0200, Baptiste wrote: > Over the last few weeks, I entirely reworked the internal resolver of > HAProxy to make it more flexible. > The main driver for this is to add more features related to DNS use-cases > (SRV records, scale in / scale out a

Re: [PATCHES] Major DNS changes

2017-05-29 Thread Aleksandar Lazic
Hi Baptiste. Baptiste have written on Mon, 29 May 2017 11:14:14 +0200: > Hi Aleksandar, > > I have take a look into the code and have just some questions about > > calloc in [PATCH 03/11] & [PATCH 07/11] > > > > In the function dns_alloc_resolution is calloc used, would the

Re: [PATCHES] Major DNS changes

2017-05-29 Thread Baptiste
Hi Aleksandar, I have take a look into the code and have just some questions about > calloc in [PATCH 03/11] & [PATCH 07/11] > > In the function dns_alloc_resolution is calloc used, would the use of > haproxy pools bring any benefit? > > it may help a bit from memory usage point of view. I

Re: [PATCHES] Major DNS changes

2017-05-24 Thread Aleksandar Lazic
Hi Baptiste. Baptiste have written on Wed, 24 May 2017 11:34:31 +0200: > Hi all, > > Over the last few weeks, I entirely reworked the internal resolver of > HAProxy to make it more flexible. > The main driver for this is to add more features related to DNS > use-cases (SRV records, scale in /