News for hackers. Stuff that matters.
Re:A Guide to HTTP/2 Server Push by hdhzy on Monday April 10, 2017 @03:12PM (#14081627)
FWIW there is an old spec draft for WebSockets over HTTP/2: https://tools.ietf.org/html/draft-hirano-httpbis-websocket-o...
Re:A Guide to HTTP/2 Server Push by niftich on Monday April 10, 2017 @03:49PM (#14081947)
See 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-ht...

Re:A Guide to HTTP/2 Server Push by hdhzy on Monday April 10, 2017 @04:17PM (#14082159)
Good 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.