[Mono-bugs] [Bug 74539][Maj] Changed - HttpWebRequest fails with postmulti tool

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Sun, 10 Apr 2005 18:46:17 -0400 (EDT)


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 gonzalo@ximian.com.

http://bugzilla.ximian.com/show_bug.cgi?id=74539

--- shadow/74539	2005-04-10 11:30:42.000000000 -0400
+++ shadow/74539.tmp.3331	2005-04-10 18:46:17.000000000 -0400
@@ -68,6 +68,28 @@
 
 ------- Additional Comments From gonzalo@ximian.com  2005-04-09 18:35 -------
 Fixed in SVN.
 
 ------- Additional Comments From sebastien@ximian.com  2005-04-10 11:30 -------
 R42750 breaks postmulti.exe (and didn't fix tlsasync.exe with 3 URL).
+
+------- Additional Comments From gonzalo@ximian.com  2005-04-10 18:46 -------
+r42768 fixes this.... BUT...
+
+Seems like there's a bug somewhere (probably the runtime) that
+prevents this from working. Run this:
+mono --debug --trace=N:KK tlsasync.exe http://www.novell.com
+http://www.gmail.com http://www.paypal.com
+
+You will see a line saying:
+EXCEPTION handling: Unauthorized access exception.
+(or similar)
+
+That exceptions comes from
+mcs/class/Mono.Security/Mono.Security.X509/X509Store.cs:CheckStore.
+
+The weird thing is that the 'throwException' parameter is false, but
+the 'catch' is not catching this exception and it gets thrown anyway.
+If I put a 'return false;' at the beginning of that method, everything
+works fine.
+
+I'm going to update the runtime to see if this gets fixed.