Skip to content

Implement chunked file transfer protocol for improved file handling#278

Open
llogen wants to merge 2 commits into
mainfrom
feat/reworkFileTransfer
Open

Implement chunked file transfer protocol for improved file handling#278
llogen wants to merge 2 commits into
mainfrom
feat/reworkFileTransfer

Conversation

@llogen

@llogen llogen commented Jan 22, 2026

Copy link
Copy Markdown
Contributor

Replaces the one-shot full-file transfer with a robust chunked protocol.

  • Concurrent uploads/downloads keyed by unique transfer IDs
  • 1MB streamed chunks for large files
  • Stateful transfers with per-chunk acknowledgments and recovery hints

All stream sends are serialized (connect forbids concurrent Send), and
in-flight transfers are torn down on disconnect so shutdown can't hang.

@llogen llogen requested a review from jenstopp January 22, 2026 12:54
@llogen llogen force-pushed the feat/reworkFileTransfer branch 5 times, most recently from da4870b to 683e6f3 Compare January 22, 2026 13:38
@llogen llogen requested a review from Copilot January 22, 2026 13:41

This comment was marked as outdated.

This comment was marked as outdated.

This comment was marked as outdated.

@llogen llogen force-pushed the feat/reworkFileTransfer branch 2 times, most recently from d1a5840 to c32ba5a Compare January 27, 2026 08:47
@llogen llogen force-pushed the feat/reworkFileTransfer branch 2 times, most recently from 5d93a68 to 0f14b5e Compare February 9, 2026 14:09
@llogen llogen requested a review from Copilot February 9, 2026 14:11

This comment was marked as resolved.

This comment was marked as outdated.

This comment was marked as resolved.

@llogen llogen force-pushed the feat/reworkFileTransfer branch from 3a012ca to 87fb73a Compare February 9, 2026 15:08
@jenstopp jenstopp changed the title feat: Implement chunked file transfer protocol for improved file handling Implement chunked file transfer protocol for improved file handling Mar 16, 2026
llogen added 2 commits June 8, 2026 11:24
This change replaces the simple full-file transfer mechanism with a robust
chunked protocol that supports:
- Concurrent uploads/downloads with unique transfer IDs
- 1MB chunk streaming to support large files
- Transfer state management with acknowledgments
- Round-robin scheduling for fair resource usage during concurrent transfers

Signed-off-by: llogen <christoph.lange@blindspot.software>
Signed-off-by: llogen <christoph.lange@blindspot.software>
@llogen llogen force-pushed the feat/reworkFileTransfer branch from 87fb73a to a70443c Compare June 8, 2026 09:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants