Skip to content

Commit

Permalink
doc: typo fixes on stream, tls and http
Browse files Browse the repository at this point in the history
Reviewed-by: Trevor Norris <[email protected]>
  • Loading branch information
shama authored and trevnorris committed Aug 13, 2014
1 parent 678ead2 commit 0000416
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion doc/api/http.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -849,7 +849,7 @@ the client should send the request body.

Flush the request headers.

For effiency reasons, node.js normally buffers the request headers until you
For efficiency reasons, node.js normally buffers the request headers until you
call `request.end()` or write the first chunk of request data. It then tries
hard to pack the request headers and data into a single TCP packet.

Expand Down
2 changes: 1 addition & 1 deletion doc/api/stream.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -971,7 +971,7 @@ function SourceWrapper(options) {
self._source.readStop();
};

// When the source ends, we push the EOF-signalling `null` chunk
// When the source ends, we push the EOF-signaling `null` chunk
this._source.onend = function() {
self.push(null);
};
Expand Down
7 changes: 4 additions & 3 deletions doc/api/tls.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ automatically set as a listener for the [secureConnection][] event. The
`RC4` is used as a fallback for clients that speak on older version of
the TLS protocol. `RC4` has in recent years come under suspicion and
should be considered compromised for anything that is truly sensitive.
It is speculated that state-level actors posess the ability to break it.
It is speculated that state-level actors possess the ability to break it.

**NOTE**: Previous revisions of this section suggested `AES256-SHA` as an
acceptable cipher. Unfortunately, `AES256-SHA` is a CBC cipher and therefore
Expand Down Expand Up @@ -573,8 +573,9 @@ Typical flow:
5. Client validates the response and either destroys socket or performs a
handshake.

NOTE: `issuer` could be null, if certficiate is self-signed or if issuer is not
in the root certificates list. (You could provide an issuer via `ca` option.)
NOTE: `issuer` could be null, if the certificate is self-signed or if the issuer
is not in the root certificates list. (You could provide an issuer via `ca`
option.)

NOTE: adding this event listener will have an effect only on connections
established after addition of event listener.
Expand Down

0 comments on commit 0000416

Please sign in to comment.