Commit 8f86986
committed
stream: use callback to properly propagate error
The stream will be destroyed upstream through the proper error
flow.
PR-URL: #29179
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>1 parent b9da063 commit 8f86986Copy full SHA for 8f86986
File tree
Expand file treeCollapse file tree
7 files changed
+95
-15
lines changedOpen diff view settings
Filter options
- lib
- internal
- http2
- test/parallel
Expand file treeCollapse file tree
7 files changed
+95
-15
lines changedOpen diff view settings
Collapse file
+9-6Lines changed: 9 additions & 6 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
144 | 144 | |
145 | 145 | |
146 | 146 | |
147 | | - |
| 147 | + |
| 148 | + |
| 149 | + |
| 150 | + |
148 | 151 | |
149 | 152 | |
150 | 153 | |
| ||
258 | 261 | |
259 | 262 | |
260 | 263 | |
261 | | - |
| 264 | + |
262 | 265 | |
263 | 266 | |
264 | 267 | |
| ||
453 | 456 | |
454 | 457 | |
455 | 458 | |
456 | | - |
457 | | - |
458 | | - |
| 459 | + |
| 460 | + |
| 461 | + |
459 | 462 | |
460 | 463 | |
461 | 464 | |
| ||
553 | 556 | |
554 | 557 | |
555 | 558 | |
556 | | - |
| 559 | + |
557 | 560 | |
558 | 561 | |
559 | 562 | |
|
Collapse file
+7Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
416 | 416 | |
417 | 417 | |
418 | 418 | |
| 419 | + |
| 420 | + |
| 421 | + |
| 422 | + |
| 423 | + |
| 424 | + |
| 425 | + |
419 | 426 | |
420 | 427 | |
421 | 428 | |
|
Collapse file
+11-2Lines changed: 11 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1995 | 1995 | |
1996 | 1996 | |
1997 | 1997 | |
| 1998 | + |
| 1999 | + |
| 2000 | + |
| 2001 | + |
| 2002 | + |
| 2003 | + |
| 2004 | + |
| 2005 | + |
| 2006 | + |
1998 | 2007 | |
1999 | | - |
| 2008 | + |
2000 | 2009 | |
2001 | | - |
| 2010 | + |
2002 | 2011 | |
2003 | 2012 | |
2004 | 2013 | |
|
Collapse file
lib/internal/stream_base_commons.js
Copy file name to clipboardExpand all lines: lib/internal/stream_base_commons.js+10-6Lines changed: 10 additions & 6 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
88 | 88 | |
89 | 89 | |
90 | 90 | |
| 91 | + |
| 92 | + |
91 | 93 | |
92 | 94 | |
93 | | - |
| 95 | + |
| 96 | + |
| 97 | + |
| 98 | + |
94 | 99 | |
95 | 100 | |
96 | 101 | |
| ||
134 | 139 | |
135 | 140 | |
136 | 141 | |
137 | | - |
| 142 | + |
138 | 143 | |
139 | 144 | |
140 | 145 | |
141 | 146 | |
142 | 147 | |
143 | 148 | |
144 | 149 | |
145 | | - |
| 150 | + |
146 | 151 | |
147 | 152 | |
148 | 153 | |
149 | | - |
| 154 | + |
150 | 155 | |
151 | 156 | |
152 | 157 | |
153 | 158 | |
154 | | - |
| 159 | + |
155 | 160 | |
156 | 161 | |
157 | 162 | |
| ||
264 | 269 | |
265 | 270 | |
266 | 271 | |
267 | | - |
268 | 272 | |
269 | 273 | |
270 | 274 | |
|
Collapse file
test/parallel/test-net-connect-buffer2.js
Copy file name to clipboard+56Lines changed: 56 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 | + |
| 27 | + |
| 28 | + |
| 29 | + |
| 30 | + |
| 31 | + |
| 32 | + |
| 33 | + |
| 34 | + |
| 35 | + |
| 36 | + |
| 37 | + |
| 38 | + |
| 39 | + |
| 40 | + |
| 41 | + |
| 42 | + |
| 43 | + |
| 44 | + |
| 45 | + |
| 46 | + |
| 47 | + |
| 48 | + |
| 49 | + |
| 50 | + |
| 51 | + |
| 52 | + |
| 53 | + |
| 54 | + |
| 55 | + |
| 56 | + |
Collapse file
test/parallel/test-net-write-arguments.js
Copy file name to clipboardExpand all lines: test/parallel/test-net-write-arguments.js+1Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
25 | 25 | |
26 | 26 | |
27 | 27 | |
| 28 | + |
28 | 29 | |
29 | 30 | |
30 | 31 | |
|
Collapse file
test/parallel/test-wrap-js-stream-exceptions.js
Copy file name to clipboardExpand all lines: test/parallel/test-wrap-js-stream-exceptions.js+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
10 | 10 | |
11 | 11 | |
12 | 12 | |
13 | | - |
| 13 | + |
14 | 14 | |
15 | 15 | |
16 | 16 | |
|
0 commit comments