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

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Sat, 25 Jun 2011 14:04:48 +1200

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

-- 
Please be using
   Current Stable Squid 2.7.STABLE9 or 3.1.12
   Beta testers wanted for 3.2.0.9 and 3.1.12.3

Received on Sat Jun 25 2011 - 02:05:04 MDT

This archive was generated by hypermail 2.2.0 : Thu Jun 30 2011 - 12:00:05 MDT