diff options
author | koichik <koichik@improvement.jp> | 2012-01-09 05:28:49 +0400 |
---|---|---|
committer | koichik <koichik@improvement.jp> | 2012-01-09 05:31:46 +0400 |
commit | c1a63a9e905f90684c3c22eae59cbe12fced661c (patch) | |
tree | e2706428c154929fa55ebce0525136a2836cdcf7 /doc | |
parent | 70033bd96098fd230fcb45287f4664115bc0ec63 (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.markdown | 4 |
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. |