Hello,
I'm comparing Squid 2.7 to Squid 3.1, and I've found the error code
returned between the two versions differs when attempting to fetch a site
where the domain name does not exist. In Squid 2.7, it returns an HTTP
504 (Gateway Timeout), while Squid 3.1 returns an HTTP 503 (Service
Unavailable)
I've narrowed this down to FwdState::makeConnectingError(err_type), but
I'm not sure if this is by design.
It seems to be related to whether the request requires validation, but I
can't see an obvious way to force this via configuration.
In lieu of finding a way to force Squid 3.1 to always return an HTTP 504
error code, I've prepared a patch which seems to work, but I'd still like
some community feedback prior to submitting it. Is there a particular
reason why Squid 3.1 will return either HTTP 503 or 504, depending on
whether the request requires validation?
Thanks,
Andrew
---------------------------------------------------------------------
This transmission (including any attachments) may contain confidential information, privileged material (including material protected by the solicitor-client or other applicable privileges), or constitute non-public information. Any use of this information by anyone other than the intended recipient is prohibited. If you have received this transmission in error, please immediately reply to the sender and delete this information from your system. Use, dissemination, distribution, or reproduction of this transmission by unintended recipients is not authorized and may be unlawful.
Received on Thu May 10 2012 - 20:47:29 MDT
This archive was generated by hypermail 2.2.0 : Fri May 11 2012 - 12:00:03 MDT