[RFC] removing comm half-closed mechanism

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Mon, 14 Oct 2013 01:34:15 +1300

While working on redesign of the ConnStateData functionality I have come
to suspect that the half-closed FD monitoring feature is possibly
defunct now.

In particular ConnStateData now provides stopReceiving()/stopSending()
members to explicitly finish closing the connection at an appropriate
time in the traffic and a set of accessors to monitor the half-closed
nature of connections in a much more deterministic directional way. It
would seem the FD monitoring handler which is set for half-closed might
still be useful, but this can be moved to a ConnStateData handler instead.

Anyone have a reason why we should keep all the half-closed code in
comm.cc ?

Amos
Received on Sun Oct 13 2013 - 12:34:34 MDT

This archive was generated by hypermail 2.2.0 : Wed Oct 16 2013 - 12:00:12 MDT