[exim-dev] [Bug 2257] 4.90.1+fixes branch: pipe transport en…

Page principale
Supprimer ce message
Répondre à ce message
Auteur: admin
Date:  
À: exim-dev
Sujet: [exim-dev] [Bug 2257] 4.90.1+fixes branch: pipe transport ends with: Socket operation on non-socket: Error 88
https://bugs.exim.org/show_bug.cgi?id=2257

--- Comment #2 from Arkadiusz Miskiewicz <arekm@???> ---
One more place needs a fix:

--- src/transport.c~    2018-03-21 09:06:27.000000000 +0100
+++ src/transport.c    2018-03-21 09:07:10.317590469 +0100
@@ -263,7 +263,8 @@ for (i = 0; i < 100; i++)
     tls_out.active == fd ? tls_write(FALSE, block, len, more) :
 #endif
 #ifdef MSG_MORE
-    more ? send(fd, block, len, MSG_MORE) :
+    more && !(tctx->options & topt_not_socket)
+      ? send(fd, block, len, MSG_MORE) :
 #endif
     write(fd, block, len);



With this added it works.

--
You are receiving this mail because:
You are on the CC list for the bug.