Bug 159366 HttpService & Port 0, doesn't update service property correctly
diff --git a/bundles/org.eclipse.equinox.http/META-INF/MANIFEST.MF b/bundles/org.eclipse.equinox.http/META-INF/MANIFEST.MF
index 3fdaab5..e7d5a91 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 dea17ef..f3e8dda 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 @@
 				}
 			}
 
+			properties.put(HttpConfiguration.keyHttpPort, new Integer(serverSocket.getLocalPort()));
 			if (service == null) {
 				service = http.context.registerService(httpsvcClass, this, properties);
 			} else {