HttpWebRequest limitation? -


i created com object makes query website. it's works perfectly, when use com object many threads (50 example), many timeout errors, , changed httpwebrequest timeout 45 seconds.

how possible?

is there limitation in method? how can solve problem?

thanks!

since don't have code, not tell happened. assumptions:

  • firstly, maxed out default limit number of connections per application web host. default, number 2. can increase looking @ this document

  • secondly, connections not terminated after transmitted data. can verify http connections typing netstat -n if you're on windows. connections have same destination ip (should be). if case, need close httpwebresponse.getreponsestream(). terminate http connection quickly.


Comments

Popular posts from this blog

javascript - Iterate over array and calculate average values of array-parts -

ASP.NET Javascript: window.open won't work twice -

jquery - Opera does not change the height of the page. Why? -