Skip to content

Commit 7c9f5db

Browse files
ikeyanlpinca
andauthored
doc: added requestOCSP option to tls.connect
Fixes nodejs#61042 Put a period at the end of the line Co-authored-by: Luigi Pinca <[email protected]> PR-URL: nodejs#61064 Reviewed-By: Luigi Pinca <[email protected]>
1 parent 720feff commit 7c9f5db

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

doc/api/tls.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1737,6 +1737,9 @@ changes:
17371737
verification fails. The method should return `undefined` if the `servername`
17381738
and `cert` are verified.
17391739
* `session` {Buffer} A `Buffer` instance, containing TLS session.
1740+
* `requestOCSP` {boolean} If `true`, specifies that the OCSP status request
1741+
extension will be added to the client hello and an `'OCSPResponse'` event
1742+
will be emitted on the socket before establishing a secure communication.
17401743
* `minDHSize` {number} Minimum size of the DH parameter in bits to accept a
17411744
TLS connection. When a server offers a DH parameter with a size less
17421745
than `minDHSize`, the TLS connection is destroyed and an error is thrown.

0 commit comments

Comments
 (0)