Proper HTTP library for .Net 2.0

The .Net implementation of HTTP ... is problematic. Apart from some HTTP / 1.0 related issues, what bothers me right now is that HttpWebResponse.GetResponse()with the ReadTimeout and Timeout parameter set to 5000 blocks for about 20 seconds before the failure (the problem is that after 5 seconds, but on in fact, it takes 20 seconds).

I need a library with better protocol and timeout control. Did you know?

+5
source share
3 answers

According to Microsoft , what might be hanging is perhaps a DNS resolution, which can take up to 15 seconds.

- DNS (Dns.BeginGetHostByName).

+2

Chilkat HTTP-. , .

0

See the HttpWebRequest.BeginGetResponse () method. Not quite what you asked for, it has been several days since you had other answers, and this is worth mentioning.

0
source

All Articles