summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2016-04-08 19:37:13 +0100
committerJeremy Harris <jgh146exb@wizmail.org>2016-04-08 19:37:13 +0100
commitb9d9c5a27bea03802901872e0e056fb97b4c30a6 (patch)
tree61e74b07329757389feafed4c34194a803f9174e /src
parentd223e9344978ee88ad04a231f00f7540d2b841e2 (diff)
Testsuite: 0322 (pipelining errors) avoid triggering SIGPIPE
This was timing-dependent; if the exim closed the connection before the script wrote to it _after_ triggerring an error, EPIPE/SIGPIPE. Unexplained as yet: why runtest (perl) saw this as a 141 server returncode (NB: 141-128 = 13 = SIGPIPE, the shell behaviour) when "perldoc -v '$?'" (which runtest is coded to) says that a signum should be in the top nibble of 16b.
Diffstat (limited to 'src')
-rw-r--r--src/src/transports/smtp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/src/transports/smtp.c b/src/src/transports/smtp.c
index 975fc16aa..6741c01a6 100644
--- a/src/src/transports/smtp.c
+++ b/src/src/transports/smtp.c
@@ -2958,6 +2958,7 @@ writing RSET might have failed, or there may be other addresses whose hosts are
specified in the transports, and therefore not visible at top level, in which
case continue_more won't get set. */
+HDEBUG(D_transport|D_acl|D_v) debug_printf(" SMTP(close)>>\n");
(void)close(inblock.sock);
#ifndef DISABLE_EVENT