[PATCH] URL logformat codes %<ru and %>ru

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Thu, 19 May 2011 02:52:26 +1200

This patch adds the logging codes:
  %>ru - Request URL from the client original request.
  %<ru - Request URL sent to the server.

Ideally these will log the original syntax, but Squid does not preserve
that. For now the canonical URI are used instead.

The %ru is retained to display the same old historic logging URL it used
to. This appears to be the client original in most cases, but has been
observed with different content to both the canonical client URL and
canonical server URL in some cases.

These are desired so as to be able to log and identify the actual
outgoing URLs in relation to what is incoming.

This depends on bug fixes to re-write cloning and URL handling in the
accompanying patch.

Amos

-- 
Please be using
   Current Stable Squid 2.7.STABLE9 or 3.1.12
   Beta testers wanted for 3.2.0.7 and 3.1.12.1

Received on Wed May 18 2011 - 14:52:37 MDT

This archive was generated by hypermail 2.2.0 : Wed May 18 2011 - 12:00:53 MDT