When opening 2 stream connections to the server, I couldn’t open up more connections to the AiRISTA Flow RTLS server even though the server allows more connections. Why do I receive a time out when I make another request with my program?

When following the Http/1.1 protocol, RFC 2616 section 8.1.4, it reads:

 ‘A single-user client SHOULD NOT maintain more than 2 connections with any server or proxy. A proxy SHOULD use up to 2*N connections to another server or proxy, where N is the number of simultaneously active users. These guidelines are intended to improve HTTP response times and avoid congestion.’

 So in conclusion the problem was not with a server restriction but with a client restriction.

 The solution is to change the connection limit in your client program. You can do this programmatically.

 For .NET c# the following can be used:  ServicePointManager.DefaultConnectionLimit = 10;

Was this article helpful?
0 out of 0 found this helpful

Comments

0 comments

Article is closed for comments.