On Wed, Oct 26, 2016 at 10:40 PM, Amos Jeffries <squ...@treenet.co.nz> 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 'RegexData' >/tmp/test_plan.txt" when >> applied to a default configuration file with these additions: >> acl t1 dstdom_regex pattern1 pattern2 >> acl t2 dstdom_regex -i pattern3 pattern4 >> acl t3 dstdom_regex +i pattern5 pattern6 >> > > Audit: > > * can you please take advantage of the change to get rid of the > "compileOptimisedREs: compileOptimisedREs:" in the logs
Cleaned logs up. > * please use emplace_back instead of sl.push_back(SBuf(clean)); > - line ~234 Ok. Fixed in all instances. Updated patch attached. If noone objects before then, I'll merge in ~8hrs. Francesco Chemolli
wordlist-sbuflist-aclregexdata.patch
Description: Binary data
_______________________________________________ squid-dev mailing list squid-dev@lists.squid-cache.org http://lists.squid-cache.org/listinfo/squid-dev