aboutsummaryrefslogtreecommitdiffstats
path: root/test/socks_SUITE.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 /test/socks_SUITE.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 'test/socks_SUITE.erl')
-rw-r--r--test/socks_SUITE.erl6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/socks_SUITE.erl b/test/socks_SUITE.erl
index 5e15eac..436ea3f 100644
--- a/test/socks_SUITE.erl
+++ b/test/socks_SUITE.erl
@@ -222,7 +222,7 @@ do_socks5(OriginScheme, OriginTransport, OriginProtocol, ProxyTransport, SocksAu
protocols => [OriginProtocol]
}}]
}),
- %% We receive a gun_up and a gun_socks_up.
+ %% We receive a gun_up and a gun_tunnel_up.
{ok, socks} = gun:await_up(ConnPid),
{ok, OriginProtocol} = gun:await_up(ConnPid),
%% The proxy received two packets.
@@ -300,7 +300,7 @@ do_socks5_through_multiple_proxies(OriginScheme, OriginTransport, ProxyTransport
}}]
}}]
}),
- %% We receive a gun_up and two gun_socks_up.
+ %% We receive a gun_up and two gun_tunnel_up.
{ok, socks} = gun:await_up(ConnPid),
{ok, socks} = gun:await_up(ConnPid),
{ok, http} = gun:await_up(ConnPid),
@@ -382,7 +382,7 @@ do_socks5_through_connect_proxy(OriginScheme, OriginTransport, ProxyTransport) -
}),
{request, <<"CONNECT">>, Authority1, 'HTTP/1.1', _} = receive_from(Proxy1Pid),
{response, fin, 200, _} = gun:await(ConnPid, StreamRef),
- %% We receive a gun_socks_up afterwards. This is the origin HTTP server.
+ %% We receive a gun_tunnel_up afterwards. This is the origin HTTP server.
{ok, http} = gun:await_up(ConnPid),
%% The second proxy receives a Socks5 auth/connect request.
{auth_methods, 1, [none]} = receive_from(Proxy2Pid),