зеркало из https://github.com/mozilla/gecko-dev.git
fix bug 41702 [Double caching when fetching wallet tables], r,a=morse@netscape.com a=waterson@mozilla.org
This commit is contained in:
Родитель
c950fa6d9b
Коммит
4cf9ec5cfc
|
@ -425,7 +425,15 @@ NS_NewURItoFile(const char *in, nsFileSpec dirSpec, const char *out)
|
|||
return rv;
|
||||
}
|
||||
|
||||
/* Turn off the cache since we are doing our own caching of this file */
|
||||
|
||||
nsLoadFlags loadAttribs = 0;
|
||||
pChannel->GetLoadAttributes(&loadAttribs);
|
||||
loadAttribs |= nsIChannel::FORCE_RELOAD;
|
||||
pChannel->SetLoadAttributes(loadAttribs);
|
||||
|
||||
/* Trigger the async download */
|
||||
|
||||
rv = pChannel->AsyncRead(listener, // IStreamListener consumer
|
||||
nsnull); // ISupports context
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче