test(exproto): fix too small buffer size for listener

These options have not been picked up by the listener before esockd
5.11.0, so it was not apparent that they are not working.
This commit is contained in:
Andrew Mayorov 2023-12-19 13:01:06 +01:00
parent fb2d4544b6
commit a20ef0376b
No known key found for this signature in database
GPG Key ID: 2837C62ACFBFED5D
1 changed files with 5 additions and 3 deletions

View File

@ -663,9 +663,11 @@ tcp_opts() ->
udp_opts() ->
#{
recbuf => 1024,
sndbuf => 1024,
buffer => 1024,
%% NOTE
%% Making those too small will lead to inability to accept connections.
recbuf => 2048,
sndbuf => 2048,
buffer => 2048,
reuseaddr => true
}.