lp://staging/~rousskov/squid/IcapLog3p0
Log ICAP transactions to adaptation.log. Log ICAP-related info to access.log.
- Get this branch:
- bzr branch lp://staging/~rousskov/squid/IcapLog3p0
Branch merges
Branch information
Recent revisions
- 8914. By Alex Rousskov
-
Do not assume icapReply is always set. ICAPOptXact does not set it until a
parseable response is received. ICAPModXact should do the same, but does not
yet. - 8910. By Alex Rousskov
-
Fixed total ICAP time accounting for icap_proc_time format code.
The code had three problems: First, some history updates were lost when a
request got cloned or replaced by an ICAP transactions. This was fixed by
sharing ICAP history among all requests associated with the HTTP transaction.Second, there were too many places where the processing timer was sarted or
stopped, which usually leads to bugs. We now start (once) and stop (once)
timer in just two classes: ICAP ACL check and ICAPModXact launcher.Third, the code did not account for the fact that ICAP-related activities
might be concurrent. The history class was modified to keep track of
concurrency levels and maintain total ICAP-related time by updating accounting
on first start and last stop only.
Branch metadata
- Branch format:
- Branch format 6
- Repository format:
- Bazaar pack repository format 1 (needs bzr 0.92)