Re:The silent CVE in the heart of Kubernetes apiserver
by coder543 on Wednesday December 05, 2018 @06:22PM
(#18613784)
> 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?
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-5c...