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

Top Page
Delete this message
Reply to this message
Author: admin
Date:  
To: exim-dev
Subject: [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 #3 from Git Commit <git@???> ---
Git commit:
https://git.exim.org/exim.git/commitdiff/e01d111e5565ac1962804750bd14a16efc7226d6

commit e01d111e5565ac1962804750bd14a16efc7226d6
Author:     Jeremy Harris <jgh146exb@???>
AuthorDate: Wed Mar 21 11:34:22 2018 +0000
Commit:     Jeremy Harris <jgh146exb@???>
CommitDate: Wed Mar 21 11:34:22 2018 +0000


    Pipe transport, part two.  Bug 2257
---
 src/src/transport.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)


diff --git a/src/src/transport.c b/src/src/transport.c
index 073c4ad..f24b779 100644
--- a/src/src/transport.c
+++ b/src/src/transport.c
@@ -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);


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