summaryrefslogtreecommitdiffstats
path: root/doc/man3/BIO_connect.pod
diff options
context:
space:
mode:
authorTodd Short <tshort@akamai.com>2021-09-08 22:23:04 +0200
committerTodd Short <todd.short@me.com>2022-03-10 16:42:43 +0100
commita3e53d56831adb60d6875297b3339a4251f735d2 (patch)
treec931c5b2cc9a63f80e4f3ae3a366b70064b897ae /doc/man3/BIO_connect.pod
parentDrop ariacbc demo binary (diff)
downloadopenssl-a3e53d56831adb60d6875297b3339a4251f735d2.tar.xz
openssl-a3e53d56831adb60d6875297b3339a4251f735d2.zip
Add TFO support to socket BIO and s_client/s_server
Supports Linux, MacOS and FreeBSD Disabled by default, enabled via `enabled-tfo` Some tests Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Tim Hudson <tjh@openssl.org> (Merged from https://github.com/openssl/openssl/pull/8692)
Diffstat (limited to 'doc/man3/BIO_connect.pod')
-rw-r--r--doc/man3/BIO_connect.pod9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/man3/BIO_connect.pod b/doc/man3/BIO_connect.pod
index 3134ccb8c3..dc9a64b040 100644
--- a/doc/man3/BIO_connect.pod
+++ b/doc/man3/BIO_connect.pod
@@ -73,6 +73,15 @@ port.
When creating an IPv6 socket, make it only listen for IPv6 addresses
and not IPv4 addresses mapped to IPv6.
+=item BIO_SOCK_TFO
+
+Enables TCP Fast Open on the socket. Uses appropriate APIs on
+supported operating systems, including Linux, macOS and FreeBSD. Can
+be used with BIO_connect(), BIO_set_conn_mode(), BIO_set_bind_mode(),
+and BIO_listen().
+On Linux kernels before 4.14, use BIO_set_conn_address() to specify
+the peer address before starting the TLS handshake.
+
=back
These flags are bit flags, so they are to be combined with the