felixge / felixge/node-stream-cache

write after end

Aperta
#6 7 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
JavaScript
Stelle
44
Fork
12
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

I took a quick look at the implementation and it looks like all `Stream#write()` calls are used as if they were synchronous, but [they are not](https://nodejs.org/dist/latest-v8.x/docs/api/stream.html#stream_writable_write_chunk_encoding_callback).

The result is that we close the stream before all writes are done.

Am I correct? Or there is something that I am missing?

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.