Skip to content

Commit

Permalink
Fix formatting in configuration.txt (#5774)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbevi authored Jan 17, 2024
1 parent fed822a commit 38db7bf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/reference/configuration.txt
Original file line number Diff line number Diff line change
Expand Up @@ -746,11 +746,11 @@ It may be desirable to further configure TLS options in your application, for
example by enabling or disabling certain ciphers.

This can be done by setting TLS context hooks on the Ruby driver -- TLS context
hooks are user-provided ``Proc``s that will be invoked before any TLS socket
hooks are user-provided ``Proc``\(s) that will be invoked before any TLS socket
connection in the driver and can be used to modify the underlying
``OpenSSL::SSL::SSLContext`` object used by the socket.

To set TLS context hooks, add ``Proc``s to the ``Mongo.tls_context_hooks``
To set TLS context hooks, add ``Proc``\(s) to the ``Mongo.tls_context_hooks``
array. This can be done in an initializer. The example below adds a hook
that only enables the "AES256-SHA" cipher.

Expand Down

0 comments on commit 38db7bf

Please sign in to comment.