diff options
author | Micael Karlberg <[email protected]> | 2018-10-04 12:03:35 +0200 |
---|---|---|
committer | Micael Karlberg <[email protected]> | 2018-10-04 12:03:35 +0200 |
commit | e698436942c7aaf4f2872c19df2555275be169d1 (patch) | |
tree | 6ccc97e78aaafef121efad5bb2e51eebe5816286 /erts | |
parent | 6b43b24610329f9b1201c36cc4dfcb346ed0317c (diff) | |
download | otp-e698436942c7aaf4f2872c19df2555275be169d1.tar.gz otp-e698436942c7aaf4f2872c19df2555275be169d1.tar.bz2 otp-e698436942c7aaf4f2872c19df2555275be169d1.zip |
[socket-nif|test] Updated test case for connect timeout
The connect timeout test case uses the listen backlog argument
to test connect timeout (its set to 1). The idea is that when
the server backlog is full, it should not reply. The client attempting
to connect will then get a timeout.
But as it turns out, this behaviour is not "set in stone". On FreeBSD
11.2, the result is instead a 'econnreset'.
It should also be noted that this local connections. That is, both end
of the connection is on the same machine.
So, test case has been updated to also accept a econnreset (even
though that is not what it is testing).
OTP-14831
Diffstat (limited to 'erts')
0 files changed, 0 insertions, 0 deletions