This adds a finish_connection hook as discussed with Madhu, and uses it in mod_ssl to ensure that the SSL close_notify alert is sent before the connection is closed. Any comments?
Would an EOS sent to the output connection-level filters before a close is issued be sufficient? Could we change ap_flush_conn to also pass down an EOS after the flush? Or, if an EOS can be sent otherwise (I forget if it is), could we just create a generic EOC bucket to pass in ap_flush_conn?
That should serve the same purpose, I think, without the hook. -- justin
