squid icon indicating copy to clipboard operation
squid copied to clipboard

Alternate origin server selection

Open Opendium opened this issue 2 years ago • 2 comments

When the proxy is making a direct connection to the origin server, it will now connect to the host contained in the alt-host note, or X-Alt-Host ICAP response header, if such a note / header exists. This allows an external ACL or ICAP server to redirect the request to a different host.

This is useful where services have a specific "virtual IP" that clients can connect to to receive a modified service. e.g. this can be used to force the "Safe Search" feature on for certain search engines.

Opendium avatar Oct 29 '21 16:10 Opendium

Can one of the admins verify this patch?

squid-prbot avatar Oct 29 '21 16:10 squid-prbot

FWIW, I recommend avoiding PR code changes until everybody involved is on the same page with regard to what should be changed.

rousskov avatar Oct 30 '21 02:10 rousskov