Open jfallows opened 2 years ago
Hi @jfallows. I would like to take a stab at this. Please assign it to me.
I'm somewhat familiar with websockets over http/1.1 and the http/2 protocol at a high level. My plan for now is to read the main http/2 RFCs and the websocket RFC you referenced above. Will also need some help to understand the inner workings of zilla and set up my development env.
websocket
predateshttp/2
and has historically relied onhttp/1.1
upgrade
to unlock full-duplex bidirectional communication over a separate connection.RFC 8441: Bootstrapping WebSockets with HTTP/2
adds support forwebsockets
over the sharedhttp/2
transport, without creating a separate connection.Implementing support for this involves awareness at the
ws
binding of the underlyinghttp
version, such ashttp/1.1
orh2
, as the requiredwebsocket
handshake headers differ betweenhttp
versions.We likely need to enhance
http
binding to exposeversion
in application streamHttpBeginEx
to letws
binding behave correctly for eitherhttp/1.1
orh2
.Chrome Status Firefox Status