Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: nodejs/node-v0.x-archive
base: 85d6b783432e
Choose a base ref
...
head repository: nodejs/node-v0.x-archive
compare: edd2fcccf022
Choose a head ref
  • 1 commit
  • 3 files changed
  • 1 contributor

Commits on Aug 20, 2013

  1. net: family option in net.connect

    `dns.lookup` defaults to selecting IPv4 record even if IPv6 is available
    for the desired zone. Generally, this approach works, but if IPv4
    address is unavailable - there'll be no other way to opt-out and connect using
    IPv6 address than calling `dns.lookup` and passing it to `.connect()`
    directly.
    
    This commit adds `family` option to `net.connect` method to figure out
    this issue.
    floatdrop authored and indutny committed Aug 20, 2013
    Copy the full SHA
    edd2fcc View commit details
    Browse the repository at this point in the history