зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1313923 - Drop reference to the cache pump after a cache partial read finishes. r=mayhemer
This commit is contained in:
Родитель
76488739a9
Коммит
194e1c59d3
|
@ -3128,6 +3128,9 @@ nsHttpChannel::OnDoneReadingPartialCacheEntry(bool *streamDone)
|
|||
// we're now completing the cached content, so we can clear this flag.
|
||||
// this puts us in the state of a regular download.
|
||||
mCachedContentIsPartial = false;
|
||||
// The cache input stream pump is finished, we do not need it any more.
|
||||
// (see bug 1313923)
|
||||
mCachePump = nullptr;
|
||||
|
||||
// resume the transaction if it exists, otherwise the pipe contained the
|
||||
// remaining part of the document and we've now streamed all of the data.
|
||||
|
|
Загрузка…
Ссылка в новой задаче