4 ms·
FWIW there is an old spec draft for WebSockets over HTTP/2: https://tools.ietf.org/html/draft-hirano-httpbis-websocket-over-http2-01 https://tools.ietf.org/html
by hdhzy 10y ago
FWIW there is an old spec draft for WebSockets over HTTP/2: https://tools.ietf.org/html/draft-hirano-httpbis-websocket-over-http2-01 https://tools.ietf.org/html/draft-hirano-httpbis-websocket-o...
- niftich 10y agoSee the related curl blog post 'No websockets over HTTP/2' [1], which talks about that spec and how it didn't generate enough interest from concerned parties, and goes into some alternatives and perspectives on the matter. [1] https://daniel.haxx.se/blog/2016/06/15/no-websockets-over-http2/ https://daniel.haxx.se/blog/2016/06/15/no-websockets-over-ht...
- hdhzy 10y agoGood post. > Sticking to HTTP/2 pretty much allows you to go back and use the long-polling tricks of the past before websockets was created. Interesting how things turned out. The old bad way is now a good way. Last time I've checked Google Hangouts also used polling instead of WebSockets.