Commit Graph

6 Commits

Author SHA1 Message Date
TapTap d0c57ba2bb docs: update README with sendfile details and examples 2026-07-05 16:33:21 +02:00
TapTap 2fb7203c82 feat: sendfile works with -m, error on -f + -c/-s
- load_files_multithreaded skips file_load_data when sendfile is active
- -f + -m works: sendfile bypasses loader, sender uses sendfile directly
- -f combined with -c or -s prints error and exits with rc=1
- Add Sendfile + Multithreading test case
2026-07-05 16:31:08 +02:00
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