.NET limits a number of HTTP connections

I

ildar

I believe it was discussed here before but I can't find.


So here's a problem:

For each request I synchronously call a Web Service but .NET limits a number
of HTTP connections you can establish from a particular process. The default
number = 2. So if 2 requests are waiting for Web service response and the
third request is coming ASP.NET serializes outbound HTTP connection as all(2)
HTTP connections are taken. You can increase the number of connections
setting System.Net.ServicePointManager.DefaultConnectionLimit = 10 for
example.

Again this is my interpretaion of this issue. I'm not sure if it's correct.

But if it's correct my question is:

As DefaultConnectionLimit = 2 is coming from HTTP spec is it a viable design
to call HTTP web service from a web client.
 

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

Members online

No members online now.

Forum statistics

Threads
473,767
Messages
2,569,572
Members
45,045
Latest member
DRCM

Latest Threads

Top