Re: [squid-users] visible_hostname versus unique_hostname

From: Matus UHLAR - fantomas <uhlar_at_fantomas.sk>
Date: Mon, 27 Apr 2009 14:08:32 +0200

> Matus UHLAR - fantomas wrote:
>> I was searching for the logic of setting visible_hostname and
>> unique_hostname. I found out that value of unique_hostname is set by calling
>> getMyHostname() function, which returns value of visible_hostname, if it's
>> set. However, I would prefer not to do this - to use autodected hostname,
>> and only change visible_hostname in configuration file.

>> I would like to ask, could the *hostname logic be changed, so people could
>> set visible_hostname and leave unique_hostname to rely on the internal
>> logic? Should I fill bugreport for this?

On 24.04.09 12:15, Amos Jeffries wrote:
> Good point. It does appear as if the unique vs visible dependency is
> reversed.
> Yes, make its a enhancement bug if you like. I'll be looking into it at
> some point for 3.2 unless someone gets there first.

Submitted:
http://www.squid-cache.org/bugs/show_bug.cgi?id=2654

Yes, the dependency seeme reversed. Changing that should not be that hard
imho.

> FWIW the whole process of this auto-detection needs to be updated. It's
> too complex and failing on to many OS these days to keep as-is. If
> anyone wants a small job to fix it get in touch with me for the specs.

Does it fail? According to the code it should return fqdn of first listening
socket, which is imho a correct solution of the problem...

-- 
Matus UHLAR - fantomas, uhlar@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Chernobyl was an Windows 95 beta test site.
Received on Mon Apr 27 2009 - 12:08:39 MDT

This archive was generated by hypermail 2.2.0 : Wed Apr 29 2009 - 12:00:02 MDT