From 02b79df2316d2b463a74edc7a1dc08231b0121f7 Mon Sep 17 00:00:00 2001 From: jcardus Date: Wed, 25 Mar 2020 21:38:53 +0000 Subject: compression on jetty --- src/main/java/org/traccar/web/WebServer.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/main/java/org') diff --git a/src/main/java/org/traccar/web/WebServer.java b/src/main/java/org/traccar/web/WebServer.java index 92548d218..d5c4cf71b 100644 --- a/src/main/java/org/traccar/web/WebServer.java +++ b/src/main/java/org/traccar/web/WebServer.java @@ -95,12 +95,10 @@ public class WebServer { } }); - GzipHandler gzipHandler = new GzipHandler(); - HandlerList handlers = new HandlerList(); initClientProxy(config, handlers); handlers.addHandler(servletHandler); - handlers.addHandler(gzipHandler); + handlers.addHandler(new GzipHandler()); server.setHandler(handlers); } -- cgit v1.2.3