Re: [MERGE] Squid Patch (revision 10487)

2014-05-13 Thread Amos Jeffries
On 13/05/2014 4:56 a.m., Michael Pye wrote: On 2014-05-12 16:52, Amos Jeffries wrote: Here is the guts of the original patch as should be relevant to Squid-3.5 (or 3.4). http://master.squid-cache.org/~amosjeffries/patches/Pye_s35.patch Many thanks Amos, I've just tried this and it does

Re: [MERGE] Squid Patch (revision 10487)

2014-05-13 Thread Amos Jeffries
On 13/05/2014 10:52 p.m., Amos Jeffries wrote: On 13/05/2014 4:56 a.m., Michael Pye wrote: On 2014-05-12 16:52, Amos Jeffries wrote: Here is the guts of the original patch as should be relevant to Squid-3.5 (or 3.4). http://master.squid-cache.org/~amosjeffries/patches/Pye_s35.patch Many

Re: [MERGE] Squid Patch (revision 10487)

2014-05-13 Thread Michael Pye
On 2014-05-13 11:53, Amos Jeffries wrote: On 13/05/2014 10:52 p.m., Amos Jeffries wrote: On 13/05/2014 4:56 a.m., Michael Pye wrote: On 2014-05-12 16:52, Amos Jeffries wrote: Here is the guts of the original patch as should be relevant to Squid-3.5 (or 3.4).

Re: [MERGE] Squid Patch (revision 10487)

2014-05-13 Thread Michael Pye
On 2014-05-13 11:53, Amos Jeffries wrote: On 13/05/2014 10:52 p.m., Amos Jeffries wrote: On 13/05/2014 4:56 a.m., Michael Pye wrote: On 2014-05-12 16:52, Amos Jeffries wrote: Here is the guts of the original patch as should be relevant to Squid-3.5 (or 3.4).

Re: [MERGE] Squid Patch (revision 10487)

2014-05-12 Thread Michael Pye
On 2014-05-11 18:40, Amos Jeffries wrote: Not as yet. Henrik pointed out a problem that needed testing: http://www.squid-cache.org/mail-archive/squid-dev/201005/0156.html I dont think we send only-if-cached any longer. Can you confirm that, or answer Henriks question? Sorry - I can't

Re: [MERGE] Squid Patch (revision 10487)

2014-05-12 Thread Amos Jeffries
On 13/05/2014 2:25 a.m., Michael Pye wrote: On 2014-05-11 18:40, Amos Jeffries wrote: Not as yet. Henrik pointed out a problem that needed testing: http://www.squid-cache.org/mail-archive/squid-dev/201005/0156.html I dont think we send only-if-cached any longer. Can you confirm that, or

Re: [MERGE] Squid Patch (revision 10487)

2014-05-12 Thread Michael Pye
On 2014-05-12 16:52, Amos Jeffries wrote: Here is the guts of the original patch as should be relevant to Squid-3.5 (or 3.4). http://master.squid-cache.org/~amosjeffries/patches/Pye_s35.patch Many thanks Amos, I've just tried this and it does indeed query sibling for stale content as we want.

Re: [MERGE] Squid Patch (revision 10487)

2014-05-11 Thread Amos Jeffries
On 12/05/2014 4:39 a.m., Michael Pye wrote: On 24/05/2010 19:17, senad.cimic wrote: On 05/23/2010 09:52 PM, Mark Nottingham wrote: How about: When Squid has a stale cached response available, it will not query siblings, by default. When this setting is on Squid will do so, as long as the

Re: [MERGE] Squid Patch (revision 10487)

2010-05-26 Thread Amos Jeffries
senad.ci...@thomsonreuters.com wrote: Modified patch file is attached. I committed those documentation changes as well. -Senad +1. Looks okay now. Amos -- Please be using Current Stable Squid 2.7.STABLE9 or 3.1.3

RE: [MERGE] Squid Patch (revision 10487)

2010-05-24 Thread senad.cimic
: [MERGE] Squid Patch (revision 10487) On 05/23/2010 09:52 PM, Mark Nottingham wrote: How about: When Squid has a stale cached response available, it will not query siblings, by default. When this setting is on Squid will do so, as long as the cache_peer line for the sibling does not have

RE: [MERGE] Squid Patch (revision 10487)

2010-05-24 Thread senad.cimic
-cache.org Subject: Re: [MERGE] Squid Patch (revision 10487) On 05/23/2010 09:52 PM, Mark Nottingham wrote: How about: When Squid has a stale cached response available, it will not query siblings, by default. When this setting is on Squid will do so, as long as the cache_peer line for the sibling

Re: [MERGE] Squid Patch (revision 10487)

2010-05-23 Thread Alex Rousskov
On 05/23/2010 09:52 PM, Mark Nottingham wrote: How about: When Squid has a stale cached response available, it will not query siblings, by default. When this setting is on Squid will do so, as long as the cache_peer line for the sibling does not have the 'allow-miss' option configured. ?

Re: [MERGE] Squid Patch (revision 10487)

2010-05-22 Thread Alex Rousskov
On 05/19/2010 08:00 PM, Mark Nottingham wrote: Minor suggestions for the documentation: +NAME: access_sibling_when_stale +COMMENT: on|off +TYPE: onoff +DEFAULT: off +LOC: Config.onoff.access_sibling_for_stale_resource +DOC_START + By default, Squid will not contact siblings when it

RE: [MERGE] Squid Patch (revision 10487)

2010-05-19 Thread Henrik Nordström
ons 2010-05-19 klockan 10:03 -0500 skrev senad.ci...@thomsonreuters.com: Not sure what went wrong, but since changes in each of the 3 files are minimal I included differences as attachments (new version for each file is on top, old version is on bottom): Probably got converted from UNIX to DOS

Re: [MERGE] Squid Patch (revision 10487)

2010-05-19 Thread Henrik Nordström
tis 2010-05-18 klockan 16:25 -0500 skrev senad.ci...@thomsonreuters.com: Attached file is generated patch for the issue where squid does not contact its siblings for the stale resources. New directive has been added to make this behavior optional. Corrected patch attached showing only your

RE: [MERGE] Squid Patch (revision 10487)

2010-05-19 Thread Amos Jeffries
sometimes. Amos Thanks in advance, Senad -Original Message- From: Amos Jeffries [mailto:squ...@treenet.co.nz] Sent: Tuesday, May 18, 2010 6:55 PM To: squid-dev@squid-cache.org Subject: Re: [MERGE] Squid Patch (revision 10487) On Tue, 18 May 2010 16:25:31 -0500, senad.ci

Re: [MERGE] Squid Patch (revision 10487)

2010-05-19 Thread Henrik Nordström
tor 2010-05-20 klockan 12:00 +1000 skrev Mark Nottingham: H, is setting the default to on a bad thing? Probably not, as the code takes care of allow-miss. related to this the behavior when the sibling rejects the request need to be verified. This change will make only-if-cached rejections in

Re: [MERGE] Squid Patch (revision 10487)

2010-05-18 Thread Amos Jeffries
On Tue, 18 May 2010 16:25:31 -0500, senad.ci...@thomsonreuters.com wrote: Attached file is generated patch for the issue where squid does not contact its siblings for the stale resources. New directive has been added to make this behavior optional. Let me know if any issues. Something has