Network.http.max-persistent-connections-per-proxy: Difference between revisions
No edit summary |
(New default per bug 423377) |
||
(7 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
4 | {{preference|pref=network.http.max-persistent-connections-per-proxy}} | ||
==Background== | |||
[http://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol HTTP] is the application-layer protocol that most web pages are transferred with. HTTP keep-alive connections can be re-used for multiple requests, as opposed to non-keep-alive connections, which are limited to one request. Using keep-alive connections improves performance. If a proxy server is configured, the total number of HTTP keep-alive connections the application can make to it is limited by this preference. If more connections are needed, they are queued until a connection "slot" is available. | |||
==Possible values and their effects== | |||
This preference takes values between 1 and 255 inclusive, directly corresponding to the maximum number of HTTP keep-alive connections the application can have open at once to the proxy server. (Minimo default: 2. Firefox 3: 8. All others default: 4.) | |||
==Caveats== | |||
* This preference only has an effect if you are using a proxy. If you are not using a proxy, see [[network.http.max-persistent-connections-per-server]]. | |||
* When using a proxy, the maximum number of connections of any type is controlled by [[network.http.max-connections]] and [[network.http.max-connections-per-server]]. | |||
==Recommended settings== | |||
If you are using a proxy and experience problems not being able to download multiple files, you can raise this value. It is, however, considered poor etiquette to make too many connections to a server and may lead to you being banned from that server. | |||
==First checked in== | |||
[http://bonsai.mozilla.org/cvsview2.cgi?diff_mode=context&whitespace_mode=show&root=/cvsroot&subdir=mozilla/netwerk/protocol/http/src&command=DIFF_FRAMESET&file=nsHttpHandler.cpp&rev2=1.39&rev1=1.38 2001-11-03 by Darin Fisher] | |||
==Has an effect in== | |||
* Netscape (all versions since 6.1) | |||
* Mozilla Suite (all versions since 0.9.5) | |||
* Mozilla Phoenix (all versions) | |||
* Mozilla Firebird (all versions) | |||
* Mozilla Firefox (all versions) | |||
* SeaMonkey (all versions) | |||
* Camino (all versions) | |||
* Minimo (all versions) | |||
==Related bugs== | |||
* [https://bugzilla.mozilla.org/show_bug.cgi?id=103070 Bug 103070 - No new connections issued when waiting for timeout] | |||
* [https://bugzilla.mozilla.org/show_bug.cgi?id=423377 Bug 423377 - Change max-persistent-connections-per-server to 6.] | |||
==Related preferences== | |||
* [[network.http.max-connections]] | |||
* [[network.http.max-connections-per-server]] | |||
* [[network.http.max-persistent-connections-per-server]] | |||
==External links== | |||
* [http://www.mozilla.org/quality/networking/docs/netprefs.html Networking Preferences] | |||
* [http://groups.google.com/group/mozilla.dev.apps.firefox/browse_thread/thread/5eebb8c65c34c3c6/323b25cfd9211fa0 Raising network.http.max-persistent-connections-per-server? (mozilla.dev.apps.firefox)] | |||
* [http://gemal.dk/blog/2008/03/18/firefox_3_beta_5_will_have_improved_connection_parallelism/ Firefox 3 beta 5 will have improved connection parallelism (Henrik Gemal’s blog)] | |||
[[Category:Preferences]] | |||
[[Category:Tweaking preferences]] |
Latest revision as of 03:16, 20 March 2008
Background
HTTP is the application-layer protocol that most web pages are transferred with. HTTP keep-alive connections can be re-used for multiple requests, as opposed to non-keep-alive connections, which are limited to one request. Using keep-alive connections improves performance. If a proxy server is configured, the total number of HTTP keep-alive connections the application can make to it is limited by this preference. If more connections are needed, they are queued until a connection "slot" is available.
Possible values and their effects
This preference takes values between 1 and 255 inclusive, directly corresponding to the maximum number of HTTP keep-alive connections the application can have open at once to the proxy server. (Minimo default: 2. Firefox 3: 8. All others default: 4.)
Caveats
- This preference only has an effect if you are using a proxy. If you are not using a proxy, see network.http.max-persistent-connections-per-server.
- When using a proxy, the maximum number of connections of any type is controlled by network.http.max-connections and network.http.max-connections-per-server.
Recommended settings
If you are using a proxy and experience problems not being able to download multiple files, you can raise this value. It is, however, considered poor etiquette to make too many connections to a server and may lead to you being banned from that server.
First checked in
Has an effect in
- Netscape (all versions since 6.1)
- Mozilla Suite (all versions since 0.9.5)
- Mozilla Phoenix (all versions)
- Mozilla Firebird (all versions)
- Mozilla Firefox (all versions)
- SeaMonkey (all versions)
- Camino (all versions)
- Minimo (all versions)
Related bugs
- Bug 103070 - No new connections issued when waiting for timeout
- Bug 423377 - Change max-persistent-connections-per-server to 6.
Related preferences
- network.http.max-connections
- network.http.max-connections-per-server
- network.http.max-persistent-connections-per-server