Files
bbs/internal/xfer
Claude 4d8f8a9f11 ZMODEM: resume, and zstd compression with CANZSTD/ZTZSTD
The receiver sets CANZSTD (0x40) in the ZF1 of its ZRINIT. The sender
sets ZTZSTD (8) in the ZF2 of a ZFILE to send that file as independent
zstd frames (at most 64 KiB of the file each, halved on each ZRPOS).
All positions stay offsets in the file, and the receiver writes and
acknowledges only whole frames, so ZRPOS recovery and resume work as
before. Legacy peers do not set the bit and get plain ZMODEM.

Uploads of a known size that stop early are kept for 7 days and resumed
by ZRPOS when the same user sends the same file again. Downloads seek on
ZRPOS (the download reader did not seek before). A second ZRINIT after
the first is now dropped, so its stale ZRPOS no longer sends a segment
again.

zmodem_zstd in [general] turns zstd off.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRR1WNeCEtXUcjE8RgY
2026-11-20 22:04:05 +00:00
..
2026-10-18 21:26:18 +00:00
2026-10-18 21:26:18 +00:00
2026-10-18 21:26:18 +00:00
2026-10-18 21:26:18 +00:00
2026-10-18 21:26:18 +00:00
2026-10-18 21:26:18 +00:00