diff options
-rw-r--r-- | test/gun_SUITE.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/gun_SUITE.erl b/test/gun_SUITE.erl index 7d0ace8..3d3734b 100644 --- a/test/gun_SUITE.erl +++ b/test/gun_SUITE.erl @@ -315,7 +315,7 @@ reply_to(_) -> do_reply_to(http2). do_reply_to(Protocol) -> - {ok, ListenSocket} = gen_tcp:listen(0, [binary, {active, false}]), + {ok, ListenSocket} = gen_tcp:listen(0, [binary, {active, false}, {nodelay, true}]), {ok, {_, Port}} = inet:sockname(ListenSocket), Self = self(), {ok, Pid} = gun:open("localhost", Port, #{protocols => [Protocol]}), |