Re: [Twisted-Python] startTLS errors not propagating to Factory

2021-04-29 Thread Glyph
> On Apr 29, 2021, at 3:09 AM, Richard van der Hoff wrote: > Right! That sounds plausible, and certainly gives me some places to poke. > I'll have another look later. Thanks very much! > Glad to help. Looking forward to the resolution on this! For what it's worth: it may also be useful to exp

Re: [Twisted-Python] startTLS errors not propagating to Factory

2021-04-29 Thread Richard van der Hoff
On 29/04/2021 07:36, Glyph wrote: In my tests at least, TLSMemoryBIOProtocol.connectionLost is doing exactly the right thing - it is called with an unhelpful reason, but substitutes back in the helpful reason which has already been stashed. Rather, the problem, as I see it, is that it's not

Re: [Twisted-Python] IDNA problem in twisted

2021-04-29 Thread Barry Scott
On Wednesday, 28 April 2021 06:52:30 BST Glyph wrote: > > > On Apr 27, 2021, at 8:58 PM, Wim Lewis wrote: > > > > On Thursday, April 8, 2021 8:43:35 AM PDT, Barry Scott wrote: > >> We just added a patch to our twisted to prevent twisted from doing idna > >> validation. > >> _idnaBytes and _idna