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

Commit

Permalink
docs: removed unnecessary STARTTLS section
Browse files Browse the repository at this point in the history
  • Loading branch information
koichik committed Feb 16, 2012
1 parent d91bc7c commit ef50bd2
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions doc/api/tls.markdown
Expand Up @@ -169,17 +169,6 @@ Here is an example of a client of echo server as described previously:
});


### STARTTLS

In the v0.4 branch no function exists for starting a TLS session on an
already existing TCP connection. This is possible it just requires a bit of
work. The technique is to use `tls.createSecurePair()` which returns two
streams: an encrypted stream and a cleartext stream. The encrypted stream is
then piped to the socket, the cleartext stream is what the user interacts with
thereafter.

[Here is some code that does it.](http://gist.github.com/848444)

### NPN and SNI

NPN (Next Protocol Negotiation) and SNI (Server Name Indication) are TLS
Expand Down

0 comments on commit ef50bd2

Please sign in to comment.