From 6dd58a4ff9deedeeb6029827b936c2e81866cd54 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Fri, 22 Sep 2023 16:28:00 +0200 Subject: Initial HTTP/3 implementation 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. --- src/gun_protocols.erl | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/gun_protocols.erl') 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; -- cgit v1.2.3