On Fri, Dec 11, 2015 at 2:22 AM, Yann Ylavic <ylavic....@gmail.com> wrote:
>
> Here I would use ap_add_output_filter(switch_protocol_filter, r); with
> switch_protocol_filter() which would flush out the 101 response (or
> not) based on r->need_upgrade and r->current_protocol, before any
> Protocols data.

This filter would be AP_FILTER_PROTOCOL+x or (low)
AP_FILTER_CONNECTION (before mod_ssl).

>
> Wouldn't that work for every case we discussed?

I did not mentioned h2c, but it could run in post_read_request right?

Reply via email to