[squid-users] cache_peer and HTTP/1.1 in squid3

From: Oliver Kindernay <oliver.kindernay_at_gmail.com>
Date: Sat, 19 Dec 2009 17:03:25 +0000

Hi, I have webservers on virtual interfaces and SQUID3 in accelerator
on interface with public IP on port 80. I am using "cache_peer" to
forward request to webservers from internet.
This is what I have in configuration file

cache_peer 192.168.0.1 parent 80 0 no-query originserver no-digest name=server1
cache_peer 192.168.0.2 parent 80 0 no-query originserver no-digest name=server2

acl srvone dstdomain binpot.eu
http_access allow srvone
cache_peer_access server1 allow srvone
cache_peer_access server1 deny all

acl srvtwo dstdomain parky.binpot.eu
http_access allow srvtwo
cache_peer_access server2 allow srvtwo
cache_peer_access server2 deny all

It works, but it uses HTTP 1.0 for contact webservers. I want to use
HTTP 1.1. How to achieve this? Or better, how to just forward
_unchanged request_ from internet to webserver and than _unchanged
request_ from webserver to client? I know squid 2.6 has some
experimental HTTP 1.1 support for this, but I want to use squid3.
Received on Sat Dec 19 2009 - 17:03:33 MST

This archive was generated by hypermail 2.2.0 : Sun Dec 20 2009 - 12:00:02 MST