From d2e271b102a6c47eb9802e1cd2eafd29d4512f7c Mon Sep 17 00:00:00 2001 From: ikeyan Date: Mon, 15 Dec 2025 11:47:39 +0900 Subject: [PATCH] doc: added `requestOCSP` option to `tls.connect` Fixes #61042 Put a period at the end of the line Co-authored-by: Luigi Pinca --- doc/api/tls.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doc/api/tls.md b/doc/api/tls.md index 43fa0c990e19b8..6a3646f1c61b94 100644 --- a/doc/api/tls.md +++ b/doc/api/tls.md @@ -1724,6 +1724,9 @@ changes: verification fails. The method should return `undefined` if the `servername` and `cert` are verified. * `session` {Buffer} A `Buffer` instance, containing TLS session. + * `requestOCSP` {boolean} If `true`, specifies that the OCSP status request + extension will be added to the client hello and an `'OCSPResponse'` event + will be emitted on the socket before establishing a secure communication. * `minDHSize` {number} Minimum size of the DH parameter in bits to accept a TLS connection. When a server offers a DH parameter with a size less than `minDHSize`, the TLS connection is destroyed and an error is thrown.