[Mono-bugs] [Bug 70762][Wis] New - class HttpWebRequest ignores Timeout property
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Wed, 22 Dec 2004 18:59:26 -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 ailinykh@gmail.com.
http://bugzilla.ximian.com/show_bug.cgi?id=70762
--- shadow/70762 2004-12-22 18:59:26.000000000 -0500
+++ shadow/70762.tmp.3313 2004-12-22 18:59:26.000000000 -0500
@@ -0,0 +1,26 @@
+Bug#: 70762
+Product: Mono: Class Libraries
+Version: 1.1
+OS:
+OS Details: Linux grntoo
+Status: NEW
+Resolution:
+Severity:
+Priority: Wishlist
+Component: System
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: ailinykh@gmail.com
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: class HttpWebRequest ignores Timeout property
+
+class HttpWebRequest ignores Timeout property.
+
+This code takes a lot under mono. Under MS .NET it waits for 4 sec.
+
+HttpWebRequest request = (HttpWebRequest)WebRequest.Create(url);
+request.Timeout = 4000;
+response = request.GetResponse();
+stream = response.GetResponseStream();