Repository navigation
Commit 9458cbb
test(server): stdin observer respects child backpressure
The dispatch observer kept reading stdin while a slow Claude child fell
behind, buffering the whole stream in memory. It now pauses stdin when the
child's pipe is full and resumes on drain. Forwarded bytes, the shared
StringDecoder, the final-line flush, and write failures are unchanged.
Co-Authored-By: Claude Opus 5.5 <[email protected]>1 parent d4fe68f commit 9458cbb
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
47 | 51 | | |
48 | 52 | | |
49 | 53 | | |
| |||
0 commit comments