-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 30/10/2014 1:40 a.m., sai raghavendra wrote: > Hi, > > We are currently using squid-3.1.10 as an internal proxy server. It > sends requests to 3 external proxies which interact with the world > wide web. > > > I was just wondering if there is a support for sticky sessions in > squid , so that we can send a set of continual requests to a > specific external proxy through squid. It sounds like you are wanting either the carp, userhash, or sourcehash peering algorithm. http://www.squid-cache.org/Doc/config/cache_peer/ > > As a part of this, also wanted to know if the client can send an > HTTP request header to squid to choose which external proxy squid > should send the request to. cache_peer_access with an req_header ACL test can do that. http://www.squid-cache.org/Doc/config/cache_peer_access/ http://www.squid-cache.org/Doc/config/acl/ However be aware that placing the client UA in control of low-level routing details is not compatible with the earlier mentioned selection algorithms. Layering algorithms just causes 500 or 503 errors whenever the hash algorithm and client disagree on what peer to use. Amos -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (MingW32) iQEcBAEBAgAGBQJUUOnsAAoJELJo5wb/XPRjdnwH/1WuBNBdfWc/eLmYfv6HvgTB KBYGJ1zQnNEDzon1yllP4DU0HL6vCjdIf3puf+zvxm/RoV7iTqmikF3dBYHNiE32 6NhtphFkVgb0uVHntVKKnXdmMeN9a7t2jQk2NzVyrWNTckGVs9WsxknEGBwyQ9ox fWf0xOV/nBOeoZW+fdN7PiAsiG1+qlFgjRMve/I9u4wAgL6ZoMvPo+/VP7aR0mAb QOfx2RId7AXecTlkRaOBoPNdjwD5nPK+uBztxDTDV98qttq9xJd5T7+aOhDu2Pl+ ew+H3BuytKtIbkjZowgiH745iu8s3aQVzbSLTKBuyETsFMz/aRg5K46CYqw8tdE= =uuoB -----END PGP SIGNATURE----- _______________________________________________ squid-users mailing list squid-users@xxxxxxxxxxxxxxxxxxxxx http://lists.squid-cache.org/listinfo/squid-users