browserify / browserify/http-browserify
response events eventually stop.
- Lenguaje dominante
- JavaScript
- Estrellas
- 245
- Forks
- 104
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
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.
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Línea de trabajo
Usa el gist enlazado como reproducción y desactiva primero sus líneas de análisis de JSON tal como se describe. Compara los eventos de chunks de la respuesta en Firefox y Chrome, prestando atención a los eventos que se detienen, a la excepción de la lectura final o a miles de chunks de longitud cero. Se considera terminado cuando la respuesta de streaming continúa entregando datos sin esos fallos.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- javascript
- Área
- web-dev
- Tipo de issue
- Error
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Estado de actividad
- Estancado
- Claridad
- Necesita aclaración
- Aptitud para principiantes
- 25/100