httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yann Ylavic <ylavic....@gmail.com>
Subject Re: Upgrade Summary
Date Fri, 11 Dec 2015 01:37:54 GMT
On Fri, Dec 11, 2015 at 2:22 AM, Yann Ylavic <ylavic.dev@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?

Mime
View raw message