Skip to content

Commit 47848b5

Browse files
authored
Merge pull request #139 from esl/add_tcp_nodelay
Set nodelay option for TCP connections.
2 parents e6bc23f + 9e22982 commit 47848b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/escalus_tcp.erl

+1-1
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ init([Args, Owner]) ->
163163
end,
164164

165165

166-
BasicOpts = [binary, {active, once}, {reuseaddr, true}],
166+
BasicOpts = [binary, {active, once}, {reuseaddr, true}, {nodelay, true}],
167167
SocketOpts = case Interface of
168168
undefined -> BasicOpts;
169169
_ -> [{ip, iface_to_ip_address(Interface)}] ++ BasicOpts

0 commit comments

Comments
 (0)