[erlang-patches] jinterface: OtpEpmd.get
Wed Sep 19 11:19:28 CEST 2012
I found a problem with OtpEpmd if the network is badly configured:
In an enterprise environment, it's not an easy task to get the machine
On some machines with weird network configurations,
InetAddress.getLocalHost() hangs. Searching for "localhost" works (at
least in the cases I met). The difference is that the loopback address
will be returned, instead of the real IP address, but for the local
machine this should not be a problem.
git fetch git://github.com/vladdu/otp.git jinterface_epmd_localhost
I don't know how to configure the network to provoke the problem, but
I just got confirmation from someone that has it that with this fix
everything works as expected.
[Note that for this user, "erl -sname foo" and "erl -sname bar" can't
connect to each other, one has to use "erl -sname "]
There are no tests covering OtpEpmd, would this change require any?
More information about the erlang-patches