diff options
author | Ben Noordhuis <info@bnoordhuis.nl> | 2017-08-10 11:19:13 +0200 |
---|---|---|
committer | James M Snell <jasnell@gmail.com> | 2017-08-23 14:53:47 -0700 |
commit | e007f66ae211192f385dc253bfa19a84e7fc649a (patch) | |
tree | 987b0ec77b0af63a82709ee09f3230ad3f4bc6bb /src/node_internals.h | |
parent | cbd3708c85e13b234e9ded0beaaf1780a537dc39 (diff) | |
download | android-node-v8-e007f66ae211192f385dc253bfa19a84e7fc649a.tar.gz android-node-v8-e007f66ae211192f385dc253bfa19a84e7fc649a.tar.bz2 android-node-v8-e007f66ae211192f385dc253bfa19a84e7fc649a.zip |
dns: add `verbatim` option to dns.lookup()
When true, results from the DNS resolver are passed on as-is, without
the reshuffling that Node.js otherwise does that puts IPv4 addresses
before IPv6 addresses.
PR-URL: https://github.com/nodejs/node/pull/14731
Ref: https://github.com/nodejs/node/issues/6307
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'src/node_internals.h')
0 files changed, 0 insertions, 0 deletions