Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaymond Auge2017-01-09 20:31:40 +0000
committerRaymond Auge2017-01-09 20:31:40 +0000
commit6c8ddf13c2597ff35c03e116ae4b78c1f623d56f (patch)
tree6bb3df0f075d28b13d115ea6f213911d19a58246
parentde7301522786b873b7689e613feeba768ab91040 (diff)
downloadrt.equinox.bundles-6c8ddf13c2597ff35c03e116ae4b78c1f623d56f.tar.gz
rt.equinox.bundles-6c8ddf13c2597ff35c03e116ae4b78c1f623d56f.tar.xz
rt.equinox.bundles-6c8ddf13c2597ff35c03e116ae4b78c1f623d56f.zip
Bug 506091 - [http] Can't configure both http and httpsI20170109-2000
Signed-off-by: Raymond Auge <raymond.auge@liferay.com>
-rw-r--r--bundles/org.eclipse.equinox.http.jetty9/src/org/eclipse/equinox/http/jetty/internal/Activator.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.equinox.http.jetty9/src/org/eclipse/equinox/http/jetty/internal/Activator.java b/bundles/org.eclipse.equinox.http.jetty9/src/org/eclipse/equinox/http/jetty/internal/Activator.java
index 4ccd799af..f9e59b27e 100644
--- a/bundles/org.eclipse.equinox.http.jetty9/src/org/eclipse/equinox/http/jetty/internal/Activator.java
+++ b/bundles/org.eclipse.equinox.http.jetty9/src/org/eclipse/equinox/http/jetty/internal/Activator.java
@@ -134,7 +134,7 @@ public class Activator implements BundleActivator {
if (httpsEnabled.booleanValue()) {
// HTTPS Port
- int httpsPort = Details.getIntProp(context, JettyConstants.HTTP_PORT, -1);
+ int httpsPort = Details.getIntProp(context, JettyConstants.HTTPS_PORT, -1);
if (httpsPort == -1)
httpsPort = Details.getInt(context, ORG_OSGI_SERVICE_HTTP_PORT_SECURE, 443);
defaultSettings.put(JettyConstants.HTTPS_PORT, Integer.valueOf(httpsPort));

Back to the top