Cutthrough: fix multi-message initiating connections. Bug 2230
[exim.git] / src / src / verify.c
index e40a7fc2737be0911b0a755599d2d878b3b594cc..dd54518480fbc8962588064aa9fa126dd78a16b4 100644 (file)
@@ -1380,6 +1380,7 @@ if(fd >= 0)
   _cutthrough_puts(US"QUIT\r\n", 6);   /* avoid recursion */
   _cutthrough_flush_send();
   cutthrough.fd = -1;                  /* avoid recursion via read timeout */
+  cutthrough.nrcpt = 0;                        /* permit re-cutthrough on subsequent message */
 
   /* Wait a short time for response, and discard it */
   cutthrough_response(fd, '2', NULL, 1);