Re: async-calls squid3/src comm.cc,1.81.4.16,1.81.4.17

From: Tsantilas Christos <chtsanti@dont-contact.us>
Date: Sun, 06 Jan 2008 14:46:45 +0200

Adrian Chadd wrote:
> On Sun, Jan 06, 2008, Tsantilas Christos wrote:
>
>> Adrian Chadd wrote:
>>> .. I read that as "the code is broken and needs to be fixed."
>> I think not so broken because there are solutions or workarounds off the
>> problems.
>> I think the last changes fix the problem (however I want to look more on
>> this to be sure there are not any other problems....).
>
> I like async-calls, and it solves this problem, but I think we need
> to be sure to fix bugs that creep up rather than relying on this to
> try and sort it out for us Bad code is going to be crap to follow
> regardless of whether we get the stack unwound or not.
>

Ok. The AsyncCalls is just a development branch, if something causes
more problems than it solves always can fixed or just dropped.

>
> Ah, so SendComplete is being called via an async call gate after
> the fd has been thrown?
Yes the SendComplete called via async call.
But after my latest patch the fd thrown after all related comm handlers
called.
Received on Sun Jan 06 2008 - 05:46:54 MST

This archive was generated by hypermail pre-2.1.9 : Wed Jan 30 2008 - 12:00:09 MST