restify/node-restify

Gzip plugin prevents text/event-stream from working

Aberta

#820 aberto em 2 de jun. de 2015

 (7 comentários) (0 reação) (0 responsável)JavaScript (983 forks)batch import
BugCriticalHelp WantedUnconfirmed

Métricas do repositório

Stars
 (10.695 estrelas)
Métricas de merge de PR
 (Métricas PR pendentes)

Description

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.

Guia do colaborador