restify/node-restify

Gzip plugin prevents text/event-stream from working

Offen

#820 geöffnet am 02.06.2015

 (7 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)JavaScript (983 Forks)batch import
BugCriticalHelp WantedUnconfirmed

Repository-Metriken

Stars
 (10.695 Sterne)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

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.

Contributor Guide