While constructing process connection handler employing
bucket-brigade feature of Apache 2, I encountered some
problem.

I am trying to handle protocols other than HTTP and
most of them starts communication from sending server
hello message.
When SSL handshake takes too long, communication fails.

Process flow goes like this

Apache: TCP/IP connection
mod_ssl: SSL handshake starts
Handler: Process handler starts
Handler: Tries to send data to client
         -> send bucket-brigade to output_filters
mod_ssl: SSL handshake done
         -> register input/output_filter

If the handler can detect when the output_filter is ready,
it will be fine, however there seems to be no functions to detect
such events.

Do you know how to detect SSL handshake is complete,
or is there other solution?

Reply via email to