From e01d111e5565ac1962804750bd14a16efc7226d6 Mon Sep 17 00:00:00 2001 From: Jeremy Harris Date: Wed, 21 Mar 2018 11:34:22 +0000 Subject: 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 073c4ad65..f24b7794b 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); -- cgit v1.2.3