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

linux - Using a Cron Job to check if my mod_wsgi / apache server is running and restart -

actionscript 3 - TweenLite does not work with object -

jQuery Ajax Render Fragments OR Whole Page -