From: Jeremy Harris Date: Sun, 26 May 2019 14:42:32 +0000 (+0100) Subject: TFO: change the default for hosts_try_fastopen, enabling use by default X-Git-Tag: exim-4.93-RC0~171 X-Git-Url: https://git.exim.org/exim.git/commitdiff_plain/efad2f414afac1b1456299e79b1cdc705b84b71e TFO: change the default for hosts_try_fastopen, enabling use by default --- diff --git a/doc/doc-docbook/spec.xfpt b/doc/doc-docbook/spec.xfpt index 856bb0c15..bfacdef81 100644 --- a/doc/doc-docbook/spec.xfpt +++ b/doc/doc-docbook/spec.xfpt @@ -24706,7 +24706,7 @@ a DANE-verified TLS connection is made to that host; there will be no fallback to in-clear communication. See section &<>&. -.option hosts_try_fastopen smtp "host list&!!" unset +.option hosts_try_fastopen smtp "host list&!!" * .cindex "fast open, TCP" "enabling, in client" .cindex "TCP Fast Open" "enabling, in client" .cindex "RFC 7413" "TCP Fast Open" diff --git a/doc/doc-txt/ChangeLog b/doc/doc-txt/ChangeLog index 9ee8c22df..62801740b 100644 --- a/doc/doc-txt/ChangeLog +++ b/doc/doc-txt/ChangeLog @@ -120,6 +120,10 @@ JH/23 The build default is now for TLS to be included; the SUPPORT_TLS define JH/24 Fix duplicated logging of peer name/address, on a transport connection- reject under TFO. +JH/25 The smtp transport option "hosts_try_fastopen" now enables all hosts by + default. If the platfor supports and has the facility enabled, it will + be requested on all coneections. + Exim version 4.92 ----------------- diff --git a/src/src/transports/smtp.c b/src/src/transports/smtp.c index 94c1fe40c..3ed2166ce 100644 --- a/src/src/transports/smtp.c +++ b/src/src/transports/smtp.c @@ -244,7 +244,7 @@ smtp_transport_options_block smtp_transport_option_defaults = { .hosts_require_dane = NULL, .dane_require_tls_ciphers = NULL, #endif - .hosts_try_fastopen = NULL, + .hosts_try_fastopen = US"*", #ifndef DISABLE_PRDR .hosts_try_prdr = US"*", #endif diff --git a/test/stdout/0572 b/test/stdout/0572 index 0ea381190..1d37a8195 100644 --- a/test/stdout/0572 +++ b/test/stdout/0572 @@ -58,7 +58,7 @@ no_hosts_randomize hosts_require_auth = hosts_try_auth = hosts_try_chunking = * -hosts_try_fastopen = +hosts_try_fastopen = * hosts_try_prdr = * interface = ip4.ip4.ip4.ip4 keepalive