diff options
author | Loïc Hoguin <[email protected]> | 2019-08-07 10:18:04 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2019-08-07 10:18:04 +0200 |
commit | 491ddf58c0e14824a741852fdc522b390b306ae2 (patch) | |
tree | eb123281b116ecf5ba88d231a81effd3c1a36f54 | |
parent | fe2f744675e7169d49b2d3c84dce60cbaa16b334 (diff) | |
download | gun-491ddf58c0e14824a741852fdc522b390b306ae2.tar.gz gun-491ddf58c0e14824a741852fdc522b390b306ae2.tar.bz2 gun-491ddf58c0e14824a741852fdc522b390b306ae2.zip |
Enable nodelay to a test failing intermittently
-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]}), |