зеркало из https://github.com/mozilla/pjs.git
Bug 205140 Prefs: remove "network.http.*.timeout"
r=darin sr=darin
This commit is contained in:
Родитель
246224ff53
Коммит
55fef21ff9
|
@ -955,7 +955,6 @@ static void mozilla_set_default_pref( nsIPref *pref )
|
|||
// pref->SetIntPref( "browser.cache.check_doc_frequency", 2 );
|
||||
pref->SetBoolPref( "browser.cache.disk.enable", PR_TRUE );
|
||||
pref->SetIntPref( "browser.cache.disk.capacity", 5000 );
|
||||
pref->SetIntPref( "network.http.connect.timeout", 2400 );
|
||||
pref->SetIntPref( "network.http.max-connections", 4 );
|
||||
pref->SetIntPref( "network.proxy.http_port", 80 );
|
||||
pref->SetIntPref( "network.proxy.ftp_port", 80 );
|
||||
|
|
|
@ -676,8 +676,6 @@ mozilla_set_pref( PtWidget_t *widget, char *option, char *value )
|
|||
pref->SetIntPref( "network.proxy.gopher_port", atoi(value) );
|
||||
|
||||
/* TCP/IP options */
|
||||
else if( !strcmp( option, "socket_timeout" ) )
|
||||
pref->SetIntPref( "network.http.connect.timeout", atoi( value ) );
|
||||
else if( !strcmp( option, "max_connections" ) )
|
||||
pref->SetIntPref( "network.http.max-connections", atoi( value ) );
|
||||
|
||||
|
@ -931,11 +929,6 @@ static void mozilla_get_pref( PtWidget_t *widget, char *option, char *value ) {
|
|||
}
|
||||
|
||||
/* TCP/IP options */
|
||||
else if( !strcmp( option, "socket_timeout" ) ) {
|
||||
int n;
|
||||
pref->GetIntPref( "network.http.connect.timeout", &n );
|
||||
sprintf( value, "%d", n );
|
||||
}
|
||||
else if( !strcmp( option, "max_connections" ) ) {
|
||||
int n;
|
||||
pref->GetIntPref( "network.http.max-connections", &n );
|
||||
|
|
|
@ -117,7 +117,6 @@ pref("network.cookie.warnAboutCookies", false);
|
|||
pref("network.enableIDN", false);
|
||||
pref("network.http.accept-encoding" ,"gzip,deflate");
|
||||
pref("network.http.accept.default", "text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,image/jpeg,image/gif;q=0.2,*/*;q=0.1");
|
||||
pref("network.http.connect.timeout", 30);
|
||||
pref("network.http.default-socket-type", "");
|
||||
pref("network.http.keep-alive", false);
|
||||
pref("network.http.keep-alive.timeout", 300);
|
||||
|
@ -133,7 +132,6 @@ pref("network.http.proxy.pipelining", false);
|
|||
pref("network.http.proxy.version", "1.1");
|
||||
pref("network.http.redirection-limit", 20);
|
||||
pref("network.http.request.max-start-delay", 10);
|
||||
pref("network.http.request.timeout", 120);
|
||||
pref("network.http.sendRefererHeader", 2);
|
||||
pref("network.http.sendSecureXSiteReferrer", true);
|
||||
pref("network.http.use-cache", false);
|
||||
|
|
Загрузка…
Ссылка в новой задаче