Christian Heimes <li...@cheimes.de> added the comment:

sendfile() only works for plain HTTP. For technical reasons it does not work 
for HTTPS (*). These days majority of services use HTTPS. Therefore the 
usefulness of sendfile() patch is minimal.

(*) It is possible to use sendfile() for TLS connections, but the feature 
requires a Kernel module that provides kTLS offloading feature, 
https://www.kernel.org/doc/html/latest/networking/tls-offload.html . In user 
space it requires OpenSSL 3.0.0 with kTLS support. 3.0.0 is currently under 
development.

----------
nosy: +christian.heimes
versions: +Python 3.10 -Python 3.5

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue13559>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to