diff options
author | Loïc Hoguin <[email protected]> | 2020-11-12 12:28:46 +0100 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2020-11-12 12:28:46 +0100 |
commit | 1ebad8acf803eb797a6c61f6522ebc3b79f104a1 (patch) | |
tree | 886ad0a176f067d90c6f2a85bb6e478ab5034d43 /src/gun_tunnel.erl | |
parent | ed8979a130247492269de262ac599df4752b786d (diff) | |
download | gun-1ebad8acf803eb797a6c61f6522ebc3b79f104a1.tar.gz gun-1ebad8acf803eb797a6c61f6522ebc3b79f104a1.tar.bz2 gun-1ebad8acf803eb797a6c61f6522ebc3b79f104a1.zip |
Review and remove many todos
HTTP/1.1 Upgrade to HTTP/2 will not be implemented. There are
discussions for this functionality to be removed from the
HTTP/2 spec.
HTTP/1.1 Upgrade to TLS will most likely not be implemented.
Diffstat (limited to 'src/gun_tunnel.erl')
-rw-r--r-- | src/gun_tunnel.erl | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gun_tunnel.erl b/src/gun_tunnel.erl index 2594d24..72f97f7 100644 --- a/src/gun_tunnel.erl +++ b/src/gun_tunnel.erl @@ -121,8 +121,6 @@ init(ReplyTo, OriginSocket, OriginTransport, Opts=#{stream_ref := StreamRef, tun }, EvHandlerState0), %% When the tunnel protocol is HTTP/1.1 or SOCKS %% the gun_tunnel_up message was already sent. - %% - %% @todo There's probably a better way. _ = case TunnelProtocol of http -> ok; socks -> ok; |