Closed Bug 101857 Opened 23 years ago Closed 23 years ago

support creating cache entry with no data

Categories

(Core :: Networking: Cache, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla0.9.6

People

(Reporter: darin.moz, Assigned: gordon)

References

Details

Attachments

(1 file)

currently, if i create a cache entry, write some meta data, and then close it, the cache entry appears to vaporize. the problem was solved when i opened up an output stream to the cache entry, and then closed the output stream. so, it seems that when the cache entry descriptor is closed, it should check that it is bound to a cache device before deactivating itself. i discovered this bug while trying to work out a patch for bug 94004 "caching of http redirects"
Blocks: 94004
Okay, so we need to bind the cache entry on close. Targeting for 0.9.6.
Target Milestone: --- → mozilla0.9.6
Comment on attachment 54124 [details] [diff] [review] patch to bind active cache entries upon deactivation. Also, return cache session even if no devices are currently enabled (bug 92908). r=sfraser
Attachment #54124 - Flags: review+
Comment on attachment 54124 [details] [diff] [review] patch to bind active cache entries upon deactivation. Also, return cache session even if no devices are currently enabled (bug 92908). sr=darin
Attachment #54124 - Flags: superreview+
patch checked in. Marking FIXED.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: