mirror of https://github.com/lukechilds/node.git
Browse Source
See https://github.com/joyent/node/issues/7675 net.server.listen() behaves inconsistently depending on whether the port number is provided. 1. port === 0 && host == '' (i.e. false-y), node creates an AF_INET socket but does not call bind(). 2. port > 0 && host == '', node creates an AF_INET6 socket and calls bind(). The fix makes 1 consistent with 2. Signed-off-by: Fedor Indutny <fedor@indutny.com>archived-io.js-v0.10
Raymond Feng
11 years ago
committed by
Fedor Indutny
2 changed files with 65 additions and 1 deletions
Loading…
Reference in new issue