diff options
| author | murilo ijanc | 2026-03-27 21:54:25 -0300 |
|---|---|---|
| committer | murilo ijanc | 2026-03-27 21:54:25 -0300 |
| commit | b4228aa74f6ef4720167236cb072b84d94aa6d2a (patch) | |
| tree | 5a43a68455a06009d0c288e786a4bc000a406a8c /src/bin/tpd.rs | |
| parent | 75fddf425102369828f7e8366ebdad4ea086fd07 (diff) | |
| download | tesseras-paste-b4228aa74f6ef4720167236cb072b84d94aa6d2a.tar.gz | |
Add chunked paste support for content up to 1.44 MB
Large pastes are split into 8 KiB chunks on the client side,
each stored separately in a dedicated chunks/ directory.
A version-2 manifest paste lists the chunk hashes and is
announced to the DHT; chunks replicate via periodic republish
with per-put throttling to avoid rate-limit bans.
- New PUTC/PUTM protocol commands for chunks and manifests
- Client-side chunking avoids O(n^2) base58 on large content
- HTTP handler reassembles chunks directly from store
- DHT sync routes incoming chunks to chunks/ directory
- Republish interval reduced to 5 min with 200ms throttle
- tp.1 updated with new 1.44 MB limit
Diffstat (limited to 'src/bin/tpd.rs')
0 files changed, 0 insertions, 0 deletions