On Jun 15, 2013, at 19:54, Ryan Schmidt wrote:

> On Jun 15, 2013, at 19:06, Ryan Schmidt wrote:
> 
>> events.js:72
>>       throw er; // Unhandled 'error' event
>>             ^
>> Error: stream.push() after EOF
>>   at readableAddChunk (_stream_readable.js:146:15)
>>   at Readable.push (_stream_readable.js:127:10)
>>   at Transform.push (_stream_transform.js:140:32)
>>   at Socket.readGZip 
>> (/path/to/txjs-2013-streams-talk/streams/gzipstream.js:16:12)
>>   at Socket.EventEmitter.emit (events.js:92:17)
>>   at emitReadable_ (_stream_readable.js:408:10)
>>   at emitReadable (_stream_readable.js:404:5)
>>   at readableAddChunk (_stream_readable.js:165:9)
>>   at Socket.Readable.push (_stream_readable.js:127:10)
>>   at Pipe.onread (net.js:525:21)
>> 
>> 
>> 
>> node 0.10.11
>> 
>> OS X 10.8.4
> 
> 0.10.4, which was current at the time that example was published, doesn't 
> have this error. 0.10.5 does.

Upon further investigation, I've found that in fact the example silently 
discards the last chunk of data. 0.10.4 and earlier silently ignored this 
problem, while 0.10.5 and later now correctly raise an error about that.

I found a fix for the example and submitted a patch here:

https://github.com/polotek/txjs-2013-streams-talk/issues/1


-- 
-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to