474454 - Backport permessage-deflate from Jetty 9.3.x to 9.2.x
+ post cherry-pick merge cleanup
This commit is contained in:
parent
c424b58153
commit
5c0906ed6c
|
@ -133,11 +133,6 @@ public class BrowserDebugTool implements WebSocketCreator
|
|||
{
|
||||
LOG.debug("Configuring WebSocketServerFactory ...");
|
||||
|
||||
// factory.getExtensionFactory().unregister("deflate-frame");
|
||||
// factory.getExtensionFactory().unregister("permessage-deflate");
|
||||
factory.getExtensionFactory().register("permessage-deflate",PerMessageDeflateExtension.class);
|
||||
// factory.getExtensionFactory().unregister("x-webkit-deflate-frame");
|
||||
|
||||
// Registering Frame Debug
|
||||
factory.getExtensionFactory().register("@frame-debug",FrameDebugExtension.class);
|
||||
|
||||
|
|
|
@ -18,7 +18,6 @@
|
|||
|
||||
package org.eclipse.jetty.websocket.server.helper;
|
||||
|
||||
import org.eclipse.jetty.websocket.common.extensions.compress.DeflateFrameExtension;
|
||||
import org.eclipse.jetty.websocket.common.extensions.compress.PerMessageDeflateExtension;
|
||||
import org.eclipse.jetty.websocket.servlet.WebSocketServlet;
|
||||
import org.eclipse.jetty.websocket.servlet.WebSocketServletFactory;
|
||||
|
@ -33,7 +32,6 @@ public class EchoServlet extends WebSocketServlet
|
|||
public void configure(WebSocketServletFactory factory)
|
||||
{
|
||||
// Setup some extensions we want to test against
|
||||
factory.getExtensionFactory().register("x-webkit-deflate-frame",DeflateFrameExtension.class);
|
||||
factory.getExtensionFactory().register("permessage-compress",PerMessageDeflateExtension.class);
|
||||
|
||||
// Setup the desired Socket to use for all incoming upgrade requests
|
||||
|
|
Loading…
Reference in New Issue