lp:~rousskov/squid/IcapLog3p0

Created by Alex Rousskov and last modified

Log ICAP transactions to adaptation.log. Log ICAP-related info to access.log.

Get this branch:
bzr branch lp:~rousskov/squid/IcapLog3p0
Only Alex Rousskov can upload to this branch. If you are Alex Rousskov please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Alex Rousskov
Project:
Squid
Status:
Development

Recent revisions

8917. By Alex Rousskov

Merged from v3.0 branch at r8935.

8916. By Alex Rousskov

Merged from parent.

8915. By Alex Rousskov

Added TODO.

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.

8913. By Alex Rousskov

Polished ICAPInitiate class definition to avoid accidental copying.

8912. By Alex Rousskov

Renamed <icapLastHeader to <icap_last_h and polished its documentation.

8911. By Alex Rousskov

Renamed icap_proc_time to icap_total_time and documented that option.

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.

8909. By Alex Rousskov

Polished code. No functionality changes.

8908. By Alex Rousskov

Polished ICAPHistory interfaces. No functionality changes.

Branch metadata

Branch format:
Branch format 6
Repository format:
Bazaar pack repository format 1 (needs bzr 0.92)
This branch contains Public information 
Everyone can see this information.

Subscribers