Message329366
On Linux maximum data size for sendfile call is 0x7ffff000:
sendfile() will transfer at most 0x7ffff000 (2,147,479,552) bytes, returning the number of bytes actually
transferred. (This is true on both 32-bit and 64-bit systems.)
Limiting max block size to this value on all OSes makes sense: splitting transferring the very huge file into several syscalls doesn't hurt performance anyway.
Windows uses DWORD for size in TransmitFile, so the size is limited as well. |
|
Date |
User |
Action |
Args |
2018-11-06 16:41:31 | asvetlov | set | recipients:
+ asvetlov, ronaldoussoren, ned.deily |
2018-11-06 16:41:31 | asvetlov | set | messageid: <1541522491.35.0.788709270274.issue35179@psf.upfronthosting.co.za> |
2018-11-06 16:41:31 | asvetlov | link | issue35179 messages |
2018-11-06 16:41:31 | asvetlov | create | |
|