diff -u -r squid-3.0.STABLE2/ChangeLog squid-3.0.STABLE3/ChangeLog
--- squid-3.0.STABLE2/ChangeLog	2008-02-28 13:49:19.000000000 +1300
+++ squid-3.0.STABLE3/ChangeLog	2008-03-31 18:20:18.000000000 +1200
@@ -1,4 +1,12 @@
-Changes to squid-3.0.STABLE1 (1 Mar 2008):
+Changes to squid-3.0.STABLE3 (31 Mar 2008):
+
+	- Improved HTTP 1.1 support.
+	- Improved MacOSX (Leopard) support
+	- Bug 2206: Proxy-Authentication regression in STABLE2.
+	- Strip Domain from NTLM usernames for use in class 4 Delay Pools
+	- ... and other bugs and minor code cleanup
+
+Changes to squid-3.0.STABLE2 (1 Mar 2008):
 
 	- Add myportname ACL for matching the accepting port name (see release notes)
 	- Add include directive for squid.conf (see release notes)
diff -u -r squid-3.0.STABLE2/configure squid-3.0.STABLE3/configure
--- squid-3.0.STABLE2/configure	2008-03-05 01:35:36.000000000 +1300
+++ squid-3.0.STABLE3/configure	2008-03-31 18:20:29.000000000 +1200
@@ -1,7 +1,7 @@
 #! /bin/sh
 # From configure.in Revision: 1.488.2.3 .
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.61 for Squid Web Proxy 3.0.STABLE2.
+# Generated by GNU Autoconf 2.61 for Squid Web Proxy 3.0.STABLE3.
 #
 # Report bugs to <http://www.squid-cache.org/bugs/>.
 #
@@ -729,8 +729,8 @@
 # Identity of this package.
 PACKAGE_NAME='Squid Web Proxy'
 PACKAGE_TARNAME='squid'
-PACKAGE_VERSION='3.0.STABLE2'
-PACKAGE_STRING='Squid Web Proxy 3.0.STABLE2'
+PACKAGE_VERSION='3.0.STABLE3'
+PACKAGE_STRING='Squid Web Proxy 3.0.STABLE3'
 PACKAGE_BUGREPORT='http://www.squid-cache.org/bugs/'
 
 ac_unique_file="src/main.cc"
@@ -1507,7 +1507,7 @@
   # Omit some internal or obsolete options to make the list less imposing.
   # This message is too long to be a string in the A/UX 3.1 sh.
   cat <<_ACEOF
