[exim-cvs] Cancel early-pipe on an observed advertising chan…

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Exim Git Commits Mailing List
日付:  
To: exim-cvs
題目: [exim-cvs] Cancel early-pipe on an observed advertising change
Gitweb: https://git.exim.org/exim.git/commitdiff/4d108e7777e9b8e5fb212c31812fef61529cd414
Commit:     4d108e7777e9b8e5fb212c31812fef61529cd414
Parent:     3531d1a756c5a72dfc825fbfdc7184cd017a7f39
Author:     Jeremy Harris <jgh146exb@???>
AuthorDate: Mon Jun 12 22:13:46 2023 +0100
Committer:  Jeremy Harris <jgh146exb@???>
CommitDate: Tue Jun 20 21:01:12 2023 +0100


    Cancel early-pipe on an observed advertising change
---
 src/src/transports/smtp.c | 3 +++
 1 file changed, 3 insertions(+)


diff --git a/src/src/transports/smtp.c b/src/src/transports/smtp.c
index c72028ce9..24ee577a2 100644
--- a/src/src/transports/smtp.c
+++ b/src/src/transports/smtp.c
@@ -1115,7 +1115,10 @@ if (pending_EHLO)
       write_ehlo_cache_entry(sx);
       }
     else
+      {
       invalidate_ehlo_cache_entry(sx);
+      sx->early_pipe_active = FALSE;    /* cancel further early-pipe on this conn */
+      }


     return OK;        /* just carry on */
     }


--
## subscription configuration (requires account):
## https://lists.exim.org/mailman3/postorius/lists/exim-cvs.lists.exim.org/
## unsubscribe (doesn't require an account):
## exim-cvs-unsubscribe@???
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/