#http2
Posts
-
Digging into Tomcat's Source 15: HTTP/2 and WebSocket — Protocols Reached by Upgrading
We follow, through Tomcat's source, how a connection that started as HTTP/1.1 turns into HTTP/2 or WebSocket. UpgradeProtocol and UpgradeToken, the upgrade handling in Http11Processor, Http2UpgradeHandler carrying many streams on one connection, and WebSocket's WsFilter and WsHttpUpgradeHandler, which come in through a single filter — all checked by hand with h2c requests and the JDK WebSocket client.