Hello,
I want to unshift chunk back on the source to reparse it later on.
Unfortunately this has brought me to following trap (I hope I have analyzed it correct):
1. source emits "readable"
2. A listener calls next.read(0) to start reading
3. next._read() calls "source.unshift(chunk)"
4. because source is currently freeing its buffer it does not emit "readable"
5. without a new "readable" next does not parse anything again until we manually call "next.read(0)" again
What else could I do to push back chunk I want to parse on the next "_read"?
Bodo