Commit 65c4752
net: emit close on unconnected socket
Socket should always emit 'close'. Regardless
whether it has been connected or not.
PR-URL: #29803
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Minwoo Jung <minwoo@nodesource.com>1 parent 20896f7 commit 65c4752Copy full SHA for 65c4752
File tree
Expand file treeCollapse file tree
2 files changed
+11
-2
lines changedOpen diff view settings
Filter options
- lib
- test/parallel
Expand file treeCollapse file tree
2 files changed
+11
-2
lines changedOpen diff view settings
Collapse file
+4-2Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
660 | 660 | |
661 | 661 | |
662 | 662 | |
| 663 | + |
| 664 | + |
| 665 | + |
| 666 | + |
663 | 667 | |
664 | 668 | |
665 | | - |
666 | | - |
667 | 669 | |
668 | 670 | |
669 | 671 | |
|
Collapse file
test/parallel/test-net-connect-destroy.js
Copy file name to clipboard+7Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
| 1 | + |
| 2 | + |
| 3 | + |
| 4 | + |
| 5 | + |
| 6 | + |
| 7 | + |
0 commit comments