Welcome! Log In Create A New Profile

Advanced

[PATCH 0 of 2] KTLS / SSL_sendfile() support

Maxim Dounin
September 27, 2021 10:06AM
Hello!

This patch series add kernel TLS / SSL_sendfile() support.
Works on FreeBSD 13.0+ and Linux with kernel 4.13+ (at least 5.2
is recommended, tested with 5.11).

The following questions need additional testing/attention:

- What about EINTR? Looks like it simply results in SSL_ERROR_WANT_WRITE,
so might need extra checking to make sure there will be another write
event.

- What about SSL_sendfile(), early data and write blocking?
Ref. c->ssl->write_blocked, 7431:294162223c7c by pluknet@.
Looks like it is not a problem with SSL_sendfile(), but needs
further checking.

- What about FreeBSD aio sendfile (aka SF_NODISKIO)? Might be
easy enough to support.

Review and testing appreciated.

--
Maxim Dounin

_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[PATCH 0 of 2] KTLS / SSL_sendfile() support

Maxim Dounin 995 September 27, 2021 10:06AM

[PATCH 1 of 2] Style: added missing "static" specifiers

Maxim Dounin 145 September 27, 2021 10:06AM

[PATCH 2 of 2] SSL: SSL_sendfile() support with kernel TLS

Maxim Dounin 197 September 27, 2021 10:06AM

Re: [PATCH 2 of 2] SSL: SSL_sendfile() support with kernel TLS

Sergey Kandaurov 245 October 18, 2021 11:28AM

Re: [PATCH 2 of 2] SSL: SSL_sendfile() support with kernel TLS

Sergey Kandaurov 133 October 18, 2021 06:10PM

Re: [PATCH 2 of 2] SSL: SSL_sendfile() support with kernel TLS

Maxim Dounin 130 October 18, 2021 09:56PM

Re: [PATCH 2 of 2] SSL: SSL_sendfile() support with kernel TLS

Sergey Kandaurov 160 October 19, 2021 06:50AM

Re: [PATCH 2 of 2] SSL: SSL_sendfile() support with kernel TLS

Sergey Kandaurov 53 November 24, 2022 04:22AM

Re: [PATCH 2 of 2] SSL: SSL_sendfile() support with kernel TLS

Maxim Dounin 85 November 24, 2022 01:32PM

Re: [PATCH 0 of 2] KTLS / SSL_sendfile() support

Sergey Kandaurov 132 October 12, 2021 12:50PM

Re: [PATCH 0 of 2] KTLS / SSL_sendfile() support

Maxim Dounin 197 October 13, 2021 09:28AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 102
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready