Re: [squid-dev] [RFC] support Cache-Control:immutable

2016-10-26 Thread Alex Rousskov
On 10/26/2016 05:45 PM, Amos Jeffries wrote: > This new cache control extension being proposed by Mozilla looks like it > will be quite useful to us as well as browsers. > > > > I would like to jump in this early and make Squid-4 be one of

Re: [squid-dev] [PATCH] Refactor wordlist to SBufList in acl/RegexData

2016-10-26 Thread Alex Rousskov
On 10/26/2016 05:18 PM, Kinkie wrote: >>> the attached patch refactors the use of wordlist to SBufList in >>> acl/RegexData.cc > -while (wl != NULL) { > +for (SBuf i : sl) { If possible, please avoid creating new SBufs by declaring "i" to be a constant reference to SBuf. It is probably

[squid-dev] [RFC] support Cache-Control:immutable

2016-10-26 Thread Amos Jeffries
This new cache control extension being proposed by Mozilla looks like it will be quite useful to us as well as browsers. I would like to jump in this early and make Squid-4 be one of the first implementations once the middleware caching

Re: [squid-dev] [PATCH] Refactor wordlist to SBufList in acl/RegexData

2016-10-26 Thread Kinkie
On Wed, Oct 26, 2016 at 10:40 PM, Amos Jeffries wrote: > On 27/10/2016 9:16 a.m., Kinkie wrote: >> Hi all, >>the attached patch refactors the use of wordlist to SBufList in >> acl/RegexData.cc; the "test.txt" attachment shows the output of >> "./src/squid -X 2>&1 | grep

Re: [squid-dev] [PATCH] ssl::server_name ACL badly broken since inception (trunk r14008).

2016-10-26 Thread Amos Jeffries
On 21/10/2016 5:18 a.m., Christos Tsantilas wrote: > > The original server_name code mishandled all SNI checks and some rare > host checks: > > * The SNI-derived value was pointing to an already freed memory storage. > * Missing host-derived values were not detected (host() is never nil). > *

Re: [squid-dev] [PATCH] Refactor wordlist to SBufList in acl/RegexData

2016-10-26 Thread Amos Jeffries
On 27/10/2016 9:16 a.m., Kinkie wrote: > Hi all, >the attached patch refactors the use of wordlist to SBufList in > acl/RegexData.cc; the "test.txt" attachment shows the output of > "./src/squid -X 2>&1 | grep 'RegexData' >/tmp/test_plan.txt" when > applied to a default configuration file with

[squid-dev] [PATCH] Refactor wordlist to SBufList in acl/RegexData

2016-10-26 Thread Kinkie
Hi all, the attached patch refactors the use of wordlist to SBufList in acl/RegexData.cc; the "test.txt" attachment shows the output of "./src/squid -X 2>&1 | grep 'RegexData' >/tmp/test_plan.txt" when applied to a default configuration file with these additions: acl t1 dstdom_regex pattern1

[squid-dev] Build failed in Jenkins: trunk-full-matrix » clang,d-ubuntu-wily #264

2016-10-26 Thread noc
http://build.squid-cache.org/job/trunk-full-matrix/compiler=clang,label=d-ubuntu-wily/264/-- [...truncated 6788 lines...] make[5]: Leaving directory

[squid-dev] Build failed in Jenkins: trunk-matrix » gcc,d-debian-wheezy #813

2016-10-26 Thread noc
http://build.squid-cache.org/job/trunk-matrix/compiler=gcc,label=d-debian-wheezy/813/-- [...truncated 4601 lines...] libtool: link: (cd .libs/libfs.lax/libaufs.a && /usr/bin/ar x