Re: [MERGE] Cleanup, the reconfigure part

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Fri, 12 Sep 2008 00:20:12 +1200

Alex Rousskov wrote:
> Cleaned up reconfiguration sequence.
>
> mainReconfigure() used to close and then open various sockets. Since
> comm_close is now asynchronous, one cannot close and open in the same
> function. Split mainReconfigure into mainReconfigureStart (that starts
> the closing process for all relevant sockets) and mainReconfigureFinish
> that opens the new sockets.
>
> serverConnectionsClose is only used by main.cc and, hence, can be
> static.
>
> Polished comments and added an XXX comment on why SquidShutdown is
> broken.
>
> Also removed commCheckHalfClosed event scheduling. A separate cleanup
> patch removes the associated half-closed monitoring loop.
>
>
bb:approve

Amos

-- 
Please use Squid 2.7.STABLE4 or 3.0.STABLE8
Received on Thu Sep 11 2008 - 12:20:25 MDT

This archive was generated by hypermail 2.2.0 : Thu Sep 11 2008 - 12:00:12 MDT