-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
Open
Labels
stdlibPython modules in the Lib dirPython modules in the Lib dirtopic-SSLtype-featureA feature request or enhancementA feature request or enhancement
Description
Feature or enhancement
SSL_sendfile()
is a function added in OpenSSL 3.0. If we use this function, we can offload TLS to the kernel, which can hugely improve performance. However, both the kernel and OpenSSL must be built with kTLS support.
I would like to prepare a PR that enables SSL_sendfile()
use in SSLSocket.sendfile
.
Pitch
This would enable use of kernel TLS, which will yield significant increase of TLS performance in systems with kTLS support.
Previous discussion
https://discuss.python.org/t/sslsocket-sendfile-and-kernel-tls/18886
Linked PRs
illia-v
Metadata
Metadata
Assignees
Labels
stdlibPython modules in the Lib dirPython modules in the Lib dirtopic-SSLtype-featureA feature request or enhancementA feature request or enhancement