diff options
author | kitlo | 2021-03-25 03:06:36 +0000 |
---|---|---|
committer | Sravan Kumar Lakkimsetti | 2021-03-25 05:20:32 +0000 |
commit | 1854eb7152a6b79d0607935f5121a6c175ae66ff (patch) | |
tree | f367e5b3d4c05dc22515b858317cedad11a267e2 | |
parent | b663b1c96194fd1ec253a03bb4a83a4324d9e200 (diff) | |
download | rt.equinox.bundles-1854eb7152a6b79d0607935f5121a6c175ae66ff.tar.gz rt.equinox.bundles-1854eb7152a6b79d0607935f5121a6c175ae66ff.tar.xz rt.equinox.bundles-1854eb7152a6b79d0607935f5121a6c175ae66ff.zip |
Bug 571423 - Update to jetty-9.4.37.v20210219
Change-Id: Iac9d248925c7f3bdb42b2f3c630732c22d705c83
Signed-off-by: kitlo <kitlo@us.ibm.com>
Signed-off-by: Sravan Kumar Lakkimsetti <sravankumarl@in.ibm.com>
-rw-r--r-- | bundles/org.eclipse.equinox.http.jetty/src/org/eclipse/equinox/http/jetty/internal/HttpServerManager.java | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/bundles/org.eclipse.equinox.http.jetty/src/org/eclipse/equinox/http/jetty/internal/HttpServerManager.java b/bundles/org.eclipse.equinox.http.jetty/src/org/eclipse/equinox/http/jetty/internal/HttpServerManager.java index 68f4fd307..0b8bad686 100644 --- a/bundles/org.eclipse.equinox.http.jetty/src/org/eclipse/equinox/http/jetty/internal/HttpServerManager.java +++ b/bundles/org.eclipse.equinox.http.jetty/src/org/eclipse/equinox/http/jetty/internal/HttpServerManager.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2007, 2020 IBM Corporation and others. + * Copyright (c) 2007, 2021 IBM Corporation and others. * * This program and the accompanying materials * are made available under the terms of the Eclipse Public License 2.0 @@ -26,6 +26,7 @@ import javax.servlet.http.*; import org.eclipse.equinox.http.jetty.JettyConstants; import org.eclipse.equinox.http.jetty.JettyCustomizer; import org.eclipse.equinox.http.servlet.HttpServiceServlet; +import org.eclipse.jetty.http.HttpCompliance; import org.eclipse.jetty.server.*; import org.eclipse.jetty.server.session.HouseKeeper; import org.eclipse.jetty.server.session.SessionHandler; @@ -183,7 +184,7 @@ public class HttpServerManager implements ManagedServiceFactory { https_config.addCustomizer(new SecureRequestCustomizer()); // HTTPS connector - httpsConnector = new ServerConnector(server, new SslConnectionFactory(sslContextFactory, "http/1.1"), new HttpConnectionFactory(https_config)); //$NON-NLS-1$ + httpsConnector = new ServerConnector(server, new SslConnectionFactory(sslContextFactory, "http/1.1"), new HttpConnectionFactory(https_config, HttpCompliance.LEGACY)); //$NON-NLS-1$ httpsConnector.setPort(Details.getInt(dictionary, JettyConstants.HTTPS_PORT, 443)); httpsConnector.setHost(Details.getString(dictionary, JettyConstants.HTTPS_HOST, null)); } @@ -199,7 +200,7 @@ public class HttpServerManager implements ManagedServiceFactory { http_config.setSecurePort(Details.getInt(dictionary, JettyConstants.HTTPS_PORT, 443)); } // HTTP connector - httpConnector = new ServerConnector(server, new HttpConnectionFactory(http_config)); + httpConnector = new ServerConnector(server, new HttpConnectionFactory(http_config, HttpCompliance.LEGACY)); httpConnector.setPort(Details.getInt(dictionary, JettyConstants.HTTP_PORT, 80)); httpConnector.setHost(Details.getString(dictionary, JettyConstants.HTTP_HOST, null)); httpConnector.setIdleTimeout(DEFAULT_IDLE_TIMEOUT); |