aboutsummaryrefslogtreecommitdiffstats
path: root/src/gun_tunnel.erl
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2020-11-12 12:28:46 +0100
committerLoïc Hoguin <[email protected]>2020-11-12 12:28:46 +0100
commit1ebad8acf803eb797a6c61f6522ebc3b79f104a1 (patch)
tree886ad0a176f067d90c6f2a85bb6e478ab5034d43 /src/gun_tunnel.erl
parented8979a130247492269de262ac599df4752b786d (diff)
downloadgun-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.erl2
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;