Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

response events eventually stop. #18

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

response events eventually stop. #18

mikeal opened this issue Apr 26, 2013 · 0 comments

Comments

@mikeal
Copy link

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.

guymguym added a commit to noobaa/noobaa-core that referenced this issue Feb 7, 2015
keep browserify to 8.0.3 instead of 8.1.3 because the new version has
an issue with http requests that response doesn’t emit events. maybe
related to this? browserify/http-browserify#18
anyway for now stick to 8.0.3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant