[MERGE] Cleanup, the reconfigure part

From: Alex Rousskov <rousskov_at_measurement-factory.com>
Date: Thu, 11 Sep 2008 00:43:39 -0600

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.

Received on Thu Sep 11 2008 - 06:44:26 MDT

This archive was generated by hypermail 2.2.0 : Fri Sep 12 2008 - 12:00:06 MDT