Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there.
Changed by [EMAIL PROTECTED] http://bugzilla.ximian.com/show_bug.cgi?id=78178 --- shadow/78178 2006-04-24 14:22:16.000000000 -0400 +++ shadow/78178.tmp.8683 2006-04-24 14:22:16.000000000 -0400 @@ -0,0 +1,47 @@ +Bug#: 78178 +Product: Mono: Class Libraries +Version: 1.1 +OS: All +OS Details: +Status: NEW +Resolution: +Severity: +Priority: Normal +Component: Sys.Web +AssignedTo: [EMAIL PROTECTED] +ReportedBy: [EMAIL PROTECTED] +QAContact: [EMAIL PROTECTED] +TargetMilestone: --- +URL: +Cc: [EMAIL PROTECTED],[EMAIL PROTECTED] +Summary: The Response object in WebException is being disposed prematurely. + +Description of Problem: + +The Response object in WebException is being disposed prematurely. + +Steps to reproduce the problem: +1. Make a SOAP call that will return a WebException 401 Unauthorized. +2. Catch the "exception" and get the http status code (HttpStatusCode +code = (HttpStatusCode) (exception.Response as +HttpWebResponse).StatusCode;) + +Actual Results: + +System.ObjectDisposedException: The object was used after being disposed. +in <0x00044> System.Net.HttpWebResponse:CheckDisposed () +in <0x0000a> System.Net.HttpWebResponse:get_StatusCode () +in (wrapper remoting-invoke-with-check) +System.Net.HttpWebResponse:get_StatusCode () +in <0x000f5> Novell.iFolderApp.Web.Login:HandleException +(System.Net.WebException e) + +Expected Results: +The Response object should still be around. + +How often does this happen? +always + +Additional Information: +The problem does not manifest itself in 1.1.7, but I have seen it in +everything afterwards. I need this fixed in 1.1.13. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
