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). http://master.squid-cache.org/~amos

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). http://master.squid-cache.org/~amos

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

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 d

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-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

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 confirm

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, a

Re: [MERGE] Squid Patch (revision 10487)

2014-05-11 Thread Michael Pye
On 24/05/2010 19:17, senad.ci...@thomsonreuters.com 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 cache_peer line for the sibling

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
squid-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 cac

RE: [MERGE] Squid Patch (revision 10487)

2010-05-24 Thread senad.cimic
t: 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 sib

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-23 Thread Mark Nottingham
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. ? On 23/05/2010, at 9:42 AM, Alex Rousskov wrote: > On

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 w

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 s

Re: [MERGE] Squid Patch (revision 10487)

2010-05-19 Thread Mark Nottingham
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 has + a stale cached response available. If on,

RE: [MERGE] Squid Patch (revision 10487)

2010-05-19 Thread Amos Jeffries
characters by default 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 104

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 c

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 D

Re: [MERGE] Squid Patch (revision 10487)

2010-05-18 Thread Amos Jeffries
On Tue, 18 May 2010 16:25:31 -0500, 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 gone wrong in the patch cre