mirror of
https://github.com/ninenines/cowboy.git
synced 2025-07-16 13:10:24 +00:00
Merge branch 'fix/http-tests-get-mtu' of git://github.com/soundrop/cowboy
This commit is contained in:
commit
39caf34fe3
1 changed files with 1 additions and 1 deletions
|
@ -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">>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue