News for hackers. Stuff that matters.
Re:Why does gRPC insist on trailers? by sveiss on Sunday August 07, 2022 @08:25PM (#32381270)
That’s for HTTP/1.1, where WebSockets are really a completely different protocol which “hijacks” the underlying TCP or TCP+TLS stream from HTTP via the Upgrade request.

HTTP/2 has its own concept of streams, so WebSockets can run over a single HTTP/2 stream, and the linked RFC describes extending the CONNECT method to take over a single stream.

There are no comments on this comment yet.