Re: [exim] stuck exim processes

Top Page
Delete this message
Reply to this message
Author: Jeremy Harris
Date:  
To: exim-users
Subject: Re: [exim] stuck exim processes
On 22/03/2022 20:44, Kurt Jaeger via Exim-users wrote:
>> diff --git a/src/src/transports/smtp.c b/src/src/transports/smtp.c
>> index 6a979a243..f97b0c625 100644
>> --- a/src/src/transports/smtp.c
>> +++ b/src/src/transports/smtp.c
>> @@ -4800,7 +4800,11 @@ if (sx->send_quit || tcw_done && !tcw)
>>   # ifdef EXIM_TCP_CORK
>>       (void) setsockopt(sx->cctx.sock, IPPROTO_TCP, EXIM_TCP_CORK, US &on, sizeof(on));
>>   # endif
>> -    tls_close(sx->cctx.tls_ctx, TLS_SHUTDOWN_WAIT);
>> +    if (sx->send_tlsclose)
>> +      {
>> +      tls_close(sx->cctx.tls_ctx, TLS_SHUTDOWN_WAIT);
>> +      sx->send_tlsclose = FALSE;
>> +      }
>>       sx->cctx.tls_ctx = NULL;
>>       }
>>   #endif

>>
>> Exim has been running for about a week using this patch and I haven't
>> experienced any issues.
>
> This patch allowed me to deliver the mail to the notorious case
> I encountered.


The committed patch for this subthread (I'm unclear whether you
think you have two different problems) was 2ead369f84.
--
Cheers,
Jeremy