Commit Graph

4 Commits

Author SHA1 Message Date
TapTap 01045d7d14 feat: add -f/--sendfile for zero-copy file transfer
- Add file_send_sendfile() using sendfile() syscall to send file
  content directly from fd to socket, bypassing userspace memory
- Add use_sendfile field to Config struct (default false)
- Add -f / --sendfile flag parsing in client.c
- sendfile path in send_chunk() used when -f is set without -c or -s
- send_files_multithreaded() falls back to single-threaded when
  sendfile is enabled (loader pipeline becomes unnecessary)
- Add Sendfile (-f) test case to test.py
2026-07-05 16:25:20 +02:00
TapTap e7c23c135b docs: update README with --source-dir/--dest-dir/--save-to-disk and test.py 2026-07-04 22:58:53 +02:00
TapTap 3146cd7cde docs: update README with STATUS_CHUNK protocol and -s flag details 2026-07-04 21:50:45 +02:00
TapTap 95568ae34e Add technical README file 2026-07-04 18:18:48 +02:00