aboutsummaryrefslogtreecommitdiffstats
path: root/src/gun_http2.erl
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2020-08-20 16:06:59 +0200
committerLoïc Hoguin <[email protected]>2020-09-21 15:51:57 +0200
commit2c8db0879109dd90443d7b276e5ca2daf83920bc (patch)
treefe444ef7e4def97473a5c723bff750c98dce0964 /src/gun_http2.erl
parente1de84585490e85166926416e4eb5cea95e0e604 (diff)
downloadgun-2c8db0879109dd90443d7b276e5ca2daf83920bc.tar.gz
gun-2c8db0879109dd90443d7b276e5ca2daf83920bc.tar.bz2
gun-2c8db0879109dd90443d7b276e5ca2daf83920bc.zip
Rename the 3-arity gun_socks_up to gun_tunnel_up
Diffstat (limited to 'src/gun_http2.erl')
-rw-r--r--src/gun_http2.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gun_http2.erl b/src/gun_http2.erl
index da6747b..5b8d229 100644
--- a/src/gun_http2.erl
+++ b/src/gun_http2.erl
@@ -366,7 +366,7 @@ tunnel_commands([{switch_protocol, Protocol0, ReplyTo}|Tail], Stream=#stream{ref
%% @todo We need to allow other protocol opts in http2_opts too.
{Protocol1, maps:get(Protocol1:opts_name(), Opts, #{})}
end,
- %% When we switch_protocol from socks we must send a gun_socks_up message.
+ %% When we switch_protocol from socks we must send a gun_tunnel_up message.
_ = case CurrentProtocol of
gun_socks -> ReplyTo ! {gun_tunnel_up, self(), stream_ref(State, StreamRef), Protocol:name()};
_ -> ok