Hacker News new | past | comments | ask | show | jobs | submit login

in my experience, you need to set flush to SYNC for it to work on chrome without manually flushing



Do you know how to do that from node?

Here's the little test service I wrote to stream out some gzipped content:

https://github.com/jimhigson/oboe.js/blob/master/test/stream...


You need to construct the stream with flush: require('zlib').Z_SYNC_FLUSH




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: