diff options
Diffstat (limited to 'test/rfc7230_SUITE.erl')
-rw-r--r-- | test/rfc7230_SUITE.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/rfc7230_SUITE.erl b/test/rfc7230_SUITE.erl index d6afb2c..8505d3f 100644 --- a/test/rfc7230_SUITE.erl +++ b/test/rfc7230_SUITE.erl @@ -37,7 +37,7 @@ host_default_port_https(_) -> host_ipv6(_) -> doc("When connecting to a server using an IPv6 address the host " "header must wrap the address with brackets. (RFC7230 5.4, RFC3986 3.2.2)"), - {ok, OriginPid, OriginPort} = init_origin(tcp, http), + {ok, OriginPid, OriginPort} = init_origin(tcp6, http), {ok, ConnPid} = gun:open({0,0,0,0,0,0,0,1}, OriginPort, #{transport => tcp}), {ok, http} = gun:await_up(ConnPid), _ = gun:get(ConnPid, "/"), |