Webrequest threading timeout

  • Thread starter Thread starter LS
  • Start date Start date
L

LS

Hi Guys,

I'm building a spider application for our intranet and have problems making
webrequests.
I spin of 10 threads, they all do the same code, a webrequest and processing
of the page.
This is the code of the webrequest:
--------------------------------------------------------
req = HttpWebRequest.Create(myRSS.RSSLink)
req.UserAgent = "Mozilla/6.0 (MSIE 6.1; Windows NT 5.1;)"
req.MaximumAutomaticRedirections = 20
req.Timeout = 10000
req.KeepAlive = False
res = req.GetResponse
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top