Files
kumomta/docs
Wez Furlong 399c8505ae avoid potential cache thrashing issue with remember_broken_tls
A customer reported a really long log record like:

```
KumoMTA internal: failed to connect to any candidate hosts: TLS
handshake failed: tls handshake eof, will re-connect in the clear
because opportunistic_tls_reconnect_on_failed_handshake=true, TLS
handshake failed: tls handshake eof ...
```

the site in question had just a single address in its connection plan.

I don't see how we could loop like this unless the cache that is
used to indicate that TLS is broken is being thrashed and the value
that we write to it in response to this event triggering is
never actually sticking in the cache.

This commit introduces a per-session variable to flag that TLS
is broken for this particular site, so that we don't have to rely
on the cached value when we're about to loop and retry.
2025-01-24 19:34:11 -07:00
..
2023-10-18 16:18:56 -06:00
2024-01-24 15:40:19 -05:00