aboutsummaryrefslogtreecommitdiffstats
path: root/lib/common_test
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2011-07-08 18:47:50 +0200
committerSverker Eriksson <[email protected]>2011-07-27 11:41:26 +0200
commita6e8634b84f564ec62e44f7c91a1c400af3dd347 (patch)
tree38ae7f65b568f45256e247bbbb0da56c7c9ee05c /lib/common_test
parent089b8c357f5e7c96605c8f8cab4b3c856081dc39 (diff)
downloadotp-a6e8634b84f564ec62e44f7c91a1c400af3dd347.tar.gz
otp-a6e8634b84f564ec62e44f7c91a1c400af3dd347.tar.bz2
otp-a6e8634b84f564ec62e44f7c91a1c400af3dd347.zip
Fix epmd crash on vxworks caused by faulty argument to select
The first argument g->max_conn to select() in epmd_srv.c seems to be wrong as it excludes the listening socket(s). Instead we keep track of the highest fd seen. However I still don't understand why select() started to fail for vxworks with R14B03 when the feature of more than one listening socket was introduced. The default is still 1 listening socket (num_sockets=1), which would make the first argument to select() unchanged.
Diffstat (limited to 'lib/common_test')
0 files changed, 0 insertions, 0 deletions