summaryrefslogtreecommitdiffstats
path: root/doc/man3
diff options
context:
space:
mode:
authorOleksandr Tymoshenko <gonzo@bluezbox.com>2020-12-20 11:01:53 -0800
committerMatt Caswell <matt@openssl.org>2021-02-10 09:14:33 +0000
commitdfcfd17f2818cf520ce6381aed9ec3d2fc12170d (patch)
tree761205d3bf6ffd297597820afb69cab02c6236f9 /doc/man3
parent3bc0b621a7baf1a11bc5cad69a287ad093674d68 (diff)
Handle partial data re-sending on ktls/sendfile on FreeBSD
Add a handler for EBUSY sendfile error in addition to EAGAIN. With EBUSY returned the data still can be partially sent and user code has to be notified about it, otherwise it may try to send data multiple times. Reviewed-by: Ben Kaduk <kaduk@mit.edu> Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/13716)
Diffstat (limited to 'doc/man3')
-rw-r--r--doc/man3/SSL_write.pod3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/man3/SSL_write.pod b/doc/man3/SSL_write.pod
index 06bd368c46..9a5a6f0744 100644
--- a/doc/man3/SSL_write.pod
+++ b/doc/man3/SSL_write.pod
@@ -120,7 +120,8 @@ For SSL_sendfile(), the following return values can occur:
=item Z<>>= 0
The write operation was successful, the return value is the number
-of bytes of the file written to the TLS/SSL connection.
+of bytes of the file written to the TLS/SSL connection. The return
+value can be less than B<size> for a partial write.
=item E<lt> 0