aboutsummaryrefslogtreecommitdiffstats
path: root/test/http_SUITE.erl
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2013-06-29 21:54:18 +0200
committerLoïc Hoguin <[email protected]>2013-06-29 21:54:18 +0200
commit39caf34fe3bc0a3c89ac8a06428542555f8e13c1 (patch)
treed43488b32b11ea41716f69850b67a70723c21746 /test/http_SUITE.erl
parentcc4c046ec051c8ddd7b78bc9f13bc7357d1d106e (diff)
parent240533939c9ecd8f07c9f5a6619182bb8e772a86 (diff)
downloadcowboy-39caf34fe3bc0a3c89ac8a06428542555f8e13c1.tar.gz
cowboy-39caf34fe3bc0a3c89ac8a06428542555f8e13c1.tar.bz2
cowboy-39caf34fe3bc0a3c89ac8a06428542555f8e13c1.zip
Merge branch 'fix/http-tests-get-mtu' of git://github.com/soundrop/cowboy
Diffstat (limited to 'test/http_SUITE.erl')
-rw-r--r--test/http_SUITE.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/http_SUITE.erl b/test/http_SUITE.erl
index bdff0d0..7483599 100644
--- a/test/http_SUITE.erl
+++ b/test/http_SUITE.erl
@@ -520,7 +520,7 @@ chunked_response(Config) ->
%% Check if sending requests whose size is around the MTU breaks something.
echo_body(Config) ->
Client = ?config(client, Config),
- {ok, [{mtu, MTU}]} = inet:ifget("lo", [mtu]),
+ MTU = ct_helper:get_loopback_mtu(),
_ = [begin
Body = list_to_binary(lists:duplicate(Size, $a)),
{ok, Client2} = cowboy_client:request(<<"POST">>,