[HttpListener] Close idle connections on Stop()
authorGonzalo Paniagua Javier <gonzalo.mono@gmail.com>
Tue, 15 Feb 2011 06:48:42 +0000 (01:48 -0500)
committerGonzalo Paniagua Javier <gonzalo.mono@gmail.com>
Tue, 15 Feb 2011 06:52:50 +0000 (01:52 -0500)
commiteae45fd7044c04b0ebc1ad900e00ef0b79aa7ed8
tree619918109e215c96a6e127f334a0d16c400b5137
parentd4ec12dbaa877cbc27bd8709d36b8fd599198d5a
[HttpListener] Close idle connections on Stop()

Idle connections that never received any data or had ever been
associated to a listener are properly closed now when the endpoint is
closed or the last listener they used is closed.
Fixes a bunch of tests in System.ServiceModel.
mcs/class/System/System.Net/EndPointListener.cs
mcs/class/System/System.Net/HttpConnection.cs
mcs/class/System/System.Net/HttpListener.cs