aboutsummaryrefslogtreecommitdiffstats
path: root/test/sendfile_SUITE.erl
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2013-11-26 14:22:10 +0100
committerLoïc Hoguin <[email protected]>2013-11-26 14:22:10 +0100
commit99242f3342f24f447e487aee6cbf909fcfce9fdb (patch)
tree7174e2ca193efee7a9d8b48959566b44aa56c642 /test/sendfile_SUITE.erl
parent95bb778f57f55e02bd7fe6f86dfbb4f0a94d6ade (diff)
downloadranch-99242f3342f24f447e487aee6cbf909fcfce9fdb.tar.gz
ranch-99242f3342f24f447e487aee6cbf909fcfce9fdb.tar.bz2
ranch-99242f3342f24f447e487aee6cbf909fcfce9fdb.zip
Add accept_ack on all transports and ack_timeout transport option
Doing this in the connection process allows us to free acceptors to start accepting more connections quicker, especially under load.
Diffstat (limited to 'test/sendfile_SUITE.erl')
-rw-r--r--test/sendfile_SUITE.erl1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/sendfile_SUITE.erl b/test/sendfile_SUITE.erl
index dc05fe6..c74659e 100644
--- a/test/sendfile_SUITE.erl
+++ b/test/sendfile_SUITE.erl
@@ -305,6 +305,7 @@ sockets(Config) ->
end,
_ = spawn_link(Fun),
{ok, Server} = Transport:accept(LSocket, 500),
+ ok = Transport:accept_ack(Server, 500),
receive
{ok, Client} ->
ok = Transport:close(LSocket),