Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorkoichik <koichik@improvement.jp>2012-01-09 05:28:49 +0400
committerkoichik <koichik@improvement.jp>2012-01-09 05:31:46 +0400
commitc1a63a9e905f90684c3c22eae59cbe12fced661c (patch)
treee2706428c154929fa55ebce0525136a2836cdcf7 /doc
parent70033bd96098fd230fcb45287f4664115bc0ec63 (diff)
tls: Allow establishing secure connection on the existing socket
This is necessary to use SSL over HTTP tunnels. Refs #2259, #2474. Fixes #2489.
Diffstat (limited to 'doc')
-rw-r--r--doc/api/tls.markdown4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/api/tls.markdown b/doc/api/tls.markdown
index 7bdfe4c1078..8cbfb7d7caf 100644
--- a/doc/api/tls.markdown
+++ b/doc/api/tls.markdown
@@ -113,6 +113,10 @@ Creates a new client connection to the given `port` and `host` (old API) or
- `port`: Port the client should connect to
+ - `socket`: Establish secure connection on a given socket rather than
+ creating a new socket. If this option is specified, `host` and `port`
+ are ignored.
+
- `key`: A string or `Buffer` containing the private key of the client in
PEM format.