|
@@ -520,7 +520,7 @@ chunked_response(Config) ->
|
|
%% Check if sending requests whose size is around the MTU breaks something.
|
|
%% Check if sending requests whose size is around the MTU breaks something.
|
|
echo_body(Config) ->
|
|
echo_body(Config) ->
|
|
Client = ?config(client, Config),
|
|
Client = ?config(client, Config),
|
|
- {ok, [{mtu, MTU}]} = inet:ifget("lo", [mtu]),
|
|
|
|
|
|
+ MTU = ct_helper:get_loopback_mtu(),
|
|
_ = [begin
|
|
_ = [begin
|
|
Body = list_to_binary(lists:duplicate(Size, $a)),
|
|
Body = list_to_binary(lists:duplicate(Size, $a)),
|
|
{ok, Client2} = cowboy_client:request(<<"POST">>,
|
|
{ok, Client2} = cowboy_client:request(<<"POST">>,
|