474455 - Enable permessage-deflate WebSocket extension

This commit is contained in:
Joakim Erdfelt 2015-08-06 15:08:32 -07:00
parent 5324d367c5
commit 47d81db015
3 changed files with 0 additions and 14 deletions

View File

@ -133,11 +133,6 @@ public class WebSocketClient extends ContainerLifeCycle implements SessionListen
this.objectFactory = objectFactory;
this.extensionRegistry = new WebSocketExtensionFactory(this);
// Bug #431459 - unregistering compression extensions till they are more stable
this.extensionRegistry.unregister("deflate-frame");
this.extensionRegistry.unregister("permessage-deflate");
this.extensionRegistry.unregister("x-webkit-deflate-frame");
this.masker = new RandomMasker();
this.eventDriverFactory = new EventDriverFactory(policy);

View File

@ -130,11 +130,6 @@ public class WebSocketServerFactory extends ContainerLifeCycle implements WebSoc
this.bufferPool = bufferPool;
this.extensionFactory = new WebSocketExtensionFactory(this);
// Bug #431459 - unregistering compression extensions till they are more stable
this.extensionFactory.unregister("deflate-frame");
this.extensionFactory.unregister("permessage-deflate");
this.extensionFactory.unregister("x-webkit-deflate-frame");
this.sessionFactories = new ArrayList<>();
this.sessionFactories.add(new WebSocketSessionFactory(this));
this.creator = this;

View File

@ -28,7 +28,6 @@ import org.eclipse.jetty.util.log.Log;
import org.eclipse.jetty.util.log.Logger;
import org.eclipse.jetty.websocket.api.extensions.ExtensionConfig;
import org.eclipse.jetty.websocket.common.extensions.FrameCaptureExtension;
import org.eclipse.jetty.websocket.common.extensions.compress.PerMessageDeflateExtension;
import org.eclipse.jetty.websocket.server.WebSocketHandler;
import org.eclipse.jetty.websocket.servlet.ServletUpgradeRequest;
import org.eclipse.jetty.websocket.servlet.ServletUpgradeResponse;
@ -133,9 +132,6 @@ public class BrowserDebugTool implements WebSocketCreator
{
LOG.debug("Configuring WebSocketServerFactory ...");
// Register permessage-deflate
factory.getExtensionFactory().register("permessage-deflate",PerMessageDeflateExtension.class);
// Registering Frame Debug
factory.getExtensionFactory().register("@frame-capture",FrameCaptureExtension.class);