diff options
author | Loïc Hoguin <[email protected]> | 2023-09-22 16:28:00 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2024-03-26 14:10:03 +0100 |
commit | 6dd58a4ff9deedeeb6029827b936c2e81866cd54 (patch) | |
tree | b5ab3d340ba46595ceb29a1767d2dc089bd346e5 /src/gun_protocols.erl | |
parent | e2ff7181186ca1e53c1d9386aed295e7b7239f09 (diff) | |
download | gun-6dd58a4ff9deedeeb6029827b936c2e81866cd54.tar.gz gun-6dd58a4ff9deedeeb6029827b936c2e81866cd54.tar.bz2 gun-6dd58a4ff9deedeeb6029827b936c2e81866cd54.zip |
Since quicer, which provides the QUIC implementation,
is a NIF, Gun cannot depend directly on it. In order
to enable QUIC and HTTP/3, users have to set the
GUN_QUICER environment variable:
export GUN_QUICER=1
Gun is now tested using GitHub Actions. As a result
OTP-24+ is now required. In addition, the number
of OTP releases tested has been reduced; only the
latest of each major version is now tested.
This also updates Erlang.mk.
Diffstat (limited to 'src/gun_protocols.erl')
-rw-r--r-- | src/gun_protocols.erl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gun_protocols.erl b/src/gun_protocols.erl index 4232e2f..e7e0a8d 100644 --- a/src/gun_protocols.erl +++ b/src/gun_protocols.erl @@ -34,6 +34,8 @@ handler(http) -> gun_http; handler({http, _}) -> gun_http; handler(http2) -> gun_http2; handler({http2, _}) -> gun_http2; +handler(http3) -> gun_http3; +handler({http3, _}) -> gun_http3; handler(raw) -> gun_raw; handler({raw, _}) -> gun_raw; handler(socks) -> gun_socks; |