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

stream.push() after EOF #62

Closed
dlebedynskyi opened this issue Aug 4, 2017 · 1 comment
Closed

stream.push() after EOF #62

dlebedynskyi opened this issue Aug 4, 2017 · 1 comment

Comments

@dlebedynskyi
Copy link

dlebedynskyi commented Aug 4, 2017

Hi, occasionally getting following error

Error: stream.push() after EOF 

image

sometime also seeing

TypeError: Cannot read property 'write' of null
  File "zlib.js", line 469, col 32, in Zlib.callback

only package we use that references zlib is koa-compress with next config
configuration

app.use(compress({
  flush: require('zlib').Z_SYNC_FLUSH
}))

using node 8.

Any idea on why this happens and how to fix this?

@haoxins
Copy link
Member

haoxins commented Aug 7, 2017

duplicated with #60 :)

@haoxins haoxins closed this as completed Aug 7, 2017
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

2 participants