node/doc/api
Bryan English 6f1caadb85 tls: prefer path over port in connect
Makes tls.connect() behave as documented, preferring options.path over
options.port. This makes it consistent with net.connect(), so the
included test demonstrates that both behave in this way.

Also, for consistency, noting the precedence of options.path in net
doc.

PR-URL: https://github.com/nodejs/node/pull/14564
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
2017-09-22 16:30:24 -07:00
..
_toc.md doc: add ESM doc to _toc.md and all.md 2017-09-08 06:34:47 +03:00
addons.md test,doc: make module name match gyp target name 2017-09-10 00:15:49 +03:00
all.md doc: add ESM doc to _toc.md and all.md 2017-09-08 06:34:47 +03:00
assert.md assert: handle enumerable symbol keys 2017-09-19 20:13:02 -03:00
async_hooks.md async_hooks,doc: some async_hooks improvements 2017-09-15 09:06:13 -07:00
buffer.md doc: fix "added in" for Buffer.allocUnsafeSlow() 2017-09-13 18:54:54 +03:00
child_process.md doc: note caveats in process message serialization 2017-09-22 20:24:16 -03:00
cli.md n-api: remove n-api module loading flag 2017-09-19 19:06:44 -04:00
cluster.md doc: fix some internal links 2017-09-12 17:03:30 +03:00
console.md 2017-09-12, Version 8.5.0 (Current) 2017-09-12 17:34:51 +02:00
crypto.md doc: fix external links with 404 status 2017-09-20 22:39:13 +03:00
debugger.md test: remove obsolete debugger tests 2017-09-13 17:58:38 -03:00
deprecations.md doc: delete link to removed doc part 2017-09-21 20:00:00 +03:00
dgram.md doc: do not begin yaml value with backtick 2017-09-17 19:29:46 +03:00
dns.md doc: fix types and description for dns.resolveTxt 2017-09-22 02:54:00 +02:00
documentation.md doc: add links to alternative versions of doc 2017-08-28 11:17:08 +02:00
domain.md domain: remove .dispose() 2017-09-20 10:45:33 -03:00
errors.md crypto: refactor the crypto module 2017-09-18 08:10:59 -07:00
esm.md doc: fix nits in esm.md 2017-09-13 16:57:05 +03:00
events.md doc: add links to alternative versions of doc 2017-08-28 11:17:08 +02:00
fs.md fs: add O_DSYNC 2017-09-22 02:47:45 +02:00
globals.md doc: add links to alternative versions of doc 2017-08-28 11:17:08 +02:00
http2.md doc: fix some links in http2.md 2017-09-20 22:43:56 +03:00
http.md doc: fix 'aborted' event documentation 2017-09-22 19:11:51 -03:00
https.md doc: add links to alternative versions of doc 2017-08-28 11:17:08 +02:00
index.md doc: git mv to .md 2016-04-20 16:34:27 -07:00
inspector.md doc: fix some broken references 2017-07-02 21:44:46 +02:00
intl.md doc: environmental->environment & NodeJS->Node.js 2017-08-24 15:17:29 -07:00
modules.md doc: add links to alternative versions of doc 2017-08-28 11:17:08 +02:00
n-api.md doc: fix new nits in links 2017-09-20 09:09:25 -03:00
net.md tls: prefer path over port in connect 2017-09-22 16:30:24 -07:00
os.md doc: fix external links with 404 status 2017-09-20 22:39:13 +03:00
path.md doc: add links to alternative versions of doc 2017-08-28 11:17:08 +02:00
perf_hooks.md doc: fix entryTypes type and missing link 2017-09-19 16:36:30 -03:00
process.md doc: note caveats in process message serialization 2017-09-22 20:24:16 -03:00
punycode.md doc: add links to alternative versions of doc 2017-08-28 11:17:08 +02:00
querystring.md doc: add links to alternative versions of doc 2017-08-28 11:17:08 +02:00
readline.md doc: fix emitKeypressEvents stream type 2017-09-15 09:40:20 -07:00
repl.md doc: add links to alternative versions of doc 2017-08-28 11:17:08 +02:00
stream.md doc: add missing doc for readable._destroy 2017-09-13 17:04:10 -03:00
string_decoder.md doc: add links to alternative versions of doc 2017-08-28 11:17:08 +02:00
synopsis.md doc: add links to alternative versions of doc 2017-08-28 11:17:08 +02:00
timers.md doc: add links to alternative versions of doc 2017-08-28 11:17:08 +02:00
tls.md crypto: support multiple ECDH curves and auto 2017-09-20 01:16:28 -07:00
tracing.md src: Node Tracing Controller 2016-12-20 12:31:09 -08:00
tty.md doc: add links to alternative versions of doc 2017-08-28 11:17:08 +02:00
url.md doc: add links to alternative versions of doc 2017-08-28 11:17:08 +02:00
util.md doc: add links to alternative versions of doc 2017-08-28 11:17:08 +02:00
v8.md doc: add links to alternative versions of doc 2017-08-28 11:17:08 +02:00
vm.md doc: add links to alternative versions of doc 2017-08-28 11:17:08 +02:00
zlib.md doc: add links to alternative versions of doc 2017-08-28 11:17:08 +02:00