summaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
authortiptorrent development team <tiptorrent@soleta.eu>2021-12-23 16:27:06 +0100
committertiptorrent development team <tiptorrent@soleta.eu>2021-12-23 19:11:37 +0100
commit35f3191e4c5b3c7d0df425c7c8b82fea4df66b74 (patch)
tree0ea3b7ebc42e8a5c42c85af87015fb29e781b341 /Makefile.am
parent4e2ba97629e0daf378b133f53b0b0d9ad25d155e (diff)
use fallocate() to store the chunks in the file
The client sends a HTTP HEAD request to the server to check that the file exists and to get the file size, then it calls open() to create the file and fallocate() to preallocate the bytes. The client calculates the offset based on the chunk number and it calls lseek().
Diffstat (limited to 'Makefile.am')
0 files changed, 0 insertions, 0 deletions