Re: errorpage.c

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Thu, 18 Apr 2002 18:30:22 +0200

Andres Kroonmaa wrote:
>
> Seems that parseConfigFile is called before errorInitialize initialises
> internal errorpages, and squid fails on configured errorpage parsing.
> seems that got broken together with change from:
> Revision 1.18, Wed Apr 3 08:55:03 2002 UTC (2 weeks, 1 day ago) by squidadm
> Revision 1.15.4.3.2.1, Mon Apr 1 23:15:39 2002 UTC (2 weeks, 2 days ago) by hno

Please use the cvs.squid-cache.org repository when referring to HEAD
changes..
See http://www.squid-cache.org/Devel/ for access methods.

Note: 1.15.4.3.2.1 in the SF repository is on a separate branch, not
related to the HEAD version.

The versions you want to compare is 1.169 and 1.170 in the main CVS
tree.

   http://www.squid-cache.org/cgi-bin/cvsweb.cgi/squid/src/errorpage.c

  
http://www.squid-cache.org/cgi-bin/cvsweb.cgi/squid/src/errorpage.c.diff?r1=1.169&r2=1.170&f=h

> 223 for (i = 0; i < ErrorDynamicPages.count; i++) {
> 224 if (strcmp(((ErrorDynamicPageInfo *) ErrorDynamicPages.items[i - ERR_MAX])->page_name, page_name) == 0)

Argh! sorry. Have no excuse. Fixed.

Regards
Henrik
Received on Thu Apr 18 2002 - 10:29:17 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:15:12 MST