[Mono-bugs] [Bug 515097] HttpWebRequest.Abort does not cancel pending BeginWrite operation

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Jun 24 21:34:59 EDT 2009


User gonzalo at novell.com added comment

Gonzalo Paniagua Javier <gonzalo at novell.com> changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID

--- Comment #2 from Gonzalo Paniagua Javier <gonzalo at novell.com>  2009-06-24 19:34:59 MDT ---
On windows it does not always throw the ObjectDisposedException either:

Press any key to exit
System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'System.Net.Sockets.NetworkStream'.
   at System.Net.ConnectStream.EndWrite(IAsyncResult asyncResult)
   at MonoWebReqBug.Program.<Main>c__AnonStorey0.<>m__2(IAsyncResult r)

No exception
Press any key to exit

So there's nothing to fix here (apart from #515931, unless you want to change
the program to call Close on the request stream after you're done writing).

Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

More information about the mono-bugs mailing list