diff --git a/lib/cmap/connection_pool.js b/lib/cmap/connection_pool.js index 829075aca60..f070cc71f7d 100644 --- a/lib/cmap/connection_pool.js +++ b/lib/cmap/connection_pool.js @@ -36,8 +36,7 @@ const kCancelled = Symbol('cancelled'); const VALID_POOL_OPTIONS = new Set([ // `connect` options - 'host', - 'port', + 'ssl', 'bson', 'connectionType', 'monitorCommands', @@ -46,14 +45,38 @@ const VALID_POOL_OPTIONS = new Set([ 'compression', // node Net options - 'ssl', + 'host', + 'port', 'localAddress', 'localPort', 'family', 'hints', 'lookup', - 'checkServerIdentity', + 'path', + + // node TLS options + 'ca', + 'cert', + 'sigalgs', + 'ciphers', + 'clientCertEngine', + 'crl', + 'dhparam', + 'ecdhCurve', + 'honorCipherOrder', + 'key', + 'privateKeyEngine', + 'privateKeyIdentifier', + 'maxVersion', + 'minVersion', + 'passphrase', + 'pfx', + 'secureOptions', + 'secureProtocol', + 'sessionIdContext', + 'allowHalfOpen', 'rejectUnauthorized', + 'pskCallback', 'ALPNProtocols', 'servername', 'checkServerIdentity',