lp://staging/~measurement-factory/squid/bug7

Created by Alex Rousskov and last modified
Get this branch:
bzr branch lp://staging/~measurement-factory/squid/bug7
Members of Measurement Factory can upload to this branch. Log in for directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Measurement Factory
Project:
Squid
Status:
Development

Recent revisions

14404. By Alex Rousskov

Polished to address official review concerns.

No functionality changes expected.

14403. By Alex Rousskov

Code polishing, including ShmWriter move, and trunk diff reduction.

No functionality changes expected.

14402. By Alex Rousskov

Removed stale shm segment initialization fix.

We have already merged a better version of this fix from trunk, and
the stale parts were not doing anything useful since then.

14401. By Alex Rousskov

Explicitly #include <functional> when using std::function.

This solves compilation problems in some environments.

14400. By Alex Rousskov

Fixed header update for entries cached on disk but not in shared memory.

mem_obj->memCache.index is not set for shared memory-cached entries that
have been already copied into local RAM. It is just a "hint". Using it
as an authoritative reference leads to exceptions and stuck
transactions.

14399. By Alex Rousskov

SourceFormat Enforcement

14398. By Alex Rousskov

Merged from trunk (r14571) to get recent CVE/stability fixes.

14397. By Alex Rousskov

Removed Ipc::IdQueue until we start push()ing .waitingToBeFreed names.

14396. By Alex Rousskov

Fixed handling of zero fileno. The FileNos map cannot both use zero to
mark stationary files and store a moved file location of a fileno==0
file. Store (fileno+1) instead and provide relocate() API.

Also removed victim iteration code duplication, closing a TODO.

Also removed .waitingToBeFreed=false code duplication. We always
rewind() when we clear that flag.

Also added an Ipc::Mem::PageStack-based Ipc::IdQueue to store names of
.waitingToBeFreed files. Squid does not yet push into the corresponding
"scrap" queue yet, and we will probably need a flag to mark anchors
listed as scrap (avoiding duplicate listings).

14395. By Alex Rousskov

Increment loading entry size _before_ freeBadEntry() validates it.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp://staging/~squid/squid/trunk
This branch contains Public information 
Everyone can see this information.