summaryrefslogtreecommitdiff
path: root/runtime/client.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-20 01:04:57 -0300
committerGabriel Schneider <[email protected]>2026-11-20 01:26:42 -0300
commitb55b92456883e3fda113651f53e5fa2bc4a37304 (patch)
tree0b94fe62433cff199404f4481b81794e9333508a /runtime/client.zig
parent8e04bc6370916ac328f61ad0df6e3babeb9789b4 (diff)
downloadpardes-b55b92456883e3fda113651f53e5fa2bc4a37304.tar.gz
pardes-b55b92456883e3fda113651f53e5fa2bc4a37304.zip
replica: a client the session cuts off for what it left unread is told why and joins again for its view instead of ending (P32 (b); step 3, item 1): the fault shown first through the replica's surface (a session's queue for a client past its bound: the client's link ended with nothing said, Link.rejoins false, the client ended), then at the bound (Peer.send) what waits for it is let go and the words why ("N MB behind the session", a refusal, which a client already joins again on) queued in its place, its writer writing the batch in hand, the words, then ending the link (Peer.writeLoop; the limit's reset at every batch, a no-op, gone), its view kept for it (Peers.leave: views.away, as a bye's `again`), and a far join under way finished rather than dropped at a cut (writeJoin, farJoin, `letting`); two tests: a client cut off joins again from a dump and agrees, its view kept; a writer cut off while blocked on its socket writes its batch and the words; tui core-test 858/1008 (150 skipped), shell-test 1044/1047, term-test 17/17 (load 12-16)
Co-Authored-By: Claude Opus <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
Diffstat (limited to 'runtime/client.zig')
0 files changed, 0 insertions, 0 deletions