browserify / browserify/http-browserify
response events eventually stop.
- Langage dominant
- JavaScript
- Étoiles
- 245
- Forks
- 104
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
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.
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Piste de recherche
Utilisez le gist lié comme reproduction, en désactivant d’abord ses lignes d’analyse JSON comme décrit. Comparez les événements de chunks de réponse dans Firefox et Chrome, en surveillant les événements qui s’arrêtent, l’exception de lecture finale ou des milliers de chunks de longueur nulle. Le travail est terminé lorsque la réponse en streaming continue de fournir des données sans ces échecs.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- javascript
- Domaine
- web-dev
- Type d'issue
- Bug
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Activité
- À l'abandon
- Clarté
- À clarifier
- Accessibilité débutants
- 25/100