[squid-dev] [RFC] dns_wait_for_all

2016-09-14 Thread Alex Rousskov
Hello, Currently, when connecting to an origin server, Squid sends concurrent DNS A and queries and waits for both answers before proceeding with the HTTP transaction. If the authoritative DNS server (or something on its path) breaks or significantly delays IPv6 () transactions, then

Re: [squid-dev] [RFC] dns_wait_for_all

2016-09-14 Thread Amos Jeffries
On 15/09/2016 8:15 a.m., Alex Rousskov wrote: > Hello, > > Currently, when connecting to an origin server, Squid sends > concurrent DNS A and queries and waits for both answers before > proceeding with the HTTP transaction. If the authoritative DNS server > (or something on its path) brea

Re: [squid-dev] [RFC] dns_wait_for_all

2016-09-14 Thread Amos Jeffries
On 15/09/2016 8:15 a.m., Alex Rousskov wrote: > > Any better ideas or objections to adding dns_wait_for_all? > In principle okay. However, I was intending to redesign the object we store DNS RR results in to achieve this is a more useful way. Such that instead of returning an array of IP address

Re: [squid-dev] [RFC] dns_wait_for_all

2016-09-14 Thread Alex Rousskov
On 09/14/2016 07:26 PM, Amos Jeffries wrote: > On 15/09/2016 8:15 a.m., Alex Rousskov wrote: >> Any better ideas or objections to adding dns_wait_for_all? > In principle okay. However, I was intending to redesign the object we > store DNS RR results in to achieve this is a more useful way. If y

Re: [squid-dev] [RFC] dns_wait_for_all

2016-09-15 Thread Amos Jeffries
On 15/09/2016 5:11 p.m., Alex Rousskov wrote: > On 09/14/2016 07:26 PM, Amos Jeffries wrote: >> On 15/09/2016 8:15 a.m., Alex Rousskov wrote: >>> Any better ideas or objections to adding dns_wait_for_all? > > >> In principle okay. However, I was intending to redesign the object we >> store DNS RR

Re: [squid-dev] [RFC] dns_wait_for_all

2016-09-15 Thread Alex Rousskov
On 09/15/2016 03:50 AM, Amos Jeffries wrote: > On 15/09/2016 5:11 p.m., Alex Rousskov wrote: >> On 09/14/2016 07:26 PM, Amos Jeffries wrote: >>> On 15/09/2016 8:15 a.m., Alex Rousskov wrote: Any better ideas or objections to adding dns_wait_for_all? >> >> >>> In principle okay. However, I was

Re: [squid-dev] [RFC] dns_wait_for_all

2016-09-20 Thread Amos Jeffries
On 16/09/2016 3:35 a.m., Alex Rousskov wrote: > On 09/15/2016 03:50 AM, Amos Jeffries wrote: >> On 15/09/2016 5:11 p.m., Alex Rousskov wrote: >>> On 09/14/2016 07:26 PM, Amos Jeffries wrote: On 15/09/2016 8:15 a.m., Alex Rousskov wrote: > Any better ideas or objections to adding dns_wait_f

Re: [squid-dev] [RFC] dns_wait_for_all

2016-09-20 Thread Alex Rousskov
On 09/20/2016 04:41 AM, Amos Jeffries wrote: > On 16/09/2016 3:35 a.m., Alex Rousskov wrote: >> On 09/15/2016 03:50 AM, Amos Jeffries wrote: >>> The serverDestinations not changing (yet). >> I am pretty sure we have to change that field to implement >> dns_wait_for_all functionality correctly. For