On 20/01/2022 13:25, Jonathan Valliere wrote:
The old method was unsafe from a concurrency standpoint. This switching logic should be in a filter.
Agreed. StartTLS is by itself very intrusive and I think it deserves to be made a MINA filter, instead of expecting MINA to be twisted in a way that is not natural.
Actually, with such a filter, we wouldn't even require the flag you have added as a substitute for the session attribute.
Thanks Jonathan ! -- *Emmanuel Lécharny - CTO* 205 Promenade des Anglais – 06200 NICE T. +33 (0)4 89 97 36 50 P. +33 (0)6 08 33 32 61 [email protected] https://www.busit.com/ --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
