Automate everything

User Tools

Site Tools


Translations of this page:


Working with browser connections in ZennoPoster

Managing connections on process level

Sometimes depending on your tasks you may need to change standard operation of FireFox browser used in ZennoPoster in order to limit or speed up its performance. One of the main component for browser operation is connection control.

Firefox provides several preferences to process connections, such as:

network.http.max-connections - maximum number of active parallel http connections per process.
network.http.max-persistent-connections-per-proxy - maximum number of active parallel http connections per proxy for domain.
network.http.max-persistent-connections-per-server - maximum number of active parallel http connections without proxy or per socks proxy for domain.
network.http.pipelining - pipeline data processing without proxy. If server supports pipelining, it will allow to process several requests from your computer parallely in one connection. network.http.proxy.pipelining - pipeline data processing without proxy with proxy. network.http.pipelining.maxrequests - maximum nummber of pipeline requests.

Depending on your computer capability and network channel bandwith your can reduce or increase these limits.
Here is standart configuration of browser connections in ZennoPoster:

pref("network.http.max-connections", 16);
pref("network.http.max-persistent-connections-per-proxy", 8);
pref("network.http.max-persistent-connections-per-server", 8);
pref("network.http.pipelining", false);
pref("network.http.proxy.pipelining", false);
pref("network.http.pipelining.maxrequests", 1);

Managing connections on instance level

ZennoPoster allows to devide process to instances. In this case, standard configuration applies to all instances in total. For this we added in version special preferences that works together with standart Firefox preferences.

network.http.max-connections-per-instance - maximum number of active parallel http connections per instance.
network.http.max-persistent-connections-per-proxy-per-instance - maximum number of parallel connections through HTTP proxy per instance.
network.http.max-persistent-connections-per-server-per-instance - maximum number of parallel connections without proxy or through SOCKS proxy per instance.

By default, these preferences take 0 value and ignored.
If you want to use and change them you can do it in C# snippet as shown below:

instance.SetBrowserPreference("network.http.max-connections-per-instance", 2 );
instance.SetBrowserPreference("network.http.max-persistent-connections-per-proxy-per-instance", 2 );
instance.SetBrowserPreference("network.http.max-persistent-connections-per-server-per-instance", 2 ); 

Thus you will be able to configure FireFox browser in ZennoPoster according to your tasks.

en/connections.txt · Last modified: 2017/05/26 16:56 by vladz