epmd icon indicating copy to clipboard operation
epmd copied to clipboard

Fix dropped packets in get_names

Open ghost opened this issue 8 years ago • 0 comments

Becuase OTP 17 was not playing well with epmd -names -- it was inconistantly returning the [s]names when there were nodes assigned to ports -- taking a look at the doc for gen_tcp clued me into a possible issue:

As far as I can tell, when a socket is {active, false} and {packet, raw|0} has been set (via inet or otherwise), the gen_tcp:recv routine ought to loop to receive all the data.

ghost avatar Jul 26 '17 22:07 ghost