466517a0e8
* Moved implementation of UpgradeTo from HTTP2ServerConnection to HTTP2Connection, since now also the client connection can be upgraded to. * Split HTTP2Session.newStream(), since now the client must be able to create the implicit stream 1 corresponding to the HTTP/1.1 upgrade request, so that the HTTP/2 response after the upgrade finds the stream. * The HTTP/1.1 upgrade mechanism has been generalized. Before it was based on HttpConnectionUpgrader and a hook in HttpChannelOverHTTP.exchangeTerminating(). Now it is based on UpgradeProtocolHandler that when sees a 101 response it will trigger the upgrade mechanism. * Introduced ConnectionPool.accept(Connection) to transfer a connection from the HTTP/1.1 connection pool to the HTTP/2 connection pool after the upgrade. Signed-off-by: Simone Bordet <simone.bordet@gmail.com> |
||
---|---|---|
.. | ||
src | ||
pom.xml |