Commit bf3991b
stream: fix 0 transform hwm backpressure
PR-URL: #43685
Refs: #42457
Refs: https://github.com/nodejs/node/pull/43648/files
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>1 parent 7b276b8 commit bf3991bCopy full SHA for bf3991b
File tree
Expand file treeCollapse file tree
4 files changed
+54
-24
lines changedOpen diff view settings
Filter options
- lib/internal/streams
- test/parallel
Expand file treeCollapse file tree
4 files changed
+54
-24
lines changedOpen diff view settings
Collapse file
lib/internal/streams/transform.js
Copy file name to clipboardExpand all lines: lib/internal/streams/transform.js+23-4Lines changed: 23 additions & 4 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
65 | 65 | |
66 | 66 | |
67 | 67 | |
68 | | - |
| 68 | + |
69 | 69 | |
70 | 70 | |
71 | 71 | |
72 | 72 | |
73 | 73 | |
74 | 74 | |
75 | 75 | |
| 76 | + |
76 | 77 | |
77 | 78 | |
78 | 79 | |
| ||
82 | 83 | |
83 | 84 | |
84 | 85 | |
| 86 | + |
| 87 | + |
| 88 | + |
| 89 | + |
| 90 | + |
| 91 | + |
| 92 | + |
| 93 | + |
| 94 | + |
| 95 | + |
| 96 | + |
| 97 | + |
| 98 | + |
| 99 | + |
| 100 | + |
| 101 | + |
| 102 | + |
| 103 | + |
| 104 | + |
| 105 | + |
85 | 106 | |
86 | 107 | |
87 | 108 | |
| ||
164 | 185 | |
165 | 186 | |
166 | 187 | |
167 | | - |
168 | | - |
169 | | - |
| 188 | + |
170 | 189 | |
171 | 190 | |
172 | 191 | |
|
Collapse file
test/parallel/test-stream-passthrough-drain.js
Copy file name to clipboard+3-1Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | 1 | |
2 | 2 | |
| 3 | + |
3 | 4 | |
4 | 5 | |
5 | 6 | |
6 | 7 | |
7 | | - |
| 8 | + |
| 9 | + |
8 | 10 | |
Collapse file
test/parallel/test-stream-transform-hwm0.js
Copy file name to clipboard+28Lines changed: 28 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 | + |
Collapse file
test/parallel/test-stream-transform-split-highwatermark.js
Copy file name to clipboardExpand all lines: test/parallel/test-stream-transform-split-highwatermark.js-19Lines changed: 0 additions & 19 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
20 | 20 | |
21 | 21 | |
22 | 22 | |
23 | | - |
24 | | - |
25 | | - |
26 | | - |
27 | 23 | |
28 | 24 | |
29 | 25 | |
| ||
39 | 35 | |
40 | 36 | |
41 | 37 | |
42 | | - |
43 | | - |
44 | | - |
45 | | - |
46 | | - |
47 | | - |
48 | | - |
49 | | - |
50 | | - |
51 | | - |
52 | | - |
53 | | - |
54 | | - |
55 | | - |
56 | | - |
57 | 38 | |
58 | 39 | |
59 | 40 | |
|
0 commit comments