aboutsummaryrefslogtreecommitdiffstats
path: root/docs/transfers-v1.md
diff options
context:
space:
mode:
authorChristophe Besson <cbesson@gmail.com>2026-09-24 10:12:37 +0200
committerChristophe Besson <cbesson@gmail.com>2026-09-24 16:45:38 +0200
commit02aeb0a751dce80fac1bfca31b6f736558953b77 (patch)
tree99c3accd0adab829e07256e36459a36f0516c143 /docs/transfers-v1.md
parent219f3f7d1caafb45a9f7118f9792f6881501b3e7 (diff)
downloadmeshbay-02aeb0a751dce80fac1bfca31b6f736558953b77.tar.gz
refactor(node): move uploads out of webrtc_server
UploadMixin in transport/webrtc/upload_handlers.py, with the upload cap; _upload_chunk moved unchanged, _append_chunk joins webrtc/disk.py. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'docs/transfers-v1.md')
-rw-r--r--docs/transfers-v1.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/transfers-v1.md b/docs/transfers-v1.md
index 711c861..f9c3675 100644
--- a/docs/transfers-v1.md
+++ b/docs/transfers-v1.md
@@ -58,7 +58,7 @@ and encrypts one 1 MB chunk, waits for room on the channel
learns that a download started, and never learns that one ended.** There is
nothing to count and nothing to cap. This is the central fact of this work.
-**An upload is half-visible.** `_do_file_upload` (`webrtc_server.py:4471`)
+**An upload is half-visible.** `_do_file_upload` (`webrtc/upload_handlers.py`)
keeps `self._uploads[f"{rel_dir}/{filename}"]` with `next_index` and a `.part`
file on disk. That state is **per session object and in memory**: a browser
that disconnects mid-upload leaves a `.part` file on the operator's disk that