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, vstinner, yselivanov
Date 2018-06-07.10:44:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1528368275.57.0.592728768989.issue33793@psf.upfronthosting.co.za>
In-reply-to
Content
_SelectorTransport has the class attribute:
    max_size = 256 * 1024  # Buffer size passed to recv().

But _ProactorReadPipeTransport uses an hardcoded chunk size of 32 KiB. It would be nice to allow to configure this size.

By the way, _SelectorTransport.max_size has no public API to change the default value for the whole process. The attribute can only be set per socket, since _SelectorTransport is private. By the way, is the attribute documented?
History
Date User Action Args
2018-06-07 10:44:35vstinnersetrecipients: + vstinner, asvetlov, yselivanov
2018-06-07 10:44:35vstinnersetmessageid: <1528368275.57.0.592728768989.issue33793@psf.upfronthosting.co.za>
2018-06-07 10:44:35vstinnerlinkissue33793 messages
2018-06-07 10:44:35vstinnercreate