Using the Xcode networking tool, I analyzed that I am able to establish only 4 TCP connections per host at a time. It seems iOS has a default TCP connection limit of 4 per host.
How can we increase that limit?
This restriction is defined in the HTTP specification (RFC2616). Most modern browsers allow six connections per domain. Most older browsers allow only two connections per domain. The HTTP 1.1 protocol states that single-user clients should not maintain more than two connections with any server or proxy. This is the reason for browser limits.
You can increase the number of maximum connections allowed by IBM HTTP Server by editing the httpd.conf file. First and foremost, you must determine the maximum number of simultaneous connections required for this Web server.
Performance will suffer if load dictates more concurrent connections, as incoming requests will be queued up by the host operating system. You can increase the number of maximum connections allowed by IBM HTTP Server by editing the httpd.conf file.
Specifies the maximum network bandwidth, in bytes per second, that is used for a site. Use this setting to help prevent overloading the network with IIS activity. The default value is 4294967295. Optional uint attribute. Specifies the maximum number of connections for a site. Use this setting to limit the number of simultaneous client connections.
EDIT : As stated by the OP this has changed in iOS 8: See Apple's documentation.
Original post :
This is a limit in iOS you cannot change it.
See : On iOS URL Connection Parallelism and Thread Pools
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With