Skip to content

Conversation

@eklitzke
Copy link

I believe that there is a subtle portability problem in the current implementation. We would like to bind to any (i.e. all) network interfaces to ensure that all processes can reach Mango, whether they exist on localhost or are external. The correct way to do this is to use the system-defined value for INADDR_ANY.1 However, the current implementation assumes that this will be '0.0.0.0'. While it is certainly true that many operating systems implement INADDR_ANY in this way, I'm worried that Mango could break in unforeseen ways on new and alternative TCP/IP stacks provided by next-generation cloud operating systems. This change should ensure the longevity of Mango by increasing the likelihood that it will be able to correctly adapt in these situations.

1: See http://pubs.opengroup.org/onlinepubs/000095399/basedefs/netinet/in.h.html for details.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant