On Mar 11, 2021, at 4:12 AM, Peter Westlake <peter.westlake@pobox.com> wrote:

On Wed, 10 Mar 2021, at 23:11, Glyph wrote:

Would you mind filing a ticket in trac, or digging one up if you can
find it? This problem rings a bell, and I think I might actually have
some code for this lying around somewhere already.

Here is it: https://twistedmatrix.com/trac/ticket/10125#ticket



I did indeed have a half-finished experiment to fix this.  The fix is now finished and in review here: https://twistedmatrix.com/trac/ticket/10125#comment:1 .

If you could review it thoroughly enough, I could land it.