Cancel early-pipe on an observed advertising change
[exim.git] / 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 */
     }