File tree 1 file changed +27
-4
lines changed
1 file changed +27
-4
lines changed Original file line number Diff line number Diff line change @@ -36,8 +36,7 @@ const kCancelled = Symbol('cancelled');
36
36
37
37
const VALID_POOL_OPTIONS = new Set ( [
38
38
// `connect` options
39
- 'host' ,
40
- 'port' ,
39
+ 'ssl' ,
41
40
'bson' ,
42
41
'connectionType' ,
43
42
'monitorCommands' ,
@@ -46,14 +45,38 @@ const VALID_POOL_OPTIONS = new Set([
46
45
'compression' ,
47
46
48
47
// node Net options
49
- 'ssl' ,
48
+ 'host' ,
49
+ 'port' ,
50
50
'localAddress' ,
51
51
'localPort' ,
52
52
'family' ,
53
53
'hints' ,
54
54
'lookup' ,
55
- 'checkServerIdentity' ,
55
+ 'path' ,
56
+
57
+ // node TLS options
58
+ 'ca' ,
59
+ 'cert' ,
60
+ 'sigalgs' ,
61
+ 'ciphers' ,
62
+ 'clientCertEngine' ,
63
+ 'crl' ,
64
+ 'dhparam' ,
65
+ 'ecdhCurve' ,
66
+ 'honorCipherOrder' ,
67
+ 'key' ,
68
+ 'privateKeyEngine' ,
69
+ 'privateKeyIdentifier' ,
70
+ 'maxVersion' ,
71
+ 'minVersion' ,
72
+ 'passphrase' ,
73
+ 'pfx' ,
74
+ 'secureOptions' ,
75
+ 'secureProtocol' ,
76
+ 'sessionIdContext' ,
77
+ 'allowHalfOpen' ,
56
78
'rejectUnauthorized' ,
79
+ 'pskCallback' ,
57
80
'ALPNProtocols' ,
58
81
'servername' ,
59
82
'checkServerIdentity' ,
You can’t perform that action at this time.
0 commit comments