Modulo the GUID in the assembly and the GUID embedded in some
field initializers that use the assembly GUID for their name, the
assemblies are idential before and after the patch.
HttpListener uses this class to manage endpoint listener. URI prefix usually looks like 'http://address:port/', with the specified URI, EndPointListener should bind IP address and port. But, without this change, EndPointManager passes IPAddress.Any instead of IP address given by URI prefix. This behavior is not only different with .NET class lib, but also could be security hole on server, which machine has multiple network interfaces combined public/private IP addresses. It always opens both public/private even if it is not intended.
* EndPointListener.cs: call CheckIfRemove() after removing a regular
prefix. Fixes bug #513849.
* EndPointManager.cs: make sure we use the right lock when one prefix
of a collection fails to be added and we need to remove all of the
prefixes.
Clear the ip_to_endpoints hashtable if there are no more prefixes
listening on that address.
svn path=/trunk/mcs/; revision=136320
* HttpListenerPrefixCollection.cs, EndPointListener.cs,
HttpListener.cs, EndPointManager.cs, HttpConnection.cs: Remove
generics support where necessary to allow this code to be reused
in the 1.0 profile.
svn path=/trunk/mcs/; revision=112922