-\`configure' configures Squid Web Proxy 3.0.STABLE2 to adapt to many kinds of systems.
+\`configure' configures Squid Web Proxy 3.0.STABLE3 to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1577,7 +1577,7 @@
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
-     short | recursive ) echo "Configuration of Squid Web Proxy 3.0.STABLE2:";;
+     short | recursive ) echo "Configuration of Squid Web Proxy 3.0.STABLE3:";;
    esac
   cat <<\_ACEOF
 
@@ -1886,7 +1886,7 @@
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-Squid Web Proxy configure 3.0.STABLE2
+Squid Web Proxy configure 3.0.STABLE3
 generated by GNU Autoconf 2.61
 
 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
@@ -1900,7 +1900,7 @@
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
-It was created by Squid Web Proxy $as_me 3.0.STABLE2, which was
+It was created by Squid Web Proxy $as_me 3.0.STABLE3, which was
 generated by GNU Autoconf 2.61.  Invocation command line was
 
   $ $0 $@
@@ -2574,7 +2574,7 @@
 
 # Define the identity of the package.
  PACKAGE='squid'
- VERSION='3.0.STABLE2'
+ VERSION='3.0.STABLE3'
 
 
 cat >>confdefs.h <<_ACEOF
@@ -43819,12 +43819,12 @@
 
 { echo "$as_me:$LINENO: checking Maximum number of filedescriptors we can open" >&5
 echo $ECHO_N "checking Maximum number of filedescriptors we can open... $ECHO_C" >&6; }
+TLDFLAGS="$LDFLAGS"
 if test -n "$squid_filedescriptors_num" ; then
   SQUID_MAXFD=$squid_filedescriptors_num
   { echo "$as_me:$LINENO: result: $SQUID_MAXFD (user-forced)" >&5
 echo "${ECHO_T}$SQUID_MAXFD (user-forced)" >&6; }
 else
-  TLDFLAGS="$LDFLAGS"
   case $host in
   i386-unknown-freebsd*)
       if echo "$LDFLAGS" | grep -q pthread; then
@@ -45406,7 +45406,7 @@
 # report actual input values of CONFIG_FILES etc. instead of their
 # values after options handling.
 ac_log="
-This file was extended by Squid Web Proxy $as_me 3.0.STABLE2, which was
+This file was extended by Squid Web Proxy $as_me 3.0.STABLE3, which was
 generated by GNU Autoconf 2.61.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
@@ -45459,7 +45459,7 @@
 _ACEOF
 cat >>$CONFIG_STATUS <<_ACEOF
 ac_cs_version="\\
-Squid Web Proxy config.status 3.0.STABLE2
+Squid Web Proxy config.status 3.0.STABLE3
 configured by $0, generated by GNU Autoconf 2.61,
   with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
 
diff -u -r squid-3.0.STABLE2/configure.in squid-3.0.STABLE3/configure.in
--- squid-3.0.STABLE2/configure.in	2008-03-05 01:35:36.000000000 +1300
+++ squid-3.0.STABLE3/configure.in	2008-03-31 18:20:29.000000000 +1200
@@ -5,7 +5,7 @@
 dnl
 dnl
 dnl
-AC_INIT(Squid Web Proxy, 3.0.STABLE2, http://www.squid-cache.org/bugs/, squid)
+AC_INIT(Squid Web Proxy, 3.0.STABLE3, http://www.squid-cache.org/bugs/, squid)
 AC_PREREQ(2.52)
 AM_CONFIG_HEADER(include/autoconf.h)
 AC_CONFIG_AUX_DIR(cfgaux)
@@ -2893,11 +2893,11 @@
 dnl Not cached since people are likely to tune this
 AC_MSG_CHECKING(Maximum number of filedescriptors we can open)
 dnl damn! FreeBSD's pthreads breaks dup2().
+TLDFLAGS="$LDFLAGS"
 if test -n "$squid_filedescriptors_num" ; then
   SQUID_MAXFD=$squid_filedescriptors_num
   AC_MSG_RESULT($SQUID_MAXFD (user-forced))
 else
-  TLDFLAGS="$LDFLAGS"
   case $host in
   i386-unknown-freebsd*)
       if echo "$LDFLAGS" | grep -q pthread; then
diff -u -r squid-3.0.STABLE2/COPYRIGHT squid-3.0.STABLE3/COPYRIGHT
--- squid-3.0.STABLE2/COPYRIGHT	2001-01-12 13:37:09.000000000 +1300
+++ squid-3.0.STABLE3/COPYRIGHT	2008-03-31 18:20:18.000000000 +1200
@@ -22,4 +22,4 @@
 			Suite 330
 			Boston, MA 02111, USA
 
-Or contact info@ircache.net
+Or contact info@squid-cache.org
diff -u -r squid-3.0.STABLE2/doc/Makefile.in squid-3.0.STABLE3/doc/Makefile.in
--- squid-3.0.STABLE2/doc/Makefile.in	2008-03-05 01:31:18.000000000 +1300
+++ squid-3.0.STABLE3/doc/Makefile.in	2008-03-31 18:20:19.000000000 +1200
@@ -17,7 +17,7 @@
 #
 #  Makefile for the Squid Object Cache server
 #
-#  $Id: Makefile.in,v 1.88.2.1 2008/03/04 12:31:18 amosjeffries Exp $
+#  $Id: Makefile.am,v 1.6 2006/06/02 16:31:45 serassio Exp $
 #
 #  Uncomment and customize the following to suit your needs:
 #
diff -u -r squid-3.0.STABLE2/errors/Makefile.in squid-3.0.STABLE3/errors/Makefile.in
--- squid-3.0.STABLE2/errors/Makefile.in	2008-03-05 01:31:19.000000000 +1300
+++ squid-3.0.STABLE3/errors/Makefile.in	2008-03-31 18:20:21.000000000 +1200
@@ -15,7 +15,7 @@
 @SET_MAKE@
 
 #
-# $Id: Makefile.in,v 1.105.2.2 2008/03/04 12:31:19 amosjeffries Exp $
+# $Id: Makefile.am,v 1.14.2.1 2008/02/27 10:55:13 amosjeffries Exp $
 #
 srcdir = @srcdir@
 top_srcdir = @top_srcdir@
diff -u -r squid-3.0.STABLE2/helpers/basic_auth/DB/Makefile.in squid-3.0.STABLE3/helpers/basic_auth/DB/Makefile.in
--- squid-3.0.STABLE2/helpers/basic_auth/DB/Makefile.in	2008-03-05 01:31:19.000000000 +1300
+++ squid-3.0.STABLE3/helpers/basic_auth/DB/Makefile.in	2008-03-31 18:20:22.000000000 +1200
@@ -17,7 +17,7 @@
 #
 #  Makefile for the Squid Object Cache server
 #
-#  $Id: Makefile.in,v 1.22.2.1 2008/03/04 12:31:19 amosjeffries Exp $
+#  $Id: Makefile.am,v 1.3 2007/07/19 02:54:21 hno Exp $
 #
 #  Uncomment and customize the following to suit your needs:
 #
diff -u -r squid-3.0.STABLE2/helpers/basic_auth/getpwnam/Makefile.in squid-3.0.STABLE3/helpers/basic_auth/getpwnam/Makefile.in
--- squid-3.0.STABLE2/helpers/basic_auth/getpwnam/Makefile.in	2008-03-05 01:31:22.000000000 +1300
+++ squid-3.0.STABLE3/helpers/basic_auth/getpwnam/Makefile.in	2008-03-31 18:20:23.000000000 +1200
@@ -17,7 +17,7 @@
 #
 #  Makefile for the Squid Object Cache server
 #
-#  $Id: Makefile.in,v 1.92.2.1 2008/03/04 12:31:22 amosjeffries Exp $
+#  $Id: Makefile.am,v 1.3 2003/01/23 00:35:47 robertc Exp $
 #
 #  Uncomment and customize the following to suit your needs:
 #
diff -u -r squid-3.0.STABLE2/helpers/basic_auth/LDAP/Makefile.in squid-3.0.STABLE3/helpers/basic_auth/LDAP/Makefile.in
--- squid-3.0.STABLE2/helpers/basic_auth/LDAP/Makefile.in	2008-03-05 01:31:20.000000000 +1300
+++ squid-3.0.STABLE3/helpers/basic_auth/LDAP/Makefile.in	2008-03-31 18:20:22.000000000 +1200
@@ -17,7 +17,7 @@
 #
 #  Makefile for the Squid LDAP authentication helper
 #
-#  $Id: Makefile.in,v 1.94.2.1 2008/03/04 12:31:20 amosjeffries Exp $
+#  $Id: Makefile.am,v 1.6 2005/03/19 15:24:07 serassio Exp $
 #
 #  Uncomment and customize the following to suit your needs:
 #
diff -u -r squid-3.0.STABLE2/helpers/basic_auth/Makefile.in squid-3.0.STABLE3/helpers/basic_auth/Makefile.in
--- squid-3.0.STABLE2/helpers/basic_auth/Makefile.in	2008-03-05 01:31:19.000000000 +1300
+++ squid-3.0.STABLE3/helpers/basic_auth/Makefile.in	2008-03-31 18:20:23.000000000 +1200
@@ -16,7 +16,7 @@
 
 #  Makefile for storage modules in the Squid Object Cache server
 #
-#  $Id: Makefile.in,v 1.95.2.1 2008/03/04 12:31:19 amosjeffries Exp $
+#  $Id: Makefile.am,v 1.9 2007/06/25 11:02:35 hno Exp $
 #
 srcdir = @srcdir@
 top_srcdir = @top_srcdir@
diff -u -r squid-3.0.STABLE2/helpers/basic_auth/MSNT/Makefile.in squid-3.0.STABLE3/helpers/basic_auth/MSNT/Makefile.in
--- squid-3.0.STABLE2/helpers/basic_auth/MSNT/Makefile.in	2008-03-05 01:31:20.000000000 +1300
+++ squid-3.0.STABLE3/helpers/basic_auth/MSNT/Makefile.in	2008-03-31 18:20:22.000000000 +1200
@@ -17,7 +17,7 @@
 #
 #  Makefile for the Squid Object Cache server
 #
-#  $Id: Makefile.in,v 1.97.2.1 2008/03/04 12:31:20 amosjeffries Exp $
+#  $Id: Makefile.am,v 1.10 2003/01/23 00:35:26 robertc Exp $
 #
 #  Uncomment and customize the following to suit your needs:
 #
diff -u -r squid-3.0.STABLE2/helpers/basic_auth/mswin_sspi/Makefile.in squid-3.0.STABLE3/helpers/basic_auth/mswin_sspi/Makefile.in
--- squid-3.0.STABLE2/helpers/basic_auth/mswin_sspi/Makefile.in	2008-03-05 01:31:23.000000000 +1300
+++ squid-3.0.STABLE3/helpers/basic_auth/mswin_sspi/Makefile.in	2008-03-31 18:20:23.000000000 +1200
@@ -17,7 +17,7 @@
 #
 #  Makefile for the Squid Object Cache server
 #
-#  $Id: Makefile.in,v 1.36.2.1 2008/03/04 12:31:23 amosjeffries Exp $
+#  $Id: Makefile.am,v 1.2 2005/11/22 19:45:04 serassio Exp $
 #
 #  Uncomment and customize the following to suit your needs:
 #
diff -u -r squid-3.0.STABLE2/helpers/basic_auth/multi-domain-NTLM/Makefile.in squid-3.0.STABLE3/helpers/basic_auth/multi-domain-NTLM/Makefile.in
--- squid-3.0.STABLE2/helpers/basic_auth/multi-domain-NTLM/Makefile.in	2008-03-05 01:31:23.000000000 +1300
+++ squid-3.0.STABLE3/helpers/basic_auth/multi-domain-NTLM/Makefile.in	2008-03-31 18:20:23.000000000 +1200
@@ -17,7 +17,7 @@
 #
 #  Makefile for the Squid Object Cache server
 #
-#  $Id: Makefile.in,v 1.90.2.1 2008/03/04 12:31:23 amosjeffries Exp $
+#  $Id: Makefile.am,v 1.4 2003/01/23 00:35:49 robertc Exp $
 #
 #  Uncomment and customize the following to suit your needs:
 #
diff -u -r squid-3.0.STABLE2/helpers/basic_auth/NCSA/Makefile.in squid-3.0.STABLE3/helpers/basic_auth/NCSA/Makefile.in
--- squid-3.0.STABLE2/helpers/basic_auth/NCSA/Makefile.in	2008-03-05 01:31:20.000000000 +1300
+++ squid-3.0.STABLE3/helpers/basic_auth/NCSA/Makefile.in	2008-03-31 18:20:23.000000000 +1200
@@ -17,7 +17,7 @@
 #
 #  Makefile for the Squid Object Cache server
 #
-#  $Id: Makefile.in,v 1.95.2.1 2008/03/04 12:31:20 amosjeffries Exp $
+#  $Id: Makefile.am,v 1.6 2007/06/25 11:27:03 hno Exp $
 #
 #  Uncomment and customize the following to suit your needs:
 #
diff -u -r squid-3.0.STABLE2/helpers/basic_auth/PAM/Makefile.in squid-3.0.STABLE3/helpers/basic_auth/PAM/Makefile.in
--- squid-3.0.STABLE2/helpers/basic_auth/PAM/Makefile.in	2008-03-05 01:31:21.000000000 +1300
+++ squid-3.0.STABLE3/helpers/basic_auth/PAM/Makefile.in	2008-03-31 18:20:23.000000000 +1200
@@ -17,7 +17,7 @@
 #
 #  Makefile for the Squid PAM authentication helper
 #
-#  $Id: Makefile.in,v 1.95.2.1 2008/03/04 12:31:21 amosjeffries Exp $
+#  $Id: Makefile.am,v 1.7 2003/08/03 20:38:02 robertc Exp $
 #
 #  Uncomment and customize the following to suit your needs:
 #
diff -u -r squid-3.0.STABLE2/helpers/basic_auth/POP3/Makefile.in squid-3.0.STABLE3/helpers/basic_auth/POP3/Makefile.in
--- squid-3.0.STABLE2/helpers/basic_auth/POP3/Makefile.in	2008-03-05 01:31:21.000000000 +1300
+++ squid-3.0.STABLE3/helpers/basic_auth/POP3/Makefile.in	2008-03-31 18:20:23.000000000 +1200
@@ -17,7 +17,7 @@
 #
 #  Makefile for the Squid Object Cache server
 #
-#  $Id: Makefile.in,v 1.22.2.1 2008/03/04 12:31:21 amosjeffries Exp $
+#  $Id: Makefile.am,v 1.1 2006/12/09 23:28:23 hno Exp $
 #
 #  Uncomment and customize the following to suit your needs:
 #
diff -u -r squid-3.0.STABLE2/helpers/basic_auth/SASL/Makefile.in squid-3.0.STABLE3/helpers/basic_auth/SASL/Makefile.in
--- squid-3.0.STABLE2/helpers/basic_auth/SASL/Makefile.in	2008-03-05 01:31:21.000000000 +1300
+++ squid-3.0.STABLE3/helpers/basic_auth/SASL/Makefile.in	2008-03-31 18:20:23.000000000 +1200
@@ -17,7 +17,7 @@
 #
 #  Makefile for the Squid SASL authentication helper
 #
-#  $Id: Makefile.in,v 1.91.2.1 2008/03/04 12:31:21 amosjeffries Exp $
+#  $Id: Makefile.am,v 1.7 2004/12/20 16:30:15 robertc Exp $
 #
 #  Uncomment and customize the following to suit your needs:
 #
diff -u -r squid-3.0.STABLE2/helpers/basic_auth/SMB/Makefile.in squid-3.0.STABLE3/helpers/basic_auth/SMB/Makefile.in
--- squid-3.0.STABLE2/helpers/basic_auth/SMB/Makefile.in	2008-03-05 01:31:22.000000000 +1300
+++ squid-3.0.STABLE3/helpers/basic_auth/SMB/Makefile.in	2008-03-31 18:20:23.000000000 +1200
@@ -17,7 +17,7 @@
 #
 #  Makefile for the Squid Object Cache server
 #
-#  $Id: Makefile.in,v 1.93.2.1 2008/03/04 12:31:22 amosjeffries Exp $
+#  $Id: Makefile.am,v 1.5 2003/01/23 00:35:40 robertc Exp $
 #
 #  Uncomment and customize the following to suit your needs:
 #
diff -u -r squid-3.0.STABLE2/helpers/basic_auth/squid_radius_auth/Makefile.in squid-3.0.STABLE3/helpers/basic_auth/squid_radius_auth/Makefile.in
--- squid-3.0.STABLE2/helpers/basic_auth/squid_radius_auth/Makefile.in	2008-03-05 01:31:23.000000000 +1300
+++ squid-3.0.STABLE3/helpers/basic_auth/squid_radius_auth/Makefile.in	2008-03-31 18:20:23.000000000 +1200
@@ -17,7 +17,7 @@
 #
 #  Makefile for the Squid LDAP authentication helper
 #
-#  $Id: Makefile.in,v 1.20.2.1 2008/03/04 12:31:23 amosjeffries Exp $
+#  $Id: Makefile.am,v 1.2 2007/11/20 14:34:17 hno Exp $
 #
 #  Uncomment and customize the following to suit your needs:
 #
diff -u -r squid-3.0.STABLE2/helpers/basic_auth/squid_radius_auth/squid_rad_auth.c squid-3.0.STABLE3/helpers/basic_auth/squid_radius_auth/squid_rad_auth.c
--- squid-3.0.STABLE2/helpers/basic_auth/squid_radius_auth/squid_rad_auth.c	2007-11-27 02:07:14.000000000 +1300
+++ squid-3.0.STABLE3/helpers/basic_auth/squid_radius_auth/squid_rad_auth.c	2008-03-31 18:20:23.000000000 +1200
@@ -105,7 +105,7 @@
 static char *send_buffer = (char *) i_send_buffer;
 static char *recv_buffer = (char *) i_recv_buffer;
 static int sockfd;
-static int request_id;
+static u_char request_id;
 static char vector[AUTH_VECTOR_LEN];
 static char secretkey[MAXPASS + 1] = "";
 static char server[MAXLINE] = "";
diff -u -r squid-3.0.STABLE2/helpers/basic_auth/YP/Makefile.in squid-3.0.STABLE3/helpers/basic_auth/YP/Makefile.in
--- squid-3.0.STABLE2/helpers/basic_auth/YP/Makefile.in	2008-03-05 01:31:22.000000000 +1300
+++ squid-3.0.STABLE3/helpers/basic_auth/YP/Makefile.in	2008-03-31 18:20:23.000000000 +1200
@@ -17,7 +17,7 @@
 #
 #  Makefile for the Squid Object Cache server
 #
-#  $Id: Makefile.in,v 1.94.2.1 2008/03/04 12:31:22 amosjeffries Exp $
+#  $Id: Makefile.am,v 1.5 2003/01/23 00:35:44 robertc Exp $
 #
 #
 
diff -u -r squid-3.0.STABLE2/helpers/digest_auth/eDirectory/Makefile.in squid-3.0.STABLE3/helpers/digest_auth/eDirectory/Makefile.in
--- squid-3.0.STABLE2/helpers/digest_auth/eDirectory/Makefile.in	2008-03-05 01:31:24.000000000 +1300
+++ squid-3.0.STABLE3/helpers/digest_auth/eDirectory/Makefile.in	2008-03-31 18:20:23.000000000 +1200
@@ -17,7 +17,7 @@
 #
 #  Makefile for the Squid Object Cache server
 #
-#  $Id: Makefile.in,v 1.17.2.1 2008/03/04 12:31:24 amosjeffries Exp $
+#  $Id: Makefile.am,v 1.1 2007/06/23 20:50:10 hno Exp $
 #
 #  Uncomment and customize the following to suit your needs:
 #
diff -u -r squid-3.0.STABLE2/helpers/digest_auth/ldap/Makefile.in squid-3.0.STABLE3/helpers/digest_auth/ldap/Makefile.in
--- squid-3.0.STABLE2/helpers/digest_auth/ldap/Makefile.in	2008-03-05 01:31:25.000000000 +1300
+++ squid-3.0.STABLE3/helpers/digest_auth/ldap/Makefile.in	2008-03-31 18:20:23.000000000 +1200
@@ -17,7 +17,7 @@
 #
 #  Makefile for the Squid Object Cache server
 #
-#  $Id: Makefile.in,v 1.36.2.1 2008/03/04 12:31:25 amosjeffries Exp $
+#  $Id: Makefile.am,v 1.2 2005/12/29 02:43:02 hno Exp $
 #
 #  Uncomment and customize the following to suit your needs:
 #
diff -u -r squid-3.0.STABLE2/helpers/digest_auth/Makefile.in squid-3.0.STABLE3/helpers/digest_auth/Makefile.in
--- squid-3.0.STABLE2/helpers/digest_auth/Makefile.in	2008-03-05 01:31:24.000000000 +1300
+++ squid-3.0.STABLE3/helpers/digest_auth/Makefile.in	2008-03-31 18:20:23.000000000 +1200
@@ -16,7 +16,7 @@
 
 #  Makefile for digest auth helpers in the Squid Object Cache server
 #
-#  $Id: Makefile.in,v 1.91.2.1 2008/03/04 12:31:24 amosjeffries Exp $
+#  $Id: Makefile.am,v 1.4 2007/06/25 11:01:48 hno Exp $
 #
 srcdir = @srcdir@
 top_srcdir = @top_srcdir@
diff -u -r squid-3.0.STABLE2/helpers/digest_auth/password/Makefile.in squid-3.0.STABLE3/helpers/digest_auth/password/Makefile.in
--- squid-3.0.STABLE2/helpers/digest_auth/password/Makefile.in	2008-03-05 01:31:25.000000000 +1300
+++ squid-3.0.STABLE3/helpers/digest_auth/password/Makefile.in	2008-03-31 18:20:23.000000000 +1200
@@ -17,7 +17,7 @@
 #
 #  Makefile for the Squid Object Cache server
 #
-#  $Id: Makefile.in,v 1.95.2.1 2008/03/04 12:31:25 amosjeffries Exp $
+#  $Id: Makefile.am,v 1.6 2005/12/30 23:21:46 hno Exp $
 #
 #  Uncomment and customize the following to suit your needs:
 #
diff -u -r squid-3.0.STABLE2/helpers/external_acl/ip_user/Makefile.in squid-3.0.STABLE3/helpers/external_acl/ip_user/Makefile.in
--- squid-3.0.STABLE2/helpers/external_acl/ip_user/Makefile.in	2008-03-05 01:31:26.000000000 +1300
+++ squid-3.0.STABLE3/helpers/external_acl/ip_user/Makefile.in	2008-03-31 18:20:23.000000000 +1200
@@ -17,7 +17,7 @@
 #
 #  Makefile for the ip_user external_acl helper by Rodrigo Campos
 #
-#  $Id: Makefile.in,v 1.80.2.1 2008/03/04 12:31:26 amosjeffries Exp $
+#  $Id: Makefile.am,v 1.4 2004/08/14 22:54:52 hno Exp $
 #
 #  Uncomment and customize the following to suit your needs:
 #
diff -u -r squid-3.0.STABLE2/helpers/external_acl/ldap_group/Makefile.in squid-3.0.STABLE3/helpers/external_acl/ldap_group/Makefile.in
--- squid-3.0.STABLE2/helpers/external_acl/ldap_group/Makefile.in	2008-03-05 01:31:27.000000000 +1300
+++ squid-3.0.STABLE3/helpers/external_acl/ldap_group/Makefile.in	2008-03-31 18:20:23.000000000 +1200
@@ -17,7 +17,7 @@
 #
 #  Makefile for the Squid LDAP authentication helper
 #
-#  $Id: Makefile.in,v 1.82.2.1 2008/03/04 12:31:27 amosjeffries Exp $
+#  $Id: Makefile.am,v 1.6 2005/03/19 15:24:07 serassio Exp $
 #
 #  Uncomment and customize the following to suit your needs:
 #
diff -u -r squid-3.0.STABLE2/helpers/external_acl/Makefile.in squid-3.0.STABLE3/helpers/external_acl/Makefile.in
--- squid-3.0.STABLE2/helpers/external_acl/Makefile.in	2008-03-05 01:31:25.000000000 +1300
+++ squid-3.0.STABLE3/helpers/external_acl/Makefile.in	2008-03-31 18:20:23.000000000 +1200
@@ -16,7 +16,7 @@
 
 #  Makefile for storage modules in the Squid Object Cache server
 #
-#  $Id: Makefile.in,v 1.81.2.1 2008/03/04 12:31:25 amosjeffries Exp $
+#  $Id: Makefile.am,v 1.6 2006/03/19 01:30:30 hno Exp $
 #
 srcdir = @srcdir@
 top_srcdir = @top_srcdir@
diff -u -r squid-3.0.STABLE2/helpers/external_acl/mswin_lm_group/Makefile.in squid-3.0.STABLE3/helpers/external_acl/mswin_lm_group/Makefile.in
--- squid-3.0.STABLE2/helpers/external_acl/mswin_lm_group/Makefile.in	2008-03-05 01:31:27.000000000 +1300
+++ squid-3.0.STABLE3/helpers/external_acl/mswin_lm_group/Makefile.in	2008-03-31 18:20:23.000000000 +1200
@@ -17,7 +17,7 @@
 #
 #  Makefile for the Squid Object Cache server
 #
-#  $Id: Makefile.in,v 1.36.2.1 2008/03/04 12:31:27 amosjeffries Exp $
+#  $Id: Makefile.am,v 1.1 2005/10/31 16:29:45 serassio Exp $
 #
 #  Uncomment and customize the following to suit your needs:
 #
diff -u -r squid-3.0.STABLE2/helpers/external_acl/session/Makefile.in squid-3.0.STABLE3/helpers/external_acl/session/Makefile.in
--- squid-3.0.STABLE2/helpers/external_acl/session/Makefile.in	2008-03-05 01:31:27.000000000 +1300
+++ squid-3.0.STABLE3/helpers/external_acl/session/Makefile.in	2008-03-31 18:20:23.000000000 +1200
@@ -17,7 +17,7 @@
 #
 #  Makefile for the Squid LDAP authentication helper
 #
-#  $Id: Makefile.in,v 1.33.2.1 2008/03/04 12:31:27 amosjeffries Exp $
+#  $Id: Makefile.am,v 1.3 2006/03/20 23:38:23 hno Exp $
 #
 #  Uncomment and customize the following to suit your needs:
 #
diff -u -r squid-3.0.STABLE2/helpers/external_acl/unix_group/Makefile.in squid-3.0.STABLE3/helpers/external_acl/unix_group/Makefile.in
--- squid-3.0.STABLE2/helpers/external_acl/unix_group/Makefile.in	2008-03-05 01:31:29.000000000 +1300
+++ squid-3.0.STABLE3/helpers/external_acl/unix_group/Makefile.in	2008-03-31 18:20:23.000000000 +1200
@@ -17,7 +17,7 @@
 #
 #  Makefile for the Squid LDAP authentication helper
 #
-#  $Id: Makefile.in,v 1.80.2.1 2008/03/04 12:31:29 amosjeffries Exp $
+#  $Id: Makefile.am,v 1.4 2004/08/14 22:54:53 hno Exp $
 #
 #  Uncomment and customize the following to suit your needs:
 #
diff -u -r squid-3.0.STABLE2/helpers/external_acl/wbinfo_group/Makefile.in squid-3.0.STABLE3/helpers/external_acl/wbinfo_group/Makefile.in
--- squid-3.0.STABLE2/helpers/external_acl/wbinfo_group/Makefile.in	2008-03-05 01:31:29.000000000 +1300
+++ squid-3.0.STABLE3/helpers/external_acl/wbinfo_group/Makefile.in	2008-03-31 18:20:23.000000000 +1200
@@ -17,7 +17,7 @@
 #
 #  Makefile for the Squid LDAP authentication helper
 #
-#  $Id: Makefile.in,v 1.78.2.1 2008/03/04 12:31:29 amosjeffries Exp $
+#  $Id: Makefile.am,v 1.2 2003/01/23 00:36:16 robertc Exp $
 #
 #  Uncomment and customize the following to suit your needs:
 #
diff -u -r squid-3.0.STABLE2/helpers/negotiate_auth/Makefile.in squid-3.0.STABLE3/helpers/negotiate_auth/Makefile.in
--- squid-3.0.STABLE2/helpers/negotiate_auth/Makefile.in	2008-03-05 01:31:30.000000000 +1300
+++ squid-3.0.STABLE3/helpers/negotiate_auth/Makefile.in	2008-03-31 18:20:23.000000000 +1200
@@ -16,7 +16,7 @@
 
 #  Makefile for negotiate authentication helpers in the Squid Object Cache server
 #
-#  $Id: Makefile.in,v 1.36.2.1 2008/03/04 12:31:30 amosjeffries Exp $
+#  $Id: Makefile.am,v 1.2 2007/06/24 22:34:15 hno Exp $
 #
 srcdir = @srcdir@
 top_srcdir = @top_srcdir@
diff -u -r squid-3.0.STABLE2/helpers/negotiate_auth/mswin_sspi/Makefile.in squid-3.0.STABLE3/helpers/negotiate_auth/mswin_sspi/Makefile.in
--- squid-3.0.STABLE2/helpers/negotiate_auth/mswin_sspi/Makefile.in	2008-03-05 01:31:30.000000000 +1300
+++ squid-3.0.STABLE3/helpers/negotiate_auth/mswin_sspi/Makefile.in	2008-03-31 18:20:23.000000000 +1200
@@ -17,7 +17,7 @@
 #
 #  Makefile for the Squid Object Cache server
 #
-#  $Id: Makefile.in,v 1.35.2.1 2008/03/04 12:31:30 amosjeffries Exp $
+#  $Id: Makefile.am,v 1.2 2005/11/01 08:57:13 serassio Exp $
 #
 
 srcdir = @srcdir@
diff -u -r squid-3.0.STABLE2/helpers/negotiate_auth/squid_kerb_auth/Makefile.in squid-3.0.STABLE3/helpers/negotiate_auth/squid_kerb_auth/Makefile.in
--- squid-3.0.STABLE2/helpers/negotiate_auth/squid_kerb_auth/Makefile.in	2008-03-05 01:31:30.000000000 +1300
+++ squid-3.0.STABLE3/helpers/negotiate_auth/squid_kerb_auth/Makefile.in	2008-03-31 18:20:23.000000000 +1200
@@ -17,7 +17,7 @@
 #
 #  Makefile for the Squid Object Cache server
 #
-#  $Id: Makefile.in,v 1.18.2.1 2008/03/04 12:31:30 amosjeffries Exp $
+#  $Id: Makefile.am,v 1.1 2007/06/24 22:34:15 hno Exp $
 #
 
 srcdir = @srcdir@
diff -u -r squid-3.0.STABLE2/helpers/ntlm_auth/fakeauth/fakeauth_auth.c squid-3.0.STABLE3/helpers/ntlm_auth/fakeauth/fakeauth_auth.c
--- squid-3.0.STABLE2/helpers/ntlm_auth/fakeauth/fakeauth_auth.c	2008-03-05 01:08:20.000000000 +1300
+++ squid-3.0.STABLE3/helpers/ntlm_auth/fakeauth/fakeauth_auth.c	2008-03-31 18:20:24.000000000 +1200
@@ -55,6 +55,7 @@
 
 const char *authenticate_ntlm_domain = "WORKGROUP";
 int debug_enabled = 0;
+int strip_domain_enabled = 0;
 int NTLM_packet_debug_enabled = 0;
 
 /* NTLM authentication by ad@interlude.eu.org - 07/1999 */
@@ -327,6 +328,7 @@
     fprintf(stderr,
 	"Usage: %s [-d] [-v] [-h]\n"
 	" -d  enable debugging.\n"
+	" -S  strip domain from username.\n"
 	" -v  enable verbose NTLM packet debugging.\n"
 	" -h  this message\n\n",
 	my_program_name);
@@ -339,7 +341,7 @@
     int opt, had_error = 0;
 
     opterr = 0;
-    while (-1 != (opt = getopt(argc, argv, "hdv"))) {
+    while (-1 != (opt = getopt(argc, argv, "hdvS"))) {
 	switch (opt) {
 	case 'd':
 	    debug_enabled = 1;
@@ -348,6 +350,9 @@
 	    debug_enabled = 1;
 	    NTLM_packet_debug_enabled = 1;
 	    break;
+	case 'S':
+	    strip_domain_enabled = 1;
+	    break;
 	case 'h':
 	    usage();
 	    exit(0);
@@ -423,7 +428,12 @@
 	    if (!ntlmCheckHeader((ntlmhdr *) decoded, NTLM_AUTHENTICATE)) {
 		if (!ntlmDecodeAuth((struct ntlm_authenticate *) decoded, user, 256)) {
 		    lc(user);
+		    if (strip_domain_enabled) {
+			strtok_r(user, "\\", &p);
+			SEND2("AF %s", p);
+			} else {
 		    SEND2("AF %s", user);
+		    }
 		} else {
 		    lc(user);
 		    SEND2("NA invalid credentials, user=%s", user);
diff -u -r squid-3.0.STABLE2/helpers/ntlm_auth/fakeauth/Makefile.in squid-3.0.STABLE3/helpers/ntlm_auth/fakeauth/Makefile.in
--- squid-3.0.STABLE2/helpers/ntlm_auth/fakeauth/Makefile.in	2008-03-05 01:31:31.000000000 +1300
+++ squid-3.0.STABLE3/helpers/ntlm_auth/fakeauth/Makefile.in	2008-03-31 18:20:24.000000000 +1200
@@ -17,7 +17,7 @@
 #
 #  Makefile for the Squid Object Cache server
 #
-#  $Id: Makefile.in,v 1.89.2.1 2008/03/04 12:31:31 amosjeffries Exp $
+#  $Id: Makefile.am,v 1.2 2003/01/23 00:36:34 robertc Exp $
 #
 #  Uncomment and customize the following to suit your needs:
 #
diff -u -r squid-3.0.STABLE2/helpers/ntlm_auth/Makefile.in squid-3.0.STABLE3/helpers/ntlm_auth/Makefile.in
--- squid-3.0.STABLE2/helpers/ntlm_auth/Makefile.in	2008-03-05 01:31:31.000000000 +1300
+++ squid-3.0.STABLE3/helpers/ntlm_auth/Makefile.in	2008-03-31 18:20:24.000000000 +1200
@@ -16,7 +16,7 @@
 
 #  Makefile for storage modules in the Squid Object Cache server
 #
-#  $Id: Makefile.in,v 1.92.2.1 2008/03/04 12:31:31 amosjeffries Exp $
+#  $Id: Makefile.am,v 1.8 2005/10/30 21:48:22 serassio Exp $
 #
 srcdir = @srcdir@
 top_srcdir = @top_srcdir@
diff -u -r squid-3.0.STABLE2/helpers/ntlm_auth/mswin_sspi/Makefile.in squid-3.0.STABLE3/helpers/ntlm_auth/mswin_sspi/Makefile.in
--- squid-3.0.STABLE2/helpers/ntlm_auth/mswin_sspi/Makefile.in	2008-03-05 01:31:31.000000000 +1300
+++ squid-3.0.STABLE3/helpers/ntlm_auth/mswin_sspi/Makefile.in	2008-03-31 18:20:24.000000000 +1200
@@ -17,7 +17,7 @@
 #
 #  Makefile for the Squid Object Cache server
 #
-#  $Id: Makefile.in,v 1.35.2.1 2008/03/04 12:31:31 amosjeffries Exp $
+#  $Id: Makefile.am,v 1.1 2005/10/30 21:48:22 serassio Exp $
 #
 
 srcdir = @srcdir@
diff -u -r squid-3.0.STABLE2/helpers/ntlm_auth/no_check/Makefile.in squid-3.0.STABLE3/helpers/ntlm_auth/no_check/Makefile.in
--- squid-3.0.STABLE2/helpers/ntlm_auth/no_check/Makefile.in	2008-03-05 01:31:32.000000000 +1300
+++ squid-3.0.STABLE3/helpers/ntlm_auth/no_check/Makefile.in	2008-03-31 18:20:24.000000000 +1200
@@ -17,7 +17,7 @@
 #
 #  Makefile for the Squid Object Cache server
 #
-#  $Id: Makefile.in,v 1.91.2.1 2008/03/04 12:31:32 amosjeffries Exp $
+#  $Id: Makefile.am,v 1.4 2003/01/23 00:36:38 robertc Exp $
 #
 #  Uncomment and customize the following to suit your needs:
 #
diff -u -r squid-3.0.STABLE2/helpers/ntlm_auth/SMB/Makefile.in squid-3.0.STABLE3/helpers/ntlm_auth/SMB/Makefile.in
--- squid-3.0.STABLE2/helpers/ntlm_auth/SMB/Makefile.in	2008-03-05 01:31:31.000000000 +1300
+++ squid-3.0.STABLE3/helpers/ntlm_auth/SMB/Makefile.in	2008-03-31 18:20:24.000000000 +1200
@@ -17,7 +17,7 @@
 #
 #  Makefile for the Squid Object Cache server
 #
-#  $Id: Makefile.in,v 1.92.2.1 2008/03/04 12:31:31 amosjeffries Exp $
+#  $Id: Makefile.am,v 1.2 2003/01/23 00:36:27 robertc Exp $
 #
 
 srcdir = @srcdir@
diff -u -r squid-3.0.STABLE2/icons/Makefile.in squid-3.0.STABLE3/icons/Makefile.in
--- squid-3.0.STABLE2/icons/Makefile.in	2008-03-05 01:31:32.000000000 +1300
+++ squid-3.0.STABLE3/icons/Makefile.in	2008-03-31 18:20:24.000000000 +1200
@@ -14,7 +14,7 @@
 
 @SET_MAKE@
 
-# $Id: Makefile.in,v 1.105.2.1 2008/03/04 12:31:32 amosjeffries Exp $
+# $Id: Makefile.am,v 1.11 2003/05/21 08:24:26 hno Exp $
 #
 
 srcdir = @srcdir@
diff -u -r squid-3.0.STABLE2/include/version.h squid-3.0.STABLE3/include/version.h
--- squid-3.0.STABLE2/include/version.h	2008-03-05 01:35:36.000000000 +1300
+++ squid-3.0.STABLE3/include/version.h	2008-03-31 18:20:29.000000000 +1200
@@ -9,5 +9,5 @@
  */
 
 #ifndef SQUID_RELEASE_TIME
-#define SQUID_RELEASE_TIME 1204634131
+#define SQUID_RELEASE_TIME 1206944412
 #endif
diff -u -r squid-3.0.STABLE2/lib/libTrie/Makefile.in squid-3.0.STABLE3/lib/libTrie/Makefile.in
--- squid-3.0.STABLE2/lib/libTrie/Makefile.in	2008-03-05 01:31:32.000000000 +1300
+++ squid-3.0.STABLE3/lib/libTrie/Makefile.in	2008-03-31 18:20:24.000000000 +1200
@@ -15,7 +15,7 @@
 @SET_MAKE@
 
 #
-# $Id: Makefile.in,v 1.30.2.1 2008/03/04 12:31:32 amosjeffries Exp $
+# $Id: Makefile.am,v 1.1 2003/03/10 04:56:24 robertc Exp $
 #
 srcdir = @srcdir@
 top_srcdir = @top_srcdir@
diff -u -r squid-3.0.STABLE2/lib/Makefile.in squid-3.0.STABLE3/lib/Makefile.in
--- squid-3.0.STABLE2/lib/Makefile.in	2008-03-05 01:31:32.000000000 +1300
+++ squid-3.0.STABLE3/lib/Makefile.in	2008-03-31 18:20:24.000000000 +1200
@@ -15,7 +15,7 @@
 @SET_MAKE@
 
 #
-#  $Id: Makefile.in,v 1.150.2.1 2008/03/04 12:31:32 amosjeffries Exp $
+#  $Id: Makefile.am,v 1.30 2007/12/04 13:22:54 hno Exp $
 #
 
 srcdir = @srcdir@
diff -u -r squid-3.0.STABLE2/Makefile.in squid-3.0.STABLE3/Makefile.in
--- squid-3.0.STABLE2/Makefile.in	2008-03-05 01:30:59.000000000 +1300
+++ squid-3.0.STABLE3/Makefile.in	2008-03-31 18:20:18.000000000 +1200
@@ -15,7 +15,7 @@
 @SET_MAKE@
 
 #
-# $Id: Makefile.in,v 1.114.2.1 2008/03/04 12:30:59 amosjeffries Exp $
+# $Id: Makefile.am,v 1.27 2006/05/11 01:36:57 hno Exp $
 #
 srcdir = @srcdir@
 top_srcdir = @top_srcdir@
diff -u -r squid-3.0.STABLE2/RELEASENOTES.html squid-3.0.STABLE3/RELEASENOTES.html
--- squid-3.0.STABLE2/RELEASENOTES.html	2008-03-05 01:36:40.000000000 +1300
+++ squid-3.0.STABLE3/RELEASENOTES.html	2008-03-31 18:21:33.000000000 +1200
@@ -2,12 +2,12 @@
 <HTML>
 <HEAD>
  <META NAME="GENERATOR" CONTENT="LinuxDoc-Tools 0.9.21">
- <TITLE>Squid 3.0.STABLE2 release notes</TITLE>
+ <TITLE>Squid 3.0.STABLE3 release notes</TITLE>
 </HEAD>
 <BODY>
-<H1>Squid 3.0.STABLE2 release notes</H1>
+<H1>Squid 3.0.STABLE3 release notes</H1>
 
-<H2>Squid Developers</H2>$Id: release-3.0.html,v 1.12.2.2 2008/02/28 00:26:31 amosjeffries Exp $
+<H2>Squid Developers</H2>$Id: release-3.0.sgml,v 1.30.2.5 2008/02/28 00:26:31 amosjeffries Exp $
 <HR>
 <EM>This document contains the release notes for version 3.0 of Squid.
 Squid is a WWW Cache application developed by the National Laboratory
@@ -15,7 +15,7 @@
 <HR>
 <H2><A NAME="s1">1. Notice</A></H2>
 
-<P>The Squid Team are pleased to announce the release of Squid-3.0.STABLE2.</P>
+<P>The Squid Team are pleased to announce the release of Squid-3.0.STABLE3.</P>
 <P>This new release is available for download from 
 <A HREF="http://www.squid-cache.org/Versions/v3/3.0/">http://www.squid-cache.org/Versions/v3/3.0/</A> or the 
 <A HREF="http://www.squid-cache.org/Mirrors/http-mirrors.html">mirrors</A>.</P>
@@ -688,6 +688,11 @@
 
 <DT><B>url_rewrite_program</B><DD>
 <P>No urlgroup support in either requests or responese</P>
+
+<DT><B>auth_param</B><DD>
+<P>fake_auth helper for NTLM now accepts the '-S' parameter to strip NTLM domain off the username string.
+This is useful for class 4 Delay Pools in Squid 3.x</P>
+
 </DL>
 </P>
 
diff -u -r squid-3.0.STABLE2/src/access_log.cc squid-3.0.STABLE3/src/access_log.cc
--- squid-3.0.STABLE2/src/access_log.cc	2007-08-14 06:25:14.000000000 +1200
+++ squid-3.0.STABLE3/src/access_log.cc	2008-03-31 18:20:26.000000000 +1200
@@ -587,8 +587,9 @@
             break;
 
         case LFT_TIME_SECONDS_SINCE_EPOCH:
-            outint = current_time.tv_sec;
-            doint = 1;
+	    // some platforms store time in 32-bit, some 64-bit...
+            outoff = static_cast<int64_t>(current_time.tv_sec);
+            dooff = 1;
             break;
 
         case LFT_TIME_SUBSECOND:
@@ -795,16 +796,16 @@
             break;
 
         case LFT_REPLY_HIGHOFFSET:
-            outint = static_cast<int>(al->cache.highOffset);
+            outoff = al->cache.highOffset;
 
-            doint = 1;
+            dooff = 1;
 
             break;
 
         case LFT_REPLY_OBJECTSIZE:
-            outint = static_cast<int>(al->cache.objectSize);
+            outoff = al->cache.objectSize;
 
-            doint = 1;
+            dooff = 1;
 
             break;
 
diff -u -r squid-3.0.STABLE2/src/ACLBrowser.cc squid-3.0.STABLE3/src/ACLBrowser.cc
--- squid-3.0.STABLE2/src/ACLBrowser.cc	2004-12-21 05:30:32.000000000 +1300
+++ squid-3.0.STABLE3/src/ACLBrowser.cc	2008-03-31 18:20:25.000000000 +1200
@@ -41,11 +41,7 @@
 
 /* explicit template instantiation required for some systems */
 
-template class ACLStrategised<char const *>
-
-;
 template class ACLRequestHeaderStrategy<HDR_USER_AGENT>
-
 ;
 
 ACL::Prototype ACLBrowser::RegistryProtoype(&ACLBrowser::RegistryEntry_, "browser");
diff -u -r squid-3.0.STABLE2/src/ACLMyPortName.cc squid-3.0.STABLE3/src/ACLMyPortName.cc
--- squid-3.0.STABLE2/src/ACLMyPortName.cc	2008-02-27 23:06:42.000000000 +1300
+++ squid-3.0.STABLE3/src/ACLMyPortName.cc	2008-03-31 18:20:25.000000000 +1200
@@ -1,6 +1,6 @@
 
 /*
- * $Id: ACLMyPortName.cc,v 1.2.2.1 2008/02/27 10:06:42 amosjeffries Exp $
+ * $Id: ACLMyPortName.cc,v 1.2 2008/02/11 22:44:50 rousskov Exp $
  *
  *
  * SQUID Web Proxy Cache          http://www.squid-cache.org/
@@ -40,8 +40,6 @@
 
 /* explicit template instantiation required for some systems */
 
-template class ACLStrategised<const char *>;
-
 ACL::Prototype ACLMyPortName::RegistryProtoype(&ACLMyPortName::RegistryEntry_, "myportname");
 
 ACLStrategised<const char *> ACLMyPortName::RegistryEntry_(new ACLStringData, ACLMyPortNameStrategy::Instance(), "myportname");
diff -u -r squid-3.0.STABLE2/src/ACLStrategised.cc squid-3.0.STABLE3/src/ACLStrategised.cc
--- squid-3.0.STABLE2/src/ACLStrategised.cc	2008-02-06 17:06:46.000000000 +1300
+++ squid-3.0.STABLE3/src/ACLStrategised.cc	2008-03-31 18:20:25.000000000 +1200
@@ -1,5 +1,5 @@
 /*
- * $Id: ACLStrategised.cc,v 1.1.4.1 2008/02/06 04:06:46 amosjeffries Exp $
+ * $Id: ACLStrategised.cc,v 1.2 2008/02/06 04:05:38 amosjeffries Exp $
  *
  * DEBUG: section 28    Access Control
  * AUTHOR: Duane Wessels
@@ -43,12 +43,13 @@
 
 /* 
  *  moved template instantiation into ACLStrategized.cc from
- *  ACLHTTPRepHeader.cc and ACLHTTPReqHeader.cc to compile on
+ *  ACLHTTPRepHeader.cc, ACLHTTPReqHeader.cc, ACLBrowser.cc,
+ *  and ACLMyPortName.cc  to compile on
  *  Mac OSX 10.5 Leopard, this corrects a duplicate symbol error
  */
  
 /* explicit template instantiation required for some systems */
 
-template class ACLStrategised<HttpHeader*>
+template class ACLStrategised<HttpHeader*>;
 
-;
+template class ACLStrategised<char const *>;
diff -u -r squid-3.0.STABLE2/src/auth/Makefile.in squid-3.0.STABLE3/src/auth/Makefile.in
--- squid-3.0.STABLE2/src/auth/Makefile.in	2008-03-05 01:31:33.000000000 +1300
+++ squid-3.0.STABLE3/src/auth/Makefile.in	2008-03-31 18:20:26.000000000 +1200
@@ -312,7 +312,7 @@
 
 #  Makefile for authentication modules in the Squid Object Cache server
 #
-#  $Id: Makefile.in,v 1.93.2.1 2008/03/04 12:31:33 amosjeffries Exp $
+#  $Id: Makefile.am,v 1.6 2005/10/23 11:55:38 hno Exp $
 #
 AUTOMAKE_OPTIONS = subdir-objects
 AM_CFLAGS = @SQUID_CFLAGS@
diff -u -r squid-3.0.STABLE2/src/client_side_reply.cc squid-3.0.STABLE3/src/client_side_reply.cc
--- squid-3.0.STABLE2/src/client_side_reply.cc	2008-02-27 18:59:29.000000000 +1300
+++ squid-3.0.STABLE3/src/client_side_reply.cc	2008-03-31 18:20:27.000000000 +1200
@@ -1214,7 +1214,7 @@
     if (is_hit)
         hdr->delById(HDR_SET_COOKIE);
 
-    reply->header.removeHopByHopEntries();
+    reply->header.removeConnectionHeaderEntries();
 
     //    if (request->range)
     //      clientBuildRangeHeader(http, reply);
diff -u -r squid-3.0.STABLE2/src/dns_internal.cc squid-3.0.STABLE3/src/dns_internal.cc
--- squid-3.0.STABLE2/src/dns_internal.cc	2008-02-10 23:43:09.000000000 +1300
+++ squid-3.0.STABLE3/src/dns_internal.cc	2008-03-31 18:20:27.000000000 +1200
@@ -768,29 +768,26 @@
 
     assert(q->lru.prev == NULL);
 
-try_again:
-    ns = q->nsends % nns;
+    do {
+        ns = q->nsends % nns;
 
-    if (q->need_vc) {
-        idnsSendQueryVC(q, ns);
-        x = 0;
-    } else
-        x = comm_udp_sendto(DnsSocket,
-                            &nameservers[ns].S,
-                            sizeof(nameservers[ns].S),
-                            q->buf,
-                            q->sz);
-
-    q->nsends++;
+        if (q->need_vc) {
+            idnsSendQueryVC(q, ns);
+            x = 0;
+        } else {
+            x = comm_udp_sendto(DnsSocket, nameservers[ns].S, sizeof(nameservers[ns].S), q->buf, q->sz);
+        }
 
-    q->sent_t = current_time;
+        q->nsends++;
 
-    if (x < 0) {
-        debugs(50, 1, "idnsSendQuery: FD " << DnsSocket << ": sendto: " << xstrerror());
+        q->sent_t = current_time;
 
-        if (q->nsends % nns != 0)
-            goto try_again;
-    } else {
+        if (x < 0)
+            debugs(50, 1, "idnsSendQuery: FD " << DnsSocket << ": sendto: " << xstrerror());
+
+    } while( x<0 && q->nsends % nns != 0);
+
+    if(x >= 0) {
         fd_bytes(DnsSocket, x, FD_WRITE);
         commSetSelect(DnsSocket, COMM_SELECT_READ, idnsRead, NULL, 0);
     }
diff -u -r squid-3.0.STABLE2/src/fs/Makefile.in squid-3.0.STABLE3/src/fs/Makefile.in
--- squid-3.0.STABLE2/src/fs/Makefile.in	2008-03-05 01:31:33.000000000 +1300
+++ squid-3.0.STABLE3/src/fs/Makefile.in	2008-03-31 18:20:27.000000000 +1200
@@ -16,7 +16,7 @@
 
 #  Makefile for storage modules in the Squid Object Cache server
 #
-#  $Id: Makefile.in,v 1.98.2.1 2008/03/04 12:31:33 amosjeffries Exp $
+#  $Id: Makefile.am,v 1.13 2005/08/20 21:08:38 serassio Exp $
 #
 
 srcdir = @srcdir@
diff -u -r squid-3.0.STABLE2/src/HttpHdrCc.cc squid-3.0.STABLE3/src/HttpHdrCc.cc
--- squid-3.0.STABLE2/src/HttpHdrCc.cc	2007-05-30 01:31:37.000000000 +1200
+++ squid-3.0.STABLE3/src/HttpHdrCc.cc	2008-03-31 18:20:26.000000000 +1200
@@ -246,7 +246,7 @@
             if (flag == CC_S_MAXAGE)
                 packerPrintf(p, "=%d", (int) cc->s_maxage);
 
-            if (flag == CC_MAX_STALE)
+            if (flag == CC_MAX_STALE && cc->max_stale >= 0)
                 packerPrintf(p, "=%d", (int) cc->max_stale);
 
             pcount++;
diff -u -r squid-3.0.STABLE2/src/HttpHdrRange.cc squid-3.0.STABLE3/src/HttpHdrRange.cc
--- squid-3.0.STABLE2/src/HttpHdrRange.cc	2007-08-14 05:20:51.000000000 +1200
+++ squid-3.0.STABLE3/src/HttpHdrRange.cc	2008-03-31 18:20:26.000000000 +1200
@@ -538,8 +538,12 @@
         /* not a range request */
         return false;
 
+    if (Config.rangeOffsetLimit == 0)
+	/* disabled */
+	return true;
+
     if (-1 == Config.rangeOffsetLimit)
-        /* disabled */
+        /* forced */
         return false;
 
     if (firstOffset() == -1)
diff -u -r squid-3.0.STABLE2/src/HttpHeader.cc squid-3.0.STABLE3/src/HttpHeader.cc
--- squid-3.0.STABLE2/src/HttpHeader.cc	2008-02-27 18:59:29.000000000 +1300
+++ squid-3.0.STABLE3/src/HttpHeader.cc	2008-03-31 18:20:26.000000000 +1200
@@ -1806,5 +1806,7 @@
         }
         if (headers_deleted)
             refreshMask();
+
+        delById(HDR_CONNECTION);
     }
 }
diff -u -r squid-3.0.STABLE2/src/HttpHeader.h squid-3.0.STABLE3/src/HttpHeader.h
--- squid-3.0.STABLE2/src/HttpHeader.h	2008-02-27 18:59:29.000000000 +1300
+++ squid-3.0.STABLE3/src/HttpHeader.h	2008-03-31 18:20:26.000000000 +1200
@@ -247,15 +247,13 @@
     int hasListMember(http_hdr_type id, const char *member, const char separator) const;
     int hasByNameListMember(const char *name, const char *member, const char separator) const;
     void removeHopByHopEntries();
+    void removeConnectionHeaderEntries();
     /* protected, do not use these, use interface functions instead */
     Vector<HttpHeaderEntry *> entries;		/* parsed fields in raw format */
     HttpHeaderMask mask;	/* bit set <=> entry present */
     http_hdr_owner_type owner;	/* request or reply */
     int len;			/* length when packed, not counting terminating '\0' */
 
-protected:
-    void removeConnectionHeaderEntries();
-    
 private:
     HttpHeaderEntry *findLastEntry(http_hdr_type id) const;
     // Make it non-copyable. Our destructor is a bit nasty...
diff -u -r squid-3.0.STABLE2/src/HttpHeaderTools.cc squid-3.0.STABLE3/src/HttpHeaderTools.cc
--- squid-3.0.STABLE2/src/HttpHeaderTools.cc	2007-09-28 12:22:37.000000000 +1200
+++ squid-3.0.STABLE3/src/HttpHeaderTools.cc	2008-03-31 18:20:26.000000000 +1200
@@ -269,6 +269,9 @@
     /* skip leading ws (ltrim) */
     *pos += xcountws(*pos);
 
+    /* skip leading delimiters */
+    *pos += strspn(*pos, delim[0]);
+
     *item = *pos;		/* remember item's start */
 
     /* find next delimiter */
diff -u -r squid-3.0.STABLE2/src/Makefile.in squid-3.0.STABLE3/src/Makefile.in
--- squid-3.0.STABLE2/src/Makefile.in	2008-03-05 01:31:33.000000000 +1300
+++ squid-3.0.STABLE3/src/Makefile.in	2008-03-31 18:20:26.000000000 +1200
@@ -17,7 +17,7 @@
 #
 #  Makefile for the Squid Object Cache server
 #
-#  $Id: Makefile.in,v 1.447.2.2 2008/03/04 12:31:33 amosjeffries Exp $
+#  $Id: Makefile.am,v 1.193.2.1 2008/02/27 05:51:04 amosjeffries Exp $
 #
 #  Uncomment and customize the following to suit your needs:
 #
diff -u -r squid-3.0.STABLE2/src/repl/Makefile.in squid-3.0.STABLE3/src/repl/Makefile.in
--- squid-3.0.STABLE2/src/repl/Makefile.in	2008-03-05 01:31:34.000000000 +1300
+++ squid-3.0.STABLE3/src/repl/Makefile.in	2008-03-31 18:20:28.000000000 +1200
@@ -16,7 +16,7 @@
 
 #  Makefile for storage modules in the Squid Object Cache server
 #
-#  $Id: Makefile.in,v 1.92.2.1 2008/03/04 12:31:34 amosjeffries Exp $
+#  $Id: Makefile.am,v 1.7 2005/08/20 21:08:38 serassio Exp $
 #
 
 srcdir = @srcdir@
diff -u -r squid-3.0.STABLE2/test-suite/Makefile.in squid-3.0.STABLE3/test-suite/Makefile.in
--- squid-3.0.STABLE2/test-suite/Makefile.in	2008-03-05 01:31:35.000000000 +1300
+++ squid-3.0.STABLE3/test-suite/Makefile.in	2008-03-31 18:20:28.000000000 +1200
@@ -17,7 +17,7 @@
 #
 #  Makefile for the Squid Object Cache server
 #
-#  $Id: Makefile.in,v 1.89.2.1 2008/03/04 12:31:35 amosjeffries Exp $
+#  $Id: Makefile.am,v 1.20 2007/01/04 20:52:57 hno Exp $
 #
 srcdir = @srcdir@
 top_srcdir = @top_srcdir@
diff -u -r squid-3.0.STABLE2/TODO squid-3.0.STABLE3/TODO
--- squid-3.0.STABLE2/TODO	2005-03-11 10:49:19.000000000 +1300
+++ squid-3.0.STABLE3/TODO	2008-03-31 18:20:18.000000000 +1200
@@ -3,7 +3,6 @@
   Feature freeze:
 
   - overlapping helper feature implementation (plain or stateful or both). 
-  - Someone other than Robert to review the draft squid 3 release notes (in CVS already).
 
   Other?
 
@@ -23,6 +22,7 @@
   - Authentication tidyups in proxy_auth acl managagement (Done).
   - Appropriate parts of rproxy (Done).
   - Some kind of Range support to at least the level of 2.5 and earlier (Done).
+  - Someone other than Robert to review the draft squid 3 release notes (in CVS already).
 
 
 Squid-3.1
diff -u -r squid-3.0.STABLE2/tools/Makefile.in squid-3.0.STABLE3/tools/Makefile.in
--- squid-3.0.STABLE2/tools/Makefile.in	2008-03-05 01:31:35.000000000 +1300
+++ squid-3.0.STABLE3/tools/Makefile.in	2008-03-31 18:20:28.000000000 +1200
@@ -17,7 +17,7 @@
 #
 #  Makefile for the Squid Object Cache server
 #
-#  $Id: Makefile.in,v 1.28.2.1 2008/03/04 12:31:35 amosjeffries Exp $
+#  $Id: Makefile.am,v 1.2 2006/05/11 12:25:39 hno Exp $
 #
 #  Uncomment and customize the following to suit your needs:
 #
