Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnjum Fatima2018-11-07 21:39:28 +0000
committerThomas Watson2018-11-08 04:12:56 +0000
commit3530aa44659103f933fd2bf0aebc013b71e368ec (patch)
treec0792e2ca307504c99b4f036f9582b89da454482
parent4dd66a884064ef08145d8467a42e344169847733 (diff)
downloadrt.equinox.bundles-3530aa44659103f933fd2bf0aebc013b71e368ec.tar.gz
rt.equinox.bundles-3530aa44659103f933fd2bf0aebc013b71e368ec.tar.xz
rt.equinox.bundles-3530aa44659103f933fd2bf0aebc013b71e368ec.zip
Bug 537160 - NPE in
org.eclipse.equinox.http.jetty.internal.HttpServerManager.updated() with HTTPS Change-Id: Ia0c3ea4b0585254e355fd0d2d45386e24b8eef87 Signed-off-by: Anjum Fatima <anjum.eclipse@gmail.com>
-rw-r--r--bundles/org.eclipse.equinox.http.jetty/src/org/eclipse/equinox/http/jetty/internal/HttpServerManager.java2
1 files changed, 1 insertions, 1 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 94c3f96f..e3590d8d 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
@@ -134,7 +134,7 @@ public class HttpServerManager implements ManagedServiceFactory {
if (port == -1)
port = httpsConnector.getPort();
holder.setInitParameter(JettyConstants.HTTPS_PORT, Integer.toString(port));
- String host = httpConnector.getHost();
+ String host = httpsConnector.getHost();
if (host != null)
holder.setInitParameter(JettyConstants.HTTPS_HOST, host);
}

Back to the top