Cancel early-pipe on an observed advertising change
authorJeremy Harris <jgh146exb@wizmail.org>
Mon, 12 Jun 2023 21:13:46 +0000 (22:13 +0100)
committerJeremy Harris <jgh146exb@wizmail.org>
Tue, 20 Jun 2023 20:01:12 +0000 (21:01 +0100)
src/src/transports/smtp.c

index c72028ce92efbada32296ed0ea8f5c10b63f77a5..24ee577a2eb9bda331d21d78eff953d6f8032b38 100644 (file)
@@ -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 */
     }