Commit 10e0d7f
tls: support the hints option
Make `tls.connect()` support the `hints` option for feature parity with
`net.connect()`.
PR-URL: #27816
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>1 parent 6981565 commit 10e0d7fCopy full SHA for 10e0d7f
File tree
Expand file treeCollapse file tree
3 files changed
+33
-19
lines changedOpen diff view settings
Filter options
- doc/api
- lib
- test/parallel
Expand file treeCollapse file tree
3 files changed
+33
-19
lines changedOpen diff view settings
Collapse file
+5-7Lines changed: 5 additions & 7 deletions
- Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1178 | 1178 | |
1179 | 1179 | |
1180 | 1180 | |
| 1181 | + |
| 1182 | + |
| 1183 | + |
1181 | 1184 | |
1182 | 1185 | |
1183 | 1186 | |
| ||
1248 | 1251 | |
1249 | 1252 | |
1250 | 1253 | |
1251 | | - |
1252 | | - |
1253 | | - |
1254 | | - |
1255 | | - |
1256 | 1254 | |
1257 | 1255 | |
| 1256 | + |
1258 | 1257 | |
1259 | 1258 | |
1260 | 1259 | |
| ||
1771 | 1770 | |
1772 | 1771 | |
1773 | 1772 | |
1774 | | - |
1775 | 1773 | |
1776 | 1774 | |
1777 | 1775 | |
| ||
1781 | 1779 | |
1782 | 1780 | |
1783 | 1781 | |
1784 | | - |
| 1782 | + |
1785 | 1783 | |
1786 | 1784 | |
1787 | 1785 | |
|
Collapse file
+2-12Lines changed: 2 additions & 12 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1420 | 1420 | |
1421 | 1421 | |
1422 | 1422 | |
1423 | | - |
| 1423 | + |
1424 | 1424 | |
1425 | | - |
1426 | | - |
1427 | | - |
1428 | | - |
1429 | | - |
1430 | | - |
1431 | | - |
1432 | | - |
1433 | | - |
1434 | | - |
1435 | 1425 | |
1436 | 1426 | |
1437 | 1427 | |
1438 | 1428 | |
1439 | | - |
| 1429 | + |
1440 | 1430 | |
1441 | 1431 | |
1442 | 1432 | |
|
Collapse file
test/parallel/test-tls-connect-hints-option.js
Copy file name to clipboard+26Lines changed: 26 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
| 1 | + |
| 2 | + |
| 3 | + |
| 4 | + |
| 5 | + |
| 6 | + |
| 7 | + |
| 8 | + |
| 9 | + |
| 10 | + |
| 11 | + |
| 12 | + |
| 13 | + |
| 14 | + |
| 15 | + |
| 16 | + |
| 17 | + |
| 18 | + |
| 19 | + |
| 20 | + |
| 21 | + |
| 22 | + |
| 23 | + |
| 24 | + |
| 25 | + |
| 26 | + |
0 commit comments