TLS: do decent PIPELINING under TLS, at least with GnuTLS
[exim.git] / src / src / transports / smtp.c
index 8f1e0bff8ac7592fe4a303b93c9eb68b8732cca5..454c0f74dbe15b8a9f8b7ee78de05420897e794b 100644 (file)
@@ -2618,7 +2618,8 @@ for (fd_bits = 3; fd_bits; )
     else
       {
       for (nbytes = 0; rc - nbytes > 0; nbytes += i)
-       if ((i = tls_write(FALSE, buf + nbytes, rc - nbytes)) < 0) return;
+       if ((i = tls_write(FALSE, buf + nbytes, rc - nbytes, FALSE)) < 0)
+         return;
       }
   else if (fd_bits & 2)
     FD_SET(proxy_fd, &fds);