Re: [PATCH] %I shows hostname on SSL error page

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Wed, 07 Sep 2011 21:41:04 +1200

On 07/09/11 08:18, Tsantilas Christos wrote:
> If there is not any objection I will commit this patch to trunk...
>
> On 08/31/2011 09:35 PM, Tsantilas Christos wrote:
>>
>> The %I must print the server ip address, but currently displays the host
>> name of the server on squid error pages.
>> This patch fixes %I to print the server ip address in the case of a
>> direct connection to destination server or "[unknown]" otherwise.
>>

The old code would display the peer details when failing to connect to a
peer. I don't think we should change that.

So I think drop the peerType==HIER_DIRECT condition and commit please.

Amos

-- 
Please be using
   Current Stable Squid 2.7.STABLE9 or 3.1.15
   Beta testers wanted for 3.2.0.11
Received on Wed Sep 07 2011 - 09:41:18 MDT

This archive was generated by hypermail 2.2.0 : Wed Sep 07 2011 - 12:00:06 MDT