diff options
| author | Gabriel Schneider <[email protected]> | 2026-09-28 18:23:34 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-10-01 00:12:15 -0300 |
| commit | d572edefe32284db343259b0b7e12c9470366b28 (patch) | |
| tree | eba0723b35fc6bcf58d6d55e712ea9a365e794ef /src/web/app.mjs | |
| parent | afc72ac3db0840d8571dcfb8e2e182a241bdecaf (diff) | |
| download | pardes-d572edefe32284db343259b0b7e12c9470366b28.tar.gz pardes-d572edefe32284db343259b0b7e12c9470366b28.zip | |
A followed log, event or pty/data answers a read inside its last answer from it again, so bash's read loses nothing
bash's read on a seekable fd takes a chunk, keeps one line and lseeks back to just past it; a stream had already moved on, so the rest of the chunk was lost and a while-read loop over the log dropped records. Each stream open keeps its last answer and the offset it was read at, and a read strictly inside it is answered from it; a read at the same offset, as a client that ignores offsets makes, still gets the next record.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Diffstat (limited to 'src/web/app.mjs')
0 files changed, 0 insertions, 0 deletions
