Re: [PATCH] Add DNS lookup step to ICAP connect

From: Tsantilas Christos <chtsanti_at_users.sourceforge.net>
Date: Thu, 30 Jun 2011 20:11:53 +0300

And this is the third version.

This patch does not include only the DNS lookup for ICAP but other
changes too like ICAP connections pool changes, which required to allow
ICAP client work.

This patch also is not complete. The Max-Connections ICAP feature is
currently broken and needs some redesign, to work well.
I think we should move the DNS-lookup and open connection to the ICAP
server functionality from Adaptation::Icap::Xaction class to
Adaptation::Icap::ServiceRep class.

On 06/25/2011 05:04 AM, Amos Jeffries wrote:
> Version 2. This one resolves a few compile bugs.
>
> Ralf: cc'd in case you would like to try testing this.
>
> On 25/06/11 03:21, Amos Jeffries wrote:
>> This seeks to add an async DNS lookup step to the ICAP connection setup
>> process.
>>
>> As a side effect it adds a little bit of tcp_outgoing_address support to
>> ICAP. Its limited to "dst" ACL at present. So outgoing ACL selections
>> depending on HTTP request details wont work. Which makes sense since
>> this connection may be reused for multiple requests.
>>
>> I've skipped the idea of using more than one IP result since there seems
>> to be no sane place to store multiple IPs between connect attempts. It
>> currently relies on ipcache MarkGood/MarkBad keeping a good usable IP at
>> the top of the IP set.
>>
>
> Amos

Received on Thu Jun 30 2011 - 17:11:58 MDT

This archive was generated by hypermail 2.2.0 : Fri Jul 01 2011 - 12:00:05 MDT