diff options
author | Thomas Watson | 2006-12-18 14:54:04 +0000 |
---|---|---|
committer | Thomas Watson | 2006-12-18 14:54:04 +0000 |
commit | ea0a5695818de00e95260cad482208f8495fa688 (patch) | |
tree | a584c7d30bf4086696d9aef4f2cb74394d20c29c | |
parent | c41174de45dbe16aefc694bf720440e57a0c1d1c (diff) | |
download | rt.equinox.bundles-ea0a5695818de00e95260cad482208f8495fa688.tar.gz rt.equinox.bundles-ea0a5695818de00e95260cad482208f8495fa688.tar.xz rt.equinox.bundles-ea0a5695818de00e95260cad482208f8495fa688.zip |
Bug 159366 HttpService & Port 0, doesn't update service property correctlyR3_2_2R32x_v20061218
-rw-r--r-- | bundles/org.eclipse.equinox.http/META-INF/MANIFEST.MF | 2 | ||||
-rw-r--r-- | bundles/org.eclipse.equinox.http/src/org/eclipse/equinox/http/HttpListener.java | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/bundles/org.eclipse.equinox.http/META-INF/MANIFEST.MF b/bundles/org.eclipse.equinox.http/META-INF/MANIFEST.MF index 3fdaab5b6..e7d5a9124 100644 --- a/bundles/org.eclipse.equinox.http/META-INF/MANIFEST.MF +++ b/bundles/org.eclipse.equinox.http/META-INF/MANIFEST.MF @@ -1,6 +1,6 @@ Bundle-ManifestVersion: 2 Bundle-Vendor: %bundleVendor -Bundle-Version: 1.0.1.qualifier +Bundle-Version: 1.0.2.qualifier Bundle-Activator: org.eclipse.equinox.http.Activator Bundle-Copyright: %bundleCopyright Bundle-SymbolicName: org.eclipse.equinox.http diff --git a/bundles/org.eclipse.equinox.http/src/org/eclipse/equinox/http/HttpListener.java b/bundles/org.eclipse.equinox.http/src/org/eclipse/equinox/http/HttpListener.java index dea17ef06..f3e8ddab0 100644 --- a/bundles/org.eclipse.equinox.http/src/org/eclipse/equinox/http/HttpListener.java +++ b/bundles/org.eclipse.equinox.http/src/org/eclipse/equinox/http/HttpListener.java @@ -116,6 +116,7 @@ public class HttpListener extends Thread implements ServiceFactory { } } + properties.put(HttpConfiguration.keyHttpPort, new Integer(serverSocket.getLocalPort())); if (service == null) { service = http.context.registerService(httpsvcClass, this, properties); } else { |