[ANN] Gun 2.0.0-rc.1

Loïc Hoguin essen@REDACTED
Fri Nov 20 11:26:34 CET 2020


Gun 2.0 has reached release candidate status! That means the interface 
should be stable now. All that's left before 2.0 is fixing any bugs that 
may arise and other non-intrusive improvements.

Gun is an asynchronous, always-connected client with support for 
HTTP/1.1, HTTP/2, Websocket and more.

New Gun features include:

  * State of the art tunnel support (SOCKS5, HTTP/1.1 CONNECT, HTTP/2 
CONNECT, with support for multiple layers of any combination of proxies)

  * Gun can be used to send/receive raw data, so it can be used in a way 
similar to a TCP socket, except one with support for proxies and 
HTTP/1.1 Upgrade

  * Websocket over HTTP/2

  * A built-in cookie store

  * Graceful shutdown

  * Flow control for data messages

  * Event handlers (for metrics and instrumentation in general)

Please see the full announcement for more details:


There is a video demonstrating the tunnel support in the link above. 
Please watch it! I will make more demos like this in the future so any 
feedback is welcome.

The announcement also mentions plans for HTTP/3 and QUIC. This will be 
my next big project, but how much time I spend on this will depend on 
funding. Main goal is getting HTTP/3 to work, regardless of the 
performance of the underlying QUIC stack. Any help with funding is 


Loïc Hoguin

More information about the erlang-questions mailing list