davedoesdev / bpmux

Node stream multiplexing with back-pressure on each stream
MIT License
18 stars 2 forks source link

Get working on Node 10 #3

Closed davedoesdev closed 6 years ago

davedoesdev commented 6 years ago

Currently broken because frame-stream (correctly) just pushes buffers but Node has changed (yet again) stream implementation to have a buffer list and return concatenated buffers received. (readable is emitted in nextTick so all the buffers accumulate in the linked list of buffers). This means frameEnd gets lost.

Fix will be to pipe the frame-stream to our handler.

davedoesdev commented 6 years ago

Fixed on master