>
> > To do so, the server must know the capability when the handshake request
> > arrives.
> The capability of the client is apparent when a request for :scheme =
> "ws[s]" arrives.
The capability of the client is apparent, but the server should know if all
intermediaries support WS over HTTP/2.
An intermediary can transfer :scheme = ws[s] request without understanding
WS over HTTP/2.
Am I missing something?
On Fri, Jul 18, 2014 at 2:08 AM, Martin Thomson <martin.thomson@gmail.com>
wrote:
> On 17 July 2014 10:06, Yutaka Hirano <yhirano@google.com> wrote:
> > So I plan to allow the client to start an opening handshake without
> knowing
> > that the HTTP/2 connection is capable of WS.
> > If it is not capable of WS, the client may retry connecting with the
> native
> > WS.
>
> You can do that; the failure mode is no worse, but you can succeed faster.
>
> > To do so, the server must know the capability when the handshake request
> > arrives.
>
> The capability of the client is apparent when a request for :scheme =
> "ws[s]" arrives.
>