moonsikpark · GitHub

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

Read the original on github.com ↗