summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2019-05-26 15:42:32 +0100
committerJeremy Harris <jgh146exb@wizmail.org>2019-05-26 16:46:19 +0100
commitefad2f414afac1b1456299e79b1cdc705b84b71e (patch)
tree4f686300336e1aa592e0ddef948558d97a5dd323
parent2d58d8154ade6dd9b1cd8d01450ac0b7b53ab62a (diff)
TFO: change the default for hosts_try_fastopen, enabling use by default
-rw-r--r--doc/doc-docbook/spec.xfpt2
-rw-r--r--doc/doc-txt/ChangeLog4
-rw-r--r--src/src/transports/smtp.c2
-rw-r--r--test/stdout/05722
4 files changed, 7 insertions, 3 deletions
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 &<<SECDANE>>&.
-.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