[Mono-bugs] [Bug 37594][Wis] New - WebProxy does not change port

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
Tue, 4 Feb 2003 12:46:17 -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 sitsofe@yahoo.com.

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

--- shadow/37594	Tue Feb  4 12:46:17 2003
+++ shadow/37594.tmp.29212	Tue Feb  4 12:46:17 2003
@@ -0,0 +1,48 @@
+Bug#: 37594
+Product: Mono/Class Libraries
+Version: unspecified
+OS: other
+OS Details: Gentoo 1.4.1.2
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: System
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: sitsofe@yahoo.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: WebProxy does not change port
+
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+Setting a GlobalProxySelection.Select does not seem to send requests
+through the proxy
+
+Steps to reproduce the problem:
+incomplete code snippet:
+
+Uri proxyURI = new Uri("http://wwwcache.swan.ac.uk:3128");
+GlobalProxySelection.Select = new WebProxy(proxyURI);
+// try to create the request
+URI pvdrURI = WebRequest.Create(pvdrString);
+WebRequest pvdrResponse = (HttpWebResponse) pvdrURI.GetResponse();
+
+Actual Results:
+Packets are sent to the URL pvdrString on port 80 
+
+System.Net.WebException: The request timed out
+in <0x000d3> 00 System.Net.HttpWebRequest:GetResponse ()
+
+Expected Results:
+Packets to be sent to the wwwcache proxy on port 3128.
+
+How often does this happen? 
+Every time.
+
+Additional Information:
+Turning on tcpdump showed that no packets were being sent to the wwwcache
+on port 80.