[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Terminating the client connection

I've committed a number of changes to abandon operations associated
with a closing connection.   When connection_closing() is updating
the state to closing, it:

	clears the connection from the read set.
	sets abandon flag on all active operations.
	removes all pending operations.
	wakes up any write blocked operation

send result routines now bails if state is closing.
do_abandon now removes the abandon operation if it's pending.

I will soon also commit changes to slap_daemon() to implement
"normal" (SIGINT) vs "quick" (SIGTERM) shutdown.