Bug 205140 Prefs: remove "network.http.*.timeout"

r=darin sr=darin
This commit is contained in:
timeless%mozdev.org 2004-04-16 06:45:05 +00:00
Родитель 38c03c60f4
Коммит ba4f31f34d
2 изменённых файлов: 0 добавлений и 12 удалений

Просмотреть файл

@ -511,10 +511,6 @@ pref("network.http.max-persistent-connections-per-proxy", 4);
// max-connections or max-connections-per-server has also been reached.
pref("network.http.request.max-start-delay", 10);
// http specific network timeouts (XXX currently unused)
pref("network.http.connect.timeout", 30); // in seconds
pref("network.http.request.timeout", 120); // in seconds
// Headers
pref("network.http.accept.default", "text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5");
pref("network.http.sendRefererHeader", 2); // 0=don't send any, 1=send only on clicks, 2=send on image requests as well

Просмотреть файл

@ -907,14 +907,6 @@ nsHttpHandler::PrefsChanged(nsIPrefBranch *prefs, const char *pref)
mSendSecureXSiteReferrer = cVar;
}
/*
if (bChangedAll || PL_strcmp(pref, "network.http.connect.timeout") == 0)
prefs->GetIntPref("network.http.connect.timeout", &mConnectTimeout);
if (bChangedAll || PL_strcmp(pref, "network.http.request.timeout") == 0)
prefs->GetIntPref("network.http.request.timeout", &mRequestTimeout);
*/
if (PREF_CHANGED(HTTP_PREF("accept.default"))) {
nsXPIDLCString accept;
rv = prefs->GetCharPref(HTTP_PREF("accept.default"),