Commit a9a2dd3
http: don't cork noop .end()
Calling .end() a second time should be a noop and not
leave the socket corked.
Fixes: #36620
PR-URL: #36633
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Danielle Adams <adamzdanielle@gmail.com>1 parent e8bb1f7 commit a9a2dd3Copy full SHA for a9a2dd3
File tree
Expand file treeCollapse file tree
2 files changed
+12
-4
lines changedOpen diff view settings
Filter options
- lib
- test/parallel
Expand file treeCollapse file tree
2 files changed
+12
-4
lines changedOpen diff view settings
Collapse file
+9-4Lines changed: 9 additions & 4 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
819 | 819 | |
820 | 820 | |
821 | 821 | |
822 | | - |
823 | | - |
824 | | - |
825 | | - |
826 | 822 | |
827 | 823 | |
828 | 824 | |
829 | 825 | |
830 | 826 | |
831 | 827 | |
832 | 828 | |
| 829 | + |
| 830 | + |
| 831 | + |
| 832 | + |
| 833 | + |
833 | 834 | |
834 | 835 | |
835 | 836 | |
| ||
841 | 842 | |
842 | 843 | |
843 | 844 | |
| 845 | + |
| 846 | + |
| 847 | + |
| 848 | + |
844 | 849 | |
845 | 850 | |
846 | 851 | |
|
Collapse file
test/parallel/test-http-outgoing-end-multiple.js
Copy file name to clipboardExpand all lines: test/parallel/test-http-outgoing-end-multiple.js+3Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
9 | 9 | |
10 | 10 | |
11 | 11 | |
| 12 | + |
12 | 13 | |
13 | 14 | |
14 | 15 | |
| 16 | + |
15 | 17 | |
| 18 | + |
16 | 19 | |
17 | 20 | |
18 | 21 | |
|
0 commit comments