Commit a7b56a5
tls: honor pauseOnConnect option
`pauseOnConnect` is now passed along to the net.Socket constructor from
the tls.Socket constructor. The `readable` flag must match the value of
`pauseOnConnect`. Tests were added to cover all available net.Server
options when used in the tls.Server constructor.
Fixes: #29620
Refs: #27665
PR-URL: #29635
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>1 parent ea9bf4a commit a7b56a5Copy full SHA for a7b56a5
File tree
Expand file treeCollapse file tree
2 files changed
+10
-2
lines changedOpen diff view settings
Filter options
- lib
- test/parallel
Expand file treeCollapse file tree
2 files changed
+10
-2
lines changedOpen diff view settings
Collapse file
+5-2Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
411 | 411 | |
412 | 412 | |
413 | 413 | |
414 | | - |
| 414 | + |
| 415 | + |
| 416 | + |
415 | 417 | |
416 | 418 | |
417 | 419 | |
| ||
926 | 928 | |
927 | 929 | |
928 | 930 | |
929 | | - |
| 931 | + |
| 932 | + |
930 | 933 | |
931 | 934 | |
932 | 935 | |
|
Collapse file
test/parallel/test-tls-server-parent-constructor-options.js
Copy file name to clipboardExpand all lines: test/parallel/test-tls-server-parent-constructor-options.js+5Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
19 | 19 | |
20 | 20 | |
21 | 21 | |
| 22 | + |
22 | 23 | |
23 | 24 | |
24 | 25 | |
| 26 | + |
25 | 27 | |
26 | 28 | |
27 | 29 | |
| ||
40 | 42 | |
41 | 43 | |
42 | 44 | |
| 45 | + |
43 | 46 | |
44 | 47 | |
45 | 48 | |
| 49 | + |
46 | 50 | |
47 | 51 | |
48 | 52 | |
49 | 53 | |
| 54 | + |
50 | 55 | |
51 | 56 | |
52 | 57 | |
|
0 commit comments