Closed
Bug 44856
Opened 25 years ago
Closed 24 years ago
Shouldn't write to cache stream after cache entry has been marked truncated
Categories
(Core :: Networking: Cache, defect, P3)
Tracking
()
VERIFIED
FIXED
mozilla0.9
People
(Reporter: matt, Assigned: gordon)
Details
(Whiteboard: [nsbeta3-])
Attachments
(1 file)
If the file that you're downloading is larger than the disk cache you
have, then the cache will fill up and the cache entry for the file
will be marked as TRUNCATED_CONTENT in InterceptStreamListener::Read()
in mozilla/netwerk/cache/mgr/nsCachedNetData.cpp. However, every
time the Read() method is called after that point in the download,
it will call the private write() method again, and it will fail again;
repeated failure can do weird things (see bug 44452). So, once the
entry is marked truncated, we should never attempt to write to the
cache stream again for that cache entry. I will attach a patch
which fixes this problem.
Reporter | ||
Comment 1•25 years ago
|
||
Matthew did you intend to take this bug over? Its a minus otherwise.
Whiteboard: [nsbeta3-]
Updated•24 years ago
|
Target Milestone: --- → Future
Assignee: neeti → gordon
Status: ASSIGNED → NEW
Target Milestone: Future → mozilla0.9
Comment 6•24 years ago
|
||
old cache bug, should be fixed in the new cache
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•