title: C# HTTP request Max connections
body: <p>We have a number of webservers(15) and for each server have a number of URLs(30).
  I have written a Windows Desktop app that goes out and hits each server and each url combo. (using the httpWebRequest.Proxy to do this).
  It's usually just for 2 servers at a time. So a total of 60 requests.</p>
  
  <p>The first problem was the 2 connection limit, so I added this to the Form Load:
  ServicePointManager.DefaultConnectionLimit = 500</p>
  
  <p>That helped, but then I seem to run into another limit.</p>
  
  <p>After we roll code out for these sites, they can take a while to respond. The init process takes like 30-40 seconds! That's another story though.</p>
  
  <p>But there seems to be a Windows XP connection limit. If I have IE open and am trying to access a site, while I a running my app to check sites, the IE takes a long time until it gets a page back. Once the app starts getting requests back and closes them, then IE gets it's response back as well.</p>
  
  <p>Also the page we are calling gives us back timings of how long it took to call other WebService calls. These times are sometimes slow, but sometimes quite fast.
  I have a timer on each HTTP Request I make that starts the timer once I make the request. Sometime the difference between the page's specified response time and the HTTP request's timer is quite large, like 40 seconds.</p>
  
  <p>So what I think is happening is the request is being queued up and it's timer is running, but has not yet been sent to the page.</p>
  
  <p>Does anyone know what I would need to change to increase the total connection limit in Windows XP? I have read about registry changes or tcpip.sys editing, but would like a definitive answer from the wise and intelligent group at Stackoverflow.</p>
  
  <p>Thanks and I hope this makes sense.</p>