4 ms·
> K8s also allows upgrading apiserver connections to full, live, end-to-end HTTP/2 websockets. There's no such thing as an HTTP/2 websocket.[0] Websockets are
by coder543 8y ago
> K8s also allows upgrading apiserver connections to full, live, end-to-end HTTP/2 websockets.
There's no such thing as an HTTP/2 websocket.[0] Websockets are a purely HTTP/1.1 concept, and they're only HTTP/1.1 until the moment that the `Upgrade` happens, at which point the TCP socket gets hijacked.
I'm confused as to why HTTP/2 is mentioned. I guess they just mean a normal websocket?
[0]: https://medium.com/axiomzenteam/websockets-http-2-and-sse-5c24ae4d9d96 https://medium.com/axiomzenteam/websockets-http-2-and-sse-5c...
- aberoham 8y agoThx, an error on my part. Will fix ASAP