Per Hedbor () @ Pike (-) developers forum wrote:
If leftovers.len ever go below 0, something is seriously wrong elsewhere.
There is. The callbacks are seriously hosed, when pipes are involved.
Please review the attached patch and correct it (or tell me what I did wrong). I made an attempt at changing the callback setting to be conforming to Pike 7.6 and later. I know next to nothing about the callbacks, nor in the old, nor in the newer Pikes.
All I can say, is that it compiles and looked like a good idea. But it doesn't work. So, where did I go wrong?