ninenines / gun

HTTP/1.1, HTTP/2, Websocket client (and more) for Erlang/OTP.
ISC License
891 stars 232 forks source link

Implement HTTP/2 CONNECT #248

Open essen opened 3 years ago

essen commented 3 years ago

The branch http2-connect has been merged. Some points remain for improved support though.

The code could also really use a good cleanup and todos to be solved.

essen commented 3 years ago

HTTP/2 timeouts are now properly propagated.

essen commented 3 years ago

Events are now for the most part triggered.

essen commented 3 years ago

I've reworked cookie handling for tunnels. The set_cookie command was removed and instead the cookie store is passed around where necessary. We no longer need a commands queue and whatnot.

essen commented 3 years ago

I've added flow control as a point to be tested and fixed. It also concerns Websocket over HTTP/2.

essen commented 3 years ago

https://github.com/ninenines/gun/blob/master/doc/src/guide/internals_tls_over_tls.asciidoc Feedback welcome.

essen commented 3 years ago

Added "There seems to be no support for automatic transport detection based on the port number (like gun:open)."