Re: [squid-users] Squid keep using one parent proxy while I have multiple parent proxies

2016-12-26 Thread wei
example with curl to replicate this issue? Thanks, Eliezer http://ngtech.co.il/lmgtfy/ Linux System Administrator Mobile: +972-5-28704261 Email: elie...@ngtech.co.il From: squid-users [mailto:squid-users-boun...@lists.squid-cache.org] On Behalf Of wei Sent: Monday, December 26, 2016 3:34 AM To

Re: [squid-users] Squid keep using one parent proxy while I have multiple parent proxies

2016-12-25 Thread wei
dfd...@treenet.co.nz> Content-Type: text/plain; charset=US-ASCII; format=flowed On 2016-12-24 15:43, wei wrote: > I have the following cache_peer settings in squid.conf, it works fine > but I found when the interval of every request is more than 55 seconds > or so, the request will only be f

Re: [squid-users] Squid keep using one parent proxy while I have multiple parent proxies

2016-12-25 Thread wei
dfd...@treenet.co.nz> Content-Type: text/plain; charset=US-ASCII; format=flowed On 2016-12-24 15:43, wei wrote: > I have the following cache_peer settings in squid.conf, it works fine > but I found when the interval of every request is more than 55 seconds > or so, the request will only be f

[squid-users] Squid keep using one parent proxy while I have multiple parent proxies

2016-12-23 Thread wei
I have the following cache_peer settings in squid.conf, it works fine but I found when the interval of every request is more than 55 seconds or so, the request will only be forwarded to the last parent(p3), I think this is because the counter being reset by squid if there is no new request for a

Re: [squid-users] Help: How to calculate all bytes when communicate with client for a request

2016-12-20 Thread wei
Hi Alex, Many thanks for your reply and sorry for the misleading. In fact I just want to log the number of encrypted bytes received from the HTTPS client, not the decrypted HTTPS body sizes. Do you know how to do this? I also build squid 3.5.23 with default parameter, and seems squid log stil

[squid-users] Help: How to calculate all bytes when communicate with client for a request

2016-12-20 Thread wei
Hi Guys, I want to calculate all bytes when a request is sent to squid, including: 1. the header length that client will send to squid 2. the post content length that send to squid 3. the response length squid will reply to client logformat squid %ts.%03tu %6tr %>a %Ss/%03Hs %_

[squid-users] about squid choose sibing

2015-05-04 Thread Guang Wei
sibing, cache digests and NetDB Squid's network measurement database is designed to measure the proximity of origin servers. In other words, by querying this database, Squid knows how close it is to the origin server. Think about that web server A& parent squid B(located in China), child squid C