[Mono-bugs] [Bug 63509][Nor] New - Ssl failure when using WebProxy

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Thu, 19 Aug 2004 22:36:28 -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 adam@battleaxe.net.

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

--- shadow/63509	2004-08-19 22:36:28.000000000 -0400
+++ shadow/63509.tmp.16477	2004-08-19 22:36:28.000000000 -0400
@@ -0,0 +1,65 @@
+Bug#: 63509
+Product: Mono: Class Libraries
+Version: unspecified
+OS: 
+OS Details: Debian Unstable
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: CORLIB
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: adam@battleaxe.net               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Ssl failure when using WebProxy
+
+Description of Problem:
+
+Environment:
+Debian Unstable
+Mono CVS
+TinyProxy
+
+Making a HTTP GET request to a remote server over https, through a proxy,
+fails.  HttpWebRequest/SslClientStream communicate with the proxy as if it
+were the destination server.
+
+From what I can tell, it enters Mono.Security.Protocol.Tls.SslClientStream,
+inside NegotiateProtocol(), calls
+this.protocol.SendRecord(HandshakeType.ClientHello), and then
+hangs trying to read the response.
+
+Actual Results:
+CONNECT   Aug 15 22:28:29 [25232]: Connect (file descriptor 7):
+localhost [127.0.0.1]
+CONNECT   Aug 15 22:28:29 [25232]: Request (file descriptor 7): 
+
+Expected Results:
+CONNECT   Aug 15 22:42:47 [11094]: Connect (file descriptor 7):
+localhost [127.0.0.1]
+CONNECT   Aug 15 22:42:47 [11094]: Request (file descriptor 7): CONNECT
+banking.53.com:443 HTTP/1.1
+INFO      Aug 15 22:42:47 [11094]: No proxy for banking.53.com
+CONNECT   Aug 15 22:42:50 [11094]: Established connection to host
+"banking.53.com" using file descriptor 8.
+INFO      Aug 15 22:42:50 [11094]: Not sending client headers to remote
+machine
+CONNECT   Aug 15 22:42:50 [11095]: Connect (file descriptor 7):
+localhost [127.0.0.1]
+CONNECT   Aug 15 22:42:50 [11095]: Request (file descriptor 7): CONNECT
+banking.53.com:443 HTTP/1.1
+INFO      Aug 15 22:42:50 [11095]: No proxy for banking.53.com
+CONNECT   Aug 15 22:42:50 [11095]: Established connection to host
+"banking.53.com" using file descriptor 8.
+INFO      Aug 15 22:42:50 [11095]: Not sending client headers to remote
+machine
+
+How often does this happen? 
+Every time.
+
+Additional Information:
+
+The attached test application demonstrates the bug.