Re: [squid-dev] [CODE] iterating over enums

2015-08-05 Thread Alex Rousskov
On 08/05/2015 07:58 PM, Kinkie wrote: > What I understand from the changes you propose is that: > 1. instead of having explicit begin/end markers passed as template > arguments you propose to have a convention on begin/end markers. There are several different things/layers mixed up here: * If w

Re: [squid-dev] [CODE] iterating over enums

2015-08-05 Thread Kinkie
On Thu, Aug 6, 2015 at 12:38 AM, Alex Rousskov < rouss...@measurement-factory.com> wrote: > On 08/05/2015 09:33 AM, Kinkie wrote: > > > I crossed the topic of enumerating over iterations. > > You mean iterating enum[eration]s :-) > I have my thinking cap backwards ;) > > We kind-of follow (C-is

Re: [squid-dev] [CODE] iterating over enums

2015-08-05 Thread Alex Rousskov
On 08/05/2015 09:33 AM, Kinkie wrote: > I crossed the topic of enumerating over iterations. You mean iterating enum[eration]s :-) > We kind-of follow (C-ish)best > practices on that, but that got me wondering if we can do better. > I came up with a trinket which on its face looks quite elegant

[squid-dev] [PATCH] PackableStream for cachemgr reports

2015-08-05 Thread Amos Jeffries
Adds a PackableStream class which provides std::ostream semantics for writing data to a cachemgr report. FYI: This follows on from discussiosn back in 2011 regarding how to restructure the cachemgr internal data storage for relay between workers vs the report output formatting. Current trunk 'imp

[squid-dev] [CODE] iterating over enums

2015-08-05 Thread Kinkie
Hi guys, while working on coverity-fixes (aka HttpHeader refactor) I crossed the topic of enumerating over iterations. We kind-of follow (C-ish)best practices on that, but that got me wondering if we can do better. I came up with a trinket which on its face looks quite elegant to me, and I'd lik

[squid-dev] Jenkins build is back to normal : trunk-polygraph #798

2015-08-05 Thread noc
See ___ squid-dev mailing list squid-dev@lists.squid-cache.org http://lists.squid-cache.org/listinfo/squid-dev

Re: [squid-dev] [PATCH] HttpHeader migration (coverity-fixes branch)

2015-08-05 Thread Kinkie
On Wed, Aug 5, 2015 at 4:08 AM, Amos Jeffries wrote: > On 5/08/2015 9:08 a.m., Kinkie wrote: > > On Tue, Aug 4, 2015 at 2:58 PM, Amos Jeffries wrote: > > > >> On 4/08/2015 11:22 p.m., Kinkie wrote: > >>> Hi all, > >>> the attached patch is a build- and run-tested merge proposal for next > >>> r

Re: [squid-dev] [PATCH] Simpler and more robust request line parser

2015-08-05 Thread Amos Jeffries
On 24/07/2015 11:13 a.m., Alex Rousskov wrote: > On 07/23/2015 08:16 AM, Amos Jeffries wrote: >> Please note: most of my comments in this long email are informational. >> Things which need to be taken into consideration when touching the parser. > > Noted. I will do my best to treat them as such.