Commit 7612574
stream: make _read() be called indefinitely if the user wants so
Fixes: #26097
PR-URL: #26135
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>1 parent 8584068 commit 7612574Copy full SHA for 7612574
File tree
Expand file treeCollapse file tree
2 files changed
+35
-0
lines changedOpen diff view settings
Filter options
- lib
- test/parallel
Expand file treeCollapse file tree
2 files changed
+35
-0
lines changedOpen diff view settings
Collapse file
+3Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
494 | 494 | |
495 | 495 | |
496 | 496 | |
| 497 | + |
497 | 498 | |
498 | 499 | |
499 | 500 | |
| ||
524 | 525 | |
525 | 526 | |
526 | 527 | |
| 528 | + |
527 | 529 | |
528 | 530 | |
529 | 531 | |
| ||
537 | 539 | |
538 | 540 | |
539 | 541 | |
| 542 | + |
540 | 543 | |
541 | 544 | |
542 | 545 | |
|
Collapse file
test/parallel/test-stream-readable-infinite-read.js
Copy file name to clipboard+32Lines changed: 32 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 | + |
0 commit comments