Ratatoskr/src/client
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Void 77edebff9c client: watchdog, resend on reload, outbox for every send, no in-place client restart
Sends have no timeout and sync polls do, so a dead connection leaves a send
SENDING forever with no request reaching the server while its echo looked
delivered. A watchdog (send pending past 20 s, sync ERROR/STOPPED for 30 s)
calls a guarded reload; what the reload interrupts is sent again under its
own txn id. Uploads and stickers go through the outbox. Resend takes a fresh
txn id while the SDK still holds the failed echo. The resume-sync recovery no
longer calls stopClient/startClient, which closes the rust crypto for good
("null pointer passed to rust" on later encrypted sends).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-12 21:31:29 +00:00
..
initMatrix.test.ts client: watchdog, resend on reload, outbox for every send, no in-place client restart 2026-11-12 21:31:29 +00:00
initMatrix.ts client: watchdog, resend on reload, outbox for every send, no in-place client restart 2026-11-12 21:31:29 +00:00
resumeSync.test.ts client: watchdog, resend on reload, outbox for every send, no in-place client restart 2026-11-12 21:31:29 +00:00
resumeSync.ts client: watchdog, resend on reload, outbox for every send, no in-place client restart 2026-11-12 21:31:29 +00:00
secretStorageKeys.js Remove unused javascript (#2470) 2025-08-29 19:34:52 +10:00
watchdog.test.ts client: watchdog, resend on reload, outbox for every send, no in-place client restart 2026-11-12 21:31:29 +00:00
watchdog.ts client: watchdog, resend on reload, outbox for every send, no in-place client restart 2026-11-12 21:31:29 +00:00