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
This commit is contained in:
2026-07-05 16:31:08 +02:00
parent 01045d7d14
commit 2fb7203c82
3 changed files with 11 additions and 8 deletions
+1
View File
@@ -49,6 +49,7 @@ TEST_CASES = [
"flags": ["-m", "-c", "-s"],
},
{"name": "Sendfile (-f)", "flags": ["-f"]},
{"name": "Sendfile + Multithreading (-f -m)", "flags": ["-f", "-m"]},
]