[exim-cvs] TFO: change the default for hosts_try_fastopen, …

Inizio della pagina
Delete this message
Reply to this message
Autore: Exim Git Commits Mailing List
Data:  
To: exim-cvs
Oggetto: [exim-cvs] TFO: change the default for hosts_try_fastopen, enabling use by default
Gitweb: https://git.exim.org/exim.git/commitdiff/efad2f414afac1b1456299e79b1cdc705b84b71e
Commit:     efad2f414afac1b1456299e79b1cdc705b84b71e
Parent:     2d58d8154ade6dd9b1cd8d01450ac0b7b53ab62a
Author:     Jeremy Harris <jgh146exb@???>
AuthorDate: Sun May 26 15:42:32 2019 +0100
Committer:  Jeremy Harris <jgh146exb@???>
CommitDate: Sun May 26 16:46:19 2019 +0100


    TFO: change the default for hosts_try_fastopen, enabling use by default
---
 doc/doc-docbook/spec.xfpt | 2 +-
 doc/doc-txt/ChangeLog     | 4 ++++
 src/src/transports/smtp.c | 2 +-
 test/stdout/0572          | 2 +-
 4 files changed, 7 insertions(+), 3 deletions(-)


diff --git a/doc/doc-docbook/spec.xfpt b/doc/doc-docbook/spec.xfpt
index 856bb0c..bfacdef 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 9ee8c22..6280174 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 94c1fe4..3ed2166 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 0ea3811..1d37a81 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