This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author asvetlov
Recipients asvetlov, ned.deily, ronaldoussoren
Date 2018-11-06.16:41:31
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1541522491.35.0.788709270274.issue35179@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2018-11-06 16:41:31asvetlovsetrecipients: + asvetlov, ronaldoussoren, ned.deily
2018-11-06 16:41:31asvetlovsetmessageid: <1541522491.35.0.788709270274.issue35179@psf.upfronthosting.co.za>
2018-11-06 16:41:31asvetlovlinkissue35179 messages
2018-11-06 16:41:31asvetlovcreate