[squid-users] Re: [PATCH] fix transparent caching when squid listens on non-80 port

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Thu, 13 Jan 2005 17:15:44 +0100 (CET)

On Thu, 13 Jan 2005, Denis Vlasenko wrote:

> Squid uses destination port of incoming request
> in order to determine dst port for it's own request
> if vport is used. This is handled correctly for
> case where there is no "Host:" header in user
> request. However, if there *IS* a "Host:" header
> without explicit :port spec, squid does not check
> whether port was translated by NAT before reaching
> squid.
>
> This will work if your squid listens on port 80, but
> in my case, it was on 9080, causing all requests to go
> to port 9080 too on origin servers 8(

According to my notes this was fixed quite some time ago:

http://www.squid-cache.org/Versions/v2/2.5/bugs/#squid-2.5.STABLE7-httpd_accel_vport

Regards
Henrik
Received on Thu Jan 13 2005 - 09:15:46 MST

This archive was generated by hypermail pre-2.1.9 : Mon Mar 07 2005 - 12:59:35 MST