Merge pull request #6976 from eclipse/jetty-10.0.x-4317-GzipHandler-SSE
Issue #4317 - exclude text/event-stream MIME type from GzipHandler
This commit is contained in:
commit
06a899f298
|
@ -195,6 +195,9 @@ public class GzipHandler extends HandlerWrapper implements GzipFactory
|
|||
_mimeTypes.exclude("application/x-xz");
|
||||
_mimeTypes.exclude("application/x-rar-compressed");
|
||||
|
||||
// It is possible to use SSE with GzipHandler but you will need to set _synFlush to true which will impact performance.
|
||||
_mimeTypes.exclude("text/event-stream");
|
||||
|
||||
if (LOG.isDebugEnabled())
|
||||
LOG.debug("{} mime types {}", this, _mimeTypes);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue