commit | 3530aa44659103f933fd2bf0aebc013b71e368ec | [log] [tgz] |
---|---|---|
author | Anjum Fatima <anjum.eclipse@gmail.com> | Wed Nov 07 15:39:28 2018 -0600 |
committer | Thomas Watson <tjwatson@us.ibm.com> | Wed Nov 07 23:12:56 2018 -0500 |
tree | c0792e2ca307504c99b4f036f9582b89da454482 | |
parent | 4dd66a884064ef08145d8467a42e344169847733 [diff] |
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>
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 94c3f96..e3590d8 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 @@ 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); }