Message305837
Le 08/11/2017 à 14:40, Giampaolo Rodola' a écrit :
> Exposing sendfile() should be straightforward.
sendfile() is not useful for data that's read from (or written to) memory.
> As for a readinto()-like functionality: the only thing I'm aware of is splice() syscall but it's Linux only.
This is not the abstraction level we are talking about. The problem is
the Protocol API imposes copies by default (data_received() gives you an
arbitrarily-sized bytes object that doesn't match how your protocol
chunks data). |
|
Date |
User |
Action |
Args |
2017-11-08 13:42:30 | pitrou | set | recipients:
+ pitrou, vstinner, giampaolo.rodola, asvetlov, yselivanov |
2017-11-08 13:42:29 | pitrou | link | issue31970 messages |
2017-11-08 13:42:29 | pitrou | create | |
|