[nodejs] stream.Transform events

2013-04-13 Thread Ruud
Hey, I'm trying to create a streaming parser/transformer for a special web proxy project. The 'streams2' stream.Transform base class makes this quite easy, but trying to benchmark some thing I've hit a problem: it seems no (end) events are emitted. The docs don't list any events under this

Re: [nodejs] stream.Transform events

2013-04-13 Thread Dan Milon
You're explicitly asking it not to emit an end event by passing end: false to pipe. On 14 Απρ 2013, at 12:01 π.μ., Ruud r.bij...@gmail.com wrote: Hey, I'm trying to create a streaming parser/transformer for a special web proxy project. The 'streams2' stream.Transform base class makes

Re: [nodejs] stream.Transform events

2013-04-13 Thread Ruud
Okay, now I feel stupid. Thank you for your response. I was able to test and confirm that the stream.Transform and Passtrough DO emit an end event (and all other relevant events). Not sure yet what is wrong with my application code, but I'll find out tomorrow. I think that the code in the SO