[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 23:33:22 -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 sebastien@ximian.com.


--- shadow/74539	2005-04-10 19:35:00.000000000 -0400
+++ shadow/74539.tmp.5252	2005-04-10 23:33:22.000000000 -0400
@@ -97,6 +97,61 @@
 ------- Additional Comments From gonzalo@ximian.com  2005-04-10 19:07 -------
 I'm not sure if my last comment is right... Still working on it.
 ------- Additional Comments From gonzalo@ximian.com  2005-04-10 19:35 -------
 I believe this is fixed, but somehow, when i try to access paypal
 sometimes the connection stays on SYN_SENT state. Can you test it?
+------- Additional Comments From sebastien@ximian.com  2005-04-10 23:33 -------
+I'm trying on both NLD9 and XP at (about) the same time on 2 different
+computers. I never had problem getting data from paypal using the XP
+computer and the tls* tools (both from HTTP and HTTPS connections).
+Right now (after updating SVN) tlsmultiexe hangs there:
+% mono tlsmulti.exe http://www.paypal.com
+GET #1 at http://www.paypal.com
+END #1
+and the "classic" tlstest.exe also hangs (where results are immediate
+on XP) until the timeout (it's a sync test). tlstest was working fine
+(at least yesterday - not sure I tried it on paypal this morning).
+% mono tlstest.exe --show --web http://www.paypal.com
+FAILED: #-2146233087
+System.IO.IOException: Read timed out.
+in <0x000ef> System.Net.WebConnectionStream:Read (System.Byte[]
+buffer, Int32 offset, Int32 size)
+in <0x00039> System.IO.StreamReader:ReadBuffer ()
+in (wrapper remoting-invoke-with-check)
+System.IO.StreamReader:ReadBuffer ()
+in <0x0006c> System.IO.StreamReader:Read (System.Char[] dest_buffer,
+Int32 index, Int32 count)
+in <0x00088> System.IO.StreamReader:ReadToEnd ()
+in <0x001fa> TlsTest:GetWebPage (System.String url)
+in <0x003a0> TlsTest:Main (System.String[] args)
+As for postmulti.exe running it on (about) 20 URLs still hangs after
+the 3rd POST (with no END message ever received).
+% mono postmulti.exe http://localhost/sendback.asp ...
+POST #1 at
+POST #2 at
+POST #3 at
+Unhandled Exception: System.Net.WebException: The request timed out
+in <0x000aa> System.Net.HttpWebRequest:GetRequestStream ()
+in <0x001d3> MultiTest:Main (System.String[] args)
+A timeout occurs because postmulti isn't async for the stream part
+(only async for HttpWebRequest, not for GetResponseStream).
+It's possible that the problem is outside HttpWebRequest (and related
+classes). I getting strange hangs when using SSL (with the same tools)
+ which I suspect being (at least in part) outside SSL. I don't think
+it comes from the tools since I never had problems with them on XP
+(but you may want to look at them).