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

Commit

Permalink
tls add secureOptions documentation
Browse files Browse the repository at this point in the history
PR-URL: #8553
Reviewed-By: Fedor Indutny <[email protected]>
  • Loading branch information
Swaagie authored and indutny committed Oct 15, 2014
1 parent 1524d48 commit 6a95e9f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions doc/api/tls.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,10 @@ automatically set as a listener for the [secureConnection][] event. The
SSL version 3. The possible values depend on your installation of
OpenSSL and are defined in the constant [SSL_METHODS][].

- `secureOptions`: Set server options. For example, to disable the SSLv3
protocol set the `SSL_OP_NO_SSLv3` flag. See [SSL_CTX_set_options]
for all available options.

Here is a simple example echo server:

var tls = require('tls');
Expand Down Expand Up @@ -569,3 +573,4 @@ The numeric representation of the remote port. For example, `443`.
[Stream]: stream.html#stream_stream
[SSL_METHODS]: http://www.openssl.org/docs/ssl/ssl.html#DEALING_WITH_PROTOCOL_METHODS
[tls.Server]: #tls_class_tls_server
[SSL_CTX_set_options]: https://www.openssl.org/docs/ssl/SSL_CTX_set_options.html

0 comments on commit 6a95e9f

Please sign in to comment.