Aborting a pending request closes the socket now
authorGonzalo Paniagua Javier <gonzalo.mono@gmail.com>
Tue, 19 Jun 2012 02:50:57 +0000 (22:50 -0400)
committerGonzalo Paniagua Javier <gonzalo.mono@gmail.com>
Tue, 19 Jun 2012 02:50:57 +0000 (22:50 -0400)
commit271524d471b3291567f397dfc82cd851f2b9850e
treec11887444ac6e0e789d0c79f6543601b40112c6d
parenteb0ef90fc4e63f11e9fee29f5806ca605317c503
Aborting a pending request closes the socket now

Aborting an HttpWebRequest whose request stream is not closed yet will
now close the underlying socket properly.
Fixes bug #5710.
mcs/class/System/System.Net/WebConnection.cs