clj-commons / aleph

Asynchronous streaming communication for Clojure - web server, web client, and raw TCP/UDP
http://aleph.io
MIT License
2.54k stars 241 forks source link

Client HTTP/2 support #681

Closed KingMob closed 1 year ago

KingMob commented 1 year ago

WIP. Architecture very much not set in stone, this is somewhat exploratory.

Note that under the hood, Netty does things differently for HTTP/2.

KingMob commented 1 year ago

Closes #251

KingMob commented 1 year ago

However, I truly think we are lacking some tests, maybe those can be introduced once the server will be HTTP2.0 compatible?

Yeah, my goal is to get most of the existing tests working for both HTTP/1 and /2 once the server side is up and running. There should probably be some HTTP2-specific tests, as well, especially around TLS and connection set up.