response events eventually stop. #18

Open
mikeal opened this Issue Apr 26, 2013 · 0 comments

Comments

Projects
None yet
1 participant

mikeal commented Apr 26, 2013

I've been testing streaming JSON parsing and i ran in to this bug.

https://gist.github.com/mikeal/5471142

If you comment out the json parsing lines (those fail earlier than this bug surfaces due to a jsonstream bug, you can watch the length of all the chunks that get emitted.

In Firefox these events eventually stop and if you kill the server you'll get an exception when trying to read the last of the data.

In Chrome you'll eventually stop getting chunks with any data in them and it'll emit thousands of zero length chunks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment