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

From: Adrian Chadd <adrian@dont-contact.us>
Date: Tue, 8 Jan 2008 10:48:00 +0900

On Mon, Jan 07, 2008, Tsantilas Christos wrote:

> And after some time:
> - read/write handlers called with COMM_ERR_CLOSING
> - comm_close handlers called
> - The fd closed and fdc_table[fd] initialized.
>
> If the fd closed before the comm_close handlers executed bad thinks
> happens.....

Right. So your solution isn't a bad one, but it just goes to show
that we shouldn't be doing this in the first place. :)

> The hope is that we are gaining in stability and less complex code
> in upper levels.

Have you guys benchmarked this recently?

Adrian
Received on Mon Jan 07 2008 - 18:39:02 MST

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