[Mono-bugs] [Bug 54654][Wis] New - Exceptions are hidden in System.Net during an SSL session
Fri, 20 Feb 2004 08:48:01 -0500 (EST)
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@example.com.
--- shadow/54654 2004-02-20 08:48:01.000000000 -0500
+++ shadow/54654.tmp.20330 2004-02-20 08:48:01.000000000 -0500
@@ -0,0 +1,45 @@
+Product: Mono/Class Libraries
+Summary: Exceptions are hidden in System.Net during an SSL session
+Description of Problem:
+When doing a WebRequest some exceptions seems trapped and the request
+continue. In some case the request can't really continue leading to strange
+Steps to reproduce the problem:
+1. Use the sample code in #30417 to connect to
+A NullReferenceException in CertificateRSA.
+Another exception thrown previously.
+How often does this happen?
+The certificate validation has been commented in CVS.
+Other changes (soon to be commited) may also "catch" the problem more locally.
+However the same problem happened when async support was missing in
+SslClientStream. I just didn't get the NotSupportedException. It may be
+easier to throw a NotSupportedException in existing code (like
+NetworkStream) and see how a WebRequest reacts.