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 vstinner
Recipients asvetlov, giampaolo.rodola, vstinner, yselivanov
Date 2018-11-06.21:37:11
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1541540231.89.0.788709270274.issue35179@psf.upfronthosting.co.za>
In-reply-to
Content
The manual page says:

       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.)

I understand that you can pass a larger length, but a single sendfile() function call will never copy more than 0x7ffff000 bytes. I see nothing wrong here.

If you want to be sure, try to copy more bytes than 0x7ffff000 and see what happens :-) Use strace to check system calls.
History
Date User Action Args
2018-11-06 21:37:11vstinnersetrecipients: + vstinner, giampaolo.rodola, asvetlov, yselivanov
2018-11-06 21:37:11vstinnersetmessageid: <1541540231.89.0.788709270274.issue35179@psf.upfronthosting.co.za>
2018-11-06 21:37:11vstinnerlinkissue35179 messages
2018-11-06 21:37:11vstinnercreate