#41648Endless loop in flushOutputBuffers (#40126 also in 4.6.12)
Description
I ran into the same issue as described in #40126 in 4.6.12 and could sucessfully fix the problem by applying the patch which was applied to 6.x.
Please find a patch attached.
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.