[Mono-devel-list] WebRequest problem
Gonzalo Paniagua Javier
gonzalo at ximian.com
Fri Feb 4 18:44:24 EST 2005
On Fri, 2005-02-04 at 15:51 -0500, Kevin B. wrote:
> Hi Guys,
>
> Yesterday I posted this question on Mono-list but got no response there;
> perhaps my query is better posted here.
>
> I think there is a problem with the WebRequest class or at least with the
> way I am using it.
>
> The thing that makes me believe there is a problem with WebRequest is that
> this app will run fine when I compile and run it in Windows on .NET 1.1
>
> In Mono 1.0.5 on fc2 I am able to make two successful web requests but
> each request after will give me a time out. Since the problem is not
> intermittent (it always happens right on the third request) I do not
> believe it is my internet connection (also the code works fine running in
> .NET).
>
> Attached is a tiny console app that reproduces the problem. (I’ve greatly
> reduced the amount of code from when I posted it yesterday on the other
> list.)
>
Your test case worked with HEAD (1.1.x) and failed with the 1-0 branch.
I applied a missing patch to the 1-0 branch and it works now for both
versions.
I don't know if the changes in 1.0.x will make it into the new release
of mono (due in a few days), but the upcoming 1.1.x version will work
fine.
Thanks for the report and the test case.
-Gonzalo
More information about the Mono-devel-list
mailing list