Ticket #3050 defect closed fixed
|Reported by:||ghazel||Owned by:||therve|
(diff, github, buildbot, log)
|Author:||therve, ghazel||Launchpad Bug:|
If a LineReceiver-based protocol switches back and forth between line and data modes several times on the same packet, it can hit the maximum stack recursion depth.
Attached is a patch to fix that in LineReceiver, with a unit test that fails with trunk and passes with the patch applied.