X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/ee25093663e5a72df66ba5b2c2934ea844a12133..44de51a174765f7f5ecb250638cdb3fe64ec67dc:/src/src/deliver.c diff --git a/src/src/deliver.c b/src/src/deliver.c index 3180272a3..de552f4cc 100644 --- a/src/src/deliver.c +++ b/src/src/deliver.c @@ -2,7 +2,7 @@ * Exim - an Internet mail transport agent * *************************************************/ -/* Copyright (c) University of Cambridge 1995 - 2016 */ +/* Copyright (c) University of Cambridge 1995 - 2017 */ /* See the file NOTICE for conditions of use and distribution. */ /* The main code for delivering a message. */ @@ -8551,8 +8551,11 @@ if (cutthrough.fd >= 0 && cutthrough.callout_hold_only) goto fail; else if (pid == 0) /* child: fork again to totally disconnect */ + { + if (running_in_test_harness) millisleep(100); /* let parent debug out */ /* does not return */ smtp_proxy_tls(big_buffer, big_buffer_size, pfd, 5*60); + } DEBUG(D_transport) debug_printf("proxy-proc inter-pid %d\n", pid); close(pfd[0]);