Re: [squid-dev] [PATCH] TidyPointer removal

2016-07-07 Thread Alex Rousskov
On 07/07/2016 01:40 PM, Amos Jeffries wrote: > On 4/07/2016 5:39 a.m., Alex Rousskov wrote: >>> +/// Reset raw pointer - delete last one and save new one. >>> +void reset(T *t) { >>> +deletePointer(); >>> +raw = t; >>> } >> I do not think we can have a reset() method

Re: [squid-dev] Care and feeding of ConnStateData

2016-07-07 Thread Amos Jeffries
On 8/07/2016 7:22 a.m., Alex Rousskov wrote: > On 07/06/2016 10:52 PM, Amos Jeffries wrote: >> On 7/07/2016 10:24 a.m., Alex Rousskov wrote: >>> Q1. What is ConnStateData (and related client_side.* code)? >>> >>> C1. ConnStateData is the code shared among all Servers (BB1). >>> C2.

Re: [squid-dev] [PATCH] TidyPointer removal

2016-07-07 Thread Amos Jeffries
On 4/07/2016 5:39 a.m., Alex Rousskov wrote: > On 06/29/2016 05:45 AM, Amos Jeffries wrote: > >> /** >> + * A pointer that deletes the object it points to when the pointer's owner >> or >> + * context is gone. [...] >> */ > ... >> +explicit LockingPointer(const SelfType ) : raw(nullptr) {

Re: [squid-dev] Care and feeding of ConnStateData

2016-07-07 Thread Alex Rousskov
On 07/06/2016 10:52 PM, Amos Jeffries wrote: > On 7/07/2016 10:24 a.m., Alex Rousskov wrote: >> Q1. What is ConnStateData (and related client_side.* code)? >> >> C1. ConnStateData is the code shared among all Servers (BB1). >> C2. ConnStateData ends where request routing code (BB2) begins. >