Use SSL_sendfile()
from OpenSSL 3.0 in SSLSocket.sendfile
when available.
#99813
Labels
SSL_sendfile()
from OpenSSL 3.0 in SSLSocket.sendfile
when available.
#99813
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 inSSLSocket.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
SSL_sendfile
when available #99907The text was updated successfully, but these errors were encountered: