[PATCH] error auto-negotiation

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Mon, 28 Jul 2008 14:10:54 +1200

Round 3 on this.

Just the error page auto-negotiation process. This is based on optional
pre-translated error pages supplied by other patch.

  - adds missing over-write check on buffer.

No other changes from round 2:

  * Converts error_directory squid.conf option into an optional override.
    Providing backward compatibility with older configurations and local
customizations.

  * Adds error_default_language to administratively set the backup
language presented by Squid.

  * Fixes design of previously broken hard-coded failover language.
    WAS: default to FreeBSD error install location. Hidden by
error_directory being required.
    NOW: failover to build-time configured errors/ directory 'English'
templates.

  * Adds --enable-auto-locale configure option to enable the following.

  * Adds logic to locate visitors most-preferred of available languages
and present a tailored error page as their reply.

Amos

-- 
Please use Squid 2.7.STABLE3 or 3.0.STABLE8

Received on Mon Jul 28 2008 - 02:10:58 MDT

This archive was generated by hypermail 2.2.0 : Mon Jul 28 2008 - 12:00:07 MDT