restify/node-restify

Gzip plugin prevents text/event-stream from working

Open

#820 opened on 2015年6月2日

GitHub で見る
 (7 comments) (0 reactions) (0 assignees)JavaScript (983 forks)batch import
BugCriticalHelp WantedUnconfirmed

Repository metrics

Stars
 (10,695 stars)
PR merge metrics
 (平均マージ 3h 56m) (30d で 2 merged PRs)

説明

I have to call

      res.handledGzip && res.handledGzip();
      res.removeHeader('Content-Encoding');

in my SSE plugin to bypass the Gzip plugin—otherwise EventSource fails.

The solution would involve adding support for keep alive connection in the Gzip plugin.

コントリビューターガイド