httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Eissing <stefan.eiss...@greenbytes.de>
Subject Re: httpd Protocols proposal
Date Wed, 22 Jul 2015 19:37:21 GMT

> Am 22.07.2015 um 19:00 schrieb Yann Ylavic <ylavic.dev@gmail.com>:
> 
> On Wed, Jul 22, 2015 at 6:42 PM, Stefan Eissing
> <stefan.eissing@greenbytes.de> wrote:
>> So, a RUN_ALL that collects willing protocols pre_select, a ALL for post_select
> 
> post_select is to announce the selected one, right?
> That looks good to me.

Ok, I'll start something tomorrow. 

>> and a FIRST for switch?
> 
> Isn't the core doing the switch itself, after post_select?

Two reasons for this:
1. the post_select should run for all before anything happens
2. switch on Upgrade headers must be handled immediately by a hook as the server has just
send the 101 and the switch must write the response in the new protocol.
Mime
View raw message