diff -u -r -N squid-3.2.0.14/ChangeLog squid-3.2.0.15/ChangeLog
--- squid-3.2.0.14/ChangeLog 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/ChangeLog 2012-02-06 04:52:31.000000000 +1300
@@ -1,3 +1,24 @@
+Changes to squid-3.2.0.15 (06 Feb 2011):
+
+ - Bug 3472: segfault with the message 'urlParse: URL too large'
+ - Bug 3471: segfault when %la formating code used
+ - Bug 3449: part 3: shm_open can fail with a mangled path
+ - Bug 3449: part 4: shm_open failed (fixing memory_cache_shared defaults)
+ - Bug 3448: 204 response problem in adaptation chains
+ - Bug 3447: assertion failed: CommCalls.h:150: "dp"
+ - Bug 3461: build regression in IPFilter NAT
+ - Bug 3413: raise cbdata lock limits
+ - Bug 3391: forwarded_for log functionality broken
+ - Bug 3268: Squid cannot do anything else during ufs/diskd rebuild
+ - Bug 3268: remove wrong 'Ready to serve requests.' message
+ - Bug 2519: ssl_bump + Authentication (LDAP Digest) issues
+ - Disable OpenSSL SSL/TLS bug workarounds by default
+ - Send DNS A and AAAA queries in parallel
+ - Cache Manager migration support
+ - Allow service of internal requests over reverse-proxy ports
+ - Fix trimMemory for unswappable objects
+ - ... and several build and polish fixes
+
Changes to squid-3.2.0.14 (12 Dec 2011):
- Bug 3433: Segfault closing SNMP
@@ -312,6 +333,20 @@
- ... and a great many testing improvements
- ... and many documentation updates
+Changes to squid-3.1.19 (06 Feb 2011):
+
+ - Regression Bug 3441: part 2: Prevent further cache size corruption of swap.state
+ - Bug 3473: erase last uses of obsolete auth_user_hash_pointer
+ - Bug 3470: GCC 4.7
+ - Bug 3442: assertion failed: external_acl.cc:908: ch->auth_user_request != NULL
+ - Bug 3441: part 1: Minimize cache size corruption by malformed swap.state
+ - Bug 3440: compile error in Adaptation
+ - Bug 3420: Request body consumption races and !theConsumer exception
+ - Bug 3370: external ACL sometimes skipping
+ - Bug 3085: Crash when parsing esi:include
+ - HTTP/1.1: do not add 110 and 111 Warnings to revalidated responses
+ - Fix SSL library dependency fixes
+
Changes to squid-3.1.18 (03 Dec 2011):
- Regression: compile error in FTP
diff -u -r -N squid-3.2.0.14/compat/assert.cc squid-3.2.0.15/compat/assert.cc
--- squid-3.2.0.14/compat/assert.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/compat/assert.cc 2012-02-06 04:52:31.000000000 +1300
@@ -31,7 +31,7 @@
*
*/
-#include "config.h"
+#include "squid.h"
void xassert(const char *expr, const char *file, int line)
{
diff -u -r -N squid-3.2.0.14/compat/compat.cc squid-3.2.0.15/compat/compat.cc
--- squid-3.2.0.14/compat/compat.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/compat/compat.cc 2012-02-06 04:52:31.000000000 +1300
@@ -1,4 +1,4 @@
-#include "config.h"
+#include "squid.h"
#include "compat.h"
void (*failure_notify) (const char *) = NULL;
diff -u -r -N squid-3.2.0.14/compat/compat.h squid-3.2.0.15/compat/compat.h
--- squid-3.2.0.14/compat/compat.h 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/compat/compat.h 2012-02-06 04:52:31.000000000 +1300
@@ -8,11 +8,11 @@
*
* This file is meant to collate all those hacks files together and
* provide a simple include for them in the core squid headers
- * (presently squid.h and config.h)
+ * (presently squid.h)
*
* It should not be included directly in any of the squid sources.
* If your code requires any symbols from here you should be importing
- * config.h/squid.h at the top line of your .cc or .h file.
+ * squid.h at the top line of your .cc file.
*/
diff -u -r -N squid-3.2.0.14/compat/debug.cc squid-3.2.0.15/compat/debug.cc
--- squid-3.2.0.14/compat/debug.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/compat/debug.cc 2012-02-06 04:52:31.000000000 +1300
@@ -1,4 +1,4 @@
-#include "config.h"
+#include "squid.h"
#include "compat/debug.h"
/* default off */
diff -u -r -N squid-3.2.0.14/compat/drand48.c squid-3.2.0.15/compat/drand48.c
--- squid-3.2.0.14/compat/drand48.c 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/compat/drand48.c 2012-02-06 04:52:31.000000000 +1300
@@ -1,4 +1,4 @@
-#include "config.h"
+#include "squid.h"
/* borrowed from libc/misc/drand48.c in Linux libc-5.4.46 this quick
* hack by Martin Hamilton to make Squid build on
diff -u -r -N squid-3.2.0.14/compat/eui64_aton.c squid-3.2.0.15/compat/eui64_aton.c
--- squid-3.2.0.14/compat/eui64_aton.c 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/compat/eui64_aton.c 2012-02-06 04:52:31.000000000 +1300
@@ -74,7 +74,7 @@
* Columbia University, New York City
*/
-#include "config.h"
+#include "squid.h"
#include "compat/eui64_aton.h"
/*
diff -u -r -N squid-3.2.0.14/compat/fdsetsize.h squid-3.2.0.15/compat/fdsetsize.h
--- squid-3.2.0.14/compat/fdsetsize.h 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/compat/fdsetsize.h 2012-02-06 04:52:31.000000000 +1300
@@ -15,7 +15,7 @@
*/
#ifdef _SYS_TYPES_H
#error squid_fdsetsize.h for FDSETSIZE must be included before sys/types.h
-#error Make sure that squid.h or config.h is the first file included by your .cc
+#error Make sure that squid.h is the first file included by your .cc
#endif
#endif /* 0 */
/*
diff -u -r -N squid-3.2.0.14/compat/getaddrinfo.c squid-3.2.0.15/compat/getaddrinfo.c
--- squid-3.2.0.14/compat/getaddrinfo.c 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/compat/getaddrinfo.c 2012-02-06 04:52:31.000000000 +1300
@@ -16,7 +16,7 @@
*
* Original License and code follows.
*/
-#include "config.h"
+#include "squid.h"
/*
* This file is part of libESMTP, a library for submission of RFC 2822
diff -u -r -N squid-3.2.0.14/compat/getnameinfo.c squid-3.2.0.15/compat/getnameinfo.c
--- squid-3.2.0.14/compat/getnameinfo.c 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/compat/getnameinfo.c 2012-02-06 04:52:31.000000000 +1300
@@ -18,7 +18,7 @@
*
* Original License and code follows.
*/
-#include "config.h"
+#include "squid.h"
/* KAME: getnameinfo.c,v 1.72 2005/01/13 04:12:03 itojun Exp */
diff -u -r -N squid-3.2.0.14/compat/GnuRegex.c squid-3.2.0.15/compat/GnuRegex.c
--- squid-3.2.0.14/compat/GnuRegex.c 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/compat/GnuRegex.c 2012-02-06 04:52:31.000000000 +1300
@@ -32,7 +32,7 @@
#define _GNU_SOURCE 1
#endif
-#include "config.h"
+#include "squid.h"
#if USE_GNUREGEX /* only if squid needs it. Usually not */
diff -u -r -N squid-3.2.0.14/compat/inet_ntop.c squid-3.2.0.15/compat/inet_ntop.c
--- squid-3.2.0.14/compat/inet_ntop.c 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/compat/inet_ntop.c 2012-02-06 04:52:31.000000000 +1300
@@ -21,7 +21,7 @@
* Original License and code follows.
*/
-#include "config.h"
+#include "squid.h"
#if !HAVE_INET_NTOP
#include "inet_ntop.h"
diff -u -r -N squid-3.2.0.14/compat/inet_pton.c squid-3.2.0.15/compat/inet_pton.c
--- squid-3.2.0.14/compat/inet_pton.c 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/compat/inet_pton.c 2012-02-06 04:52:31.000000000 +1300
@@ -18,7 +18,7 @@
* Original License and code follows.
*/
-#include "config.h"
+#include "squid.h"
#if !HAVE_INET_PTON
diff -u -r -N squid-3.2.0.14/compat/initgroups.c squid-3.2.0.15/compat/initgroups.c
--- squid-3.2.0.14/compat/initgroups.c 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/compat/initgroups.c 2012-02-06 04:52:31.000000000 +1300
@@ -1,4 +1,4 @@
-#include "config.h"
+#include "squid.h"
#include "compat/initgroups.h"
#if HAVE_GRP_H
diff -u -r -N squid-3.2.0.14/compat/mswin.cc squid-3.2.0.15/compat/mswin.cc
--- squid-3.2.0.14/compat/mswin.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/compat/mswin.cc 2012-02-06 04:52:31.000000000 +1300
@@ -34,7 +34,7 @@
*
*/
-#include "config.h"
+#include "squid.h"
#include "util.h"
/* The following code section is part of an EXPERIMENTAL native */
diff -u -r -N squid-3.2.0.14/compat/psignal.c squid-3.2.0.15/compat/psignal.c
--- squid-3.2.0.14/compat/psignal.c 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/compat/psignal.c 2012-02-06 04:52:31.000000000 +1300
@@ -2,7 +2,7 @@
* Author: Jens-S. V?ckler
* Ripped from Purge tool implementation.
*/
-#include "config.h"
+#include "squid.h"
#include "psignal.h"
#if _SQUID_AIX_ || _SQUID_MINGW_
diff -u -r -N squid-3.2.0.14/compat/shm.cc squid-3.2.0.15/compat/shm.cc
--- squid-3.2.0.14/compat/shm.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/compat/shm.cc 2012-02-06 04:52:31.000000000 +1300
@@ -1,4 +1,4 @@
-#include "config.h"
+#include "squid.h"
#include "compat/shm.h"
#if _SQUID_FREEBSD_ && (__FreeBSD__ >= 7)
diff -u -r -N squid-3.2.0.14/compat/strerror.c squid-3.2.0.15/compat/strerror.c
--- squid-3.2.0.14/compat/strerror.c 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/compat/strerror.c 2012-02-06 04:52:31.000000000 +1300
@@ -32,7 +32,7 @@
*
*/
-#include "config.h"
+#include "squid.h"
#if HAVE_ERRNO_H
#include
diff -u -r -N squid-3.2.0.14/compat/strnrchr.c squid-3.2.0.15/compat/strnrchr.c
--- squid-3.2.0.14/compat/strnrchr.c 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/compat/strnrchr.c 2012-02-06 04:52:31.000000000 +1300
@@ -28,7 +28,7 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111, USA.
*/
-#include "config.h"
+#include "squid.h"
#include "strnrchr.h"
const char *
diff -u -r -N squid-3.2.0.14/compat/strnstr.cc squid-3.2.0.15/compat/strnstr.cc
--- squid-3.2.0.14/compat/strnstr.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/compat/strnstr.cc 2012-02-06 04:52:31.000000000 +1300
@@ -17,7 +17,7 @@
* Original License and code follows.
*/
-#include "config.h"
+#include "squid.h"
#if !HAVE_STRNSTR
diff -u -r -N squid-3.2.0.14/compat/strsep.c squid-3.2.0.15/compat/strsep.c
--- squid-3.2.0.14/compat/strsep.c 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/compat/strsep.c 2012-02-06 04:52:31.000000000 +1300
@@ -17,7 +17,7 @@
* USA.
*/
-#include "config.h"
+#include "squid.h"
#include "compat/strsep.h"
#include
diff -u -r -N squid-3.2.0.14/compat/strtoll.c squid-3.2.0.15/compat/strtoll.c
--- squid-3.2.0.14/compat/strtoll.c 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/compat/strtoll.c 2012-02-06 04:52:31.000000000 +1300
@@ -33,7 +33,7 @@
/* modified for long long 1999-08-12 */
-#include "config.h"
+#include "squid.h"
#include "compat/strtoll.h"
#if HAVE_CTYPE_H
diff -u -r -N squid-3.2.0.14/compat/tempnam.c squid-3.2.0.15/compat/tempnam.c
--- squid-3.2.0.14/compat/tempnam.c 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/compat/tempnam.c 2012-02-06 04:52:31.000000000 +1300
@@ -8,7 +8,7 @@
* temp file is written in /tmp.
*/
-#include "config.h"
+#include "squid.h"
#include "compat/tempnam.h"
#if HAVE_LIBC_H
diff -u -r -N squid-3.2.0.14/compat/testPreCompiler.cc squid-3.2.0.15/compat/testPreCompiler.cc
--- squid-3.2.0.14/compat/testPreCompiler.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/compat/testPreCompiler.cc 2012-02-06 04:52:31.000000000 +1300
@@ -1,5 +1,5 @@
#define SQUID_UNIT_TEST 1
-#include "config.h"
+#include "squid.h"
#if HAVE_ASSERT_H
#include
diff -u -r -N squid-3.2.0.14/compat/xalloc.cc squid-3.2.0.15/compat/xalloc.cc
--- squid-3.2.0.14/compat/xalloc.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/compat/xalloc.cc 2012-02-06 04:52:31.000000000 +1300
@@ -1,4 +1,4 @@
-#include "config.h"
+#include "squid.h"
#include "compat/xalloc.h"
#include "profiler/Profiler.h"
@@ -194,15 +194,6 @@
}
void
-xfree(void *s)
-{
- if (s == NULL)
- return;
-
- free_const(s);
-}
-
-void
free_const(const void *s_const)
{
void *s = const_cast(s_const);
diff -u -r -N squid-3.2.0.14/compat/xalloc.h squid-3.2.0.15/compat/xalloc.h
--- squid-3.2.0.14/compat/xalloc.h 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/compat/xalloc.h 2012-02-06 04:52:31.000000000 +1300
@@ -30,27 +30,29 @@
void *xrealloc(void *s, size_t sz);
/**
- * xfree() - same as free(3). Used for portability.
- * Will not call free(3) if s == NULL.
+ * free_const() - Same as free(3). Used for portability.
+ * Accepts pointers to dynamically allocated const data.
*
* Define failure_notify to receive error message.
* otherwise perror() is used to display it.
*/
- void xfree(void *s);
+ void free_const(const void *s);
/**
- * xxfree() / free_const() - Same as free(3). Used for portability.
+ * xfree() - same as free(3). Used for portability.
* Accepts pointers to dynamically allocated const data.
+ * Will not call free(3) if the pointer is NULL.
+ *
+ * Pointer is left with a value on completion.
+ * Use safe_free() if the pointer needs to be set to NULL afterward.
*
* Define failure_notify to receive error message.
* otherwise perror() is used to display it.
*/
- void free_const(const void *s);
-
-/// Backward compatibility alias for free_const(const void *s)
-#define xxfree(x) free_const((x))
+ static inline void xfree(const void *p) { if (p) free_const(p); }
/**
+ * safe_free() - same as free(3). Used for portability.
* Accepts pointers to dynamically allocated const data.
* Will not call free(3) if the pointer is NULL.
* Sets the pointer to NULL on completion.
@@ -60,7 +62,7 @@
* Define failure_notify to receive error message.
* otherwise perror() is used to display it.
*/
-#define safe_free(x) while (x) { xxfree(x); (x) = NULL; }
+#define safe_free(x) while ((x)) { free_const((x)); (x) = NULL; }
#ifdef __cplusplus
}
diff -u -r -N squid-3.2.0.14/compat/xstrerror.cc squid-3.2.0.15/compat/xstrerror.cc
--- squid-3.2.0.14/compat/xstrerror.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/compat/xstrerror.cc 2012-02-06 04:52:31.000000000 +1300
@@ -1,4 +1,4 @@
-#include "config.h"
+#include "squid.h"
#include "compat/xstrerror.h"
#if HAVE_STRING_H
diff -u -r -N squid-3.2.0.14/compat/xstring.cc squid-3.2.0.15/compat/xstring.cc
--- squid-3.2.0.14/compat/xstring.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/compat/xstring.cc 2012-02-06 04:52:31.000000000 +1300
@@ -1,4 +1,4 @@
-#include "config.h"
+#include "squid.h"
#include "compat/xalloc.h"
#include "compat/xstring.h"
diff -u -r -N squid-3.2.0.14/compat/xstrto.cc squid-3.2.0.15/compat/xstrto.cc
--- squid-3.2.0.14/compat/xstrto.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/compat/xstrto.cc 2012-02-06 04:52:31.000000000 +1300
@@ -28,7 +28,7 @@
* Original License and code follows.
*/
-#include "config.h"
+#include "squid.h"
#include "compat/xstrto.h"
/*
diff -u -r -N squid-3.2.0.14/configure squid-3.2.0.15/configure
--- squid-3.2.0.14/configure 2011-12-13 00:11:47.000000000 +1300
+++ squid-3.2.0.15/configure 2012-02-06 05:01:03.000000000 +1300
@@ -1,7 +1,7 @@
#! /bin/sh
# From configure.ac Revision.
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.68 for Squid Web Proxy 3.2.0.14.
+# Generated by GNU Autoconf 2.68 for Squid Web Proxy 3.2.0.15.
#
# Report bugs to .
#
@@ -575,8 +575,8 @@
# Identity of this package.
PACKAGE_NAME='Squid Web Proxy'
PACKAGE_TARNAME='squid'
-PACKAGE_VERSION='3.2.0.14'
-PACKAGE_STRING='Squid Web Proxy 3.2.0.14'
+PACKAGE_VERSION='3.2.0.15'
+PACKAGE_STRING='Squid Web Proxy 3.2.0.15'
PACKAGE_BUGREPORT='http://www.squid-cache.org/bugs/'
PACKAGE_URL=''
@@ -684,8 +684,8 @@
DEFAULT_HOSTS
USE_SSL_CRTD_FALSE
USE_SSL_CRTD_TRUE
-USE_DNSSERVER_FALSE
-USE_DNSSERVER_TRUE
+ENABLE_DNSHELPER_FALSE
+ENABLE_DNSHELPER_TRUE
MAKE_LEAKFINDER_FALSE
MAKE_LEAKFINDER_TRUE
EPOLL_LIBS
@@ -1570,7 +1570,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.2.0.14 to adapt to many kinds of systems.
+\`configure' configures Squid Web Proxy 3.2.0.15 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1640,7 +1640,7 @@
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of Squid Web Proxy 3.2.0.14:";;
+ short | recursive ) echo "Configuration of Squid Web Proxy 3.2.0.15:";;
esac
cat <<\_ACEOF
@@ -2018,7 +2018,7 @@
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-Squid Web Proxy configure 3.2.0.14
+Squid Web Proxy configure 3.2.0.15
generated by GNU Autoconf 2.68
Copyright (C) 2010 Free Software Foundation, Inc.
@@ -3114,7 +3114,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.2.0.14, which was
+It was created by Squid Web Proxy $as_me 3.2.0.15, which was
generated by GNU Autoconf 2.68. Invocation command line was
$ $0 $@
@@ -3933,7 +3933,7 @@
# Define the identity of the package.
PACKAGE='squid'
- VERSION='3.2.0.14'
+ VERSION='3.2.0.15'
cat >>confdefs.h <<_ACEOF
@@ -21508,38 +21508,38 @@
unset squid_tmp_define
-squid_opt_use_dnsserver="no"
+squid_opt_use_dnshelper="no"
# Check whether --enable-internal-dns was given.
if test "${enable_internal_dns+set}" = set; then :
enableval=$enable_internal_dns;
if test "x$enableval" = "xno" ; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling Internal DNS queries" >&5
$as_echo "$as_me: WARNING: Disabling Internal DNS queries" >&2;}
- squid_opt_use_dnsserver="yes"
+ squid_opt_use_dnshelper="yes"
fi
fi
squid_tmp_define=""
-case "$squid_opt_use_dnsserver" in
+case "$squid_opt_use_dnshelper" in
yes|true|1) squid_tmp_define="1" ;;
no|false|0|"") squid_tmp_define="0" ;;
- *) as_fn_error $? "SQUID_DEFINE_BOOL: unrecognized value for USE_DNSSERVERS: '$squid_opt_use_dnsserver'" "$LINENO" 5 ;;
+ *) as_fn_error $? "SQUID_DEFINE_BOOL: unrecognized value for USE_DNSHELPER: '$squid_opt_use_dnshelper'" "$LINENO" 5 ;;
esac
cat >>confdefs.h <<_ACEOF
-#define USE_DNSSERVERS $squid_tmp_define
+#define USE_DNSHELPER $squid_tmp_define
_ACEOF
unset squid_tmp_define
- if test "x$squid_opt_use_dnsserver" = "xyes" ; then
- USE_DNSSERVER_TRUE=
- USE_DNSSERVER_FALSE='#'
+ if test "x$squid_opt_use_dnshelper" = "xyes" ; then
+ ENABLE_DNSHELPER_TRUE=
+ ENABLE_DNSHELPER_FALSE='#'
else
- USE_DNSSERVER_TRUE='#'
- USE_DNSSERVER_FALSE=
+ ENABLE_DNSHELPER_TRUE='#'
+ ENABLE_DNSHELPER_FALSE=
fi
@@ -29323,7 +29323,7 @@
conftest$ac_exeext conftest.$ac_ext
-if test "x$squid_opt_use_dnsserver" = "xyes"; then
+if test "x$squid_opt_use_dnshelper" = "xyes"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libresolv _dns_ttl_ hack" >&5
$as_echo_n "checking for libresolv _dns_ttl_ hack... " >&6; }
@@ -30154,8 +30154,8 @@
as_fn_error $? "conditional \"MAKE_LEAKFINDER\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5
fi
-if test -z "${USE_DNSSERVER_TRUE}" && test -z "${USE_DNSSERVER_FALSE}"; then
- as_fn_error $? "conditional \"USE_DNSSERVER\" was never defined.
+if test -z "${ENABLE_DNSHELPER_TRUE}" && test -z "${ENABLE_DNSHELPER_FALSE}"; then
+ as_fn_error $? "conditional \"ENABLE_DNSHELPER\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5
fi
if test -z "${USE_SSL_CRTD_TRUE}" && test -z "${USE_SSL_CRTD_FALSE}"; then
@@ -30632,7 +30632,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.2.0.14, which was
+This file was extended by Squid Web Proxy $as_me 3.2.0.15, which was
generated by GNU Autoconf 2.68. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -30698,7 +30698,7 @@
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
ac_cs_version="\\
-Squid Web Proxy config.status 3.2.0.14
+Squid Web Proxy config.status 3.2.0.15
configured by $0, generated by GNU Autoconf 2.68,
with options \\"\$ac_cs_config\\"
diff -u -r -N squid-3.2.0.14/configure.ac squid-3.2.0.15/configure.ac
--- squid-3.2.0.14/configure.ac 2011-12-13 00:11:46.000000000 +1300
+++ squid-3.2.0.15/configure.ac 2012-02-06 05:00:59.000000000 +1300
@@ -3,7 +3,7 @@
dnl
dnl
dnl
-AC_INIT([Squid Web Proxy],[3.2.0.14],[http://www.squid-cache.org/bugs/],[squid])
+AC_INIT([Squid Web Proxy],[3.2.0.15],[http://www.squid-cache.org/bugs/],[squid])
AC_PREREQ(2.61)
AC_CONFIG_HEADERS([include/autoconf.h])
AC_CONFIG_AUX_DIR(cfgaux)
@@ -1578,19 +1578,19 @@
AC_MSG_NOTICE([Support for Ident lookups enabled: ${enable_ident_lookups:=yes}])
SQUID_DEFINE_BOOL(USE_IDENT,$enable_ident_lookups,[Support for Ident (RFC 931) lookups])
-squid_opt_use_dnsserver="no"
+squid_opt_use_dnshelper="no"
AC_ARG_ENABLE(internal-dns,
AS_HELP_STRING([--disable-internal-dns],
[Prevents Squid from directly sending and receiving DNS messages,
and instead enables the old external 'dnsserver' processes.]), [
if test "x$enableval" = "xno" ; then
AC_MSG_WARN([Disabling Internal DNS queries])
- squid_opt_use_dnsserver="yes"
+ squid_opt_use_dnshelper="yes"
fi
])
-SQUID_DEFINE_BOOL(USE_DNSSERVERS,$squid_opt_use_dnsserver,
+SQUID_DEFINE_BOOL(USE_DNSHELPER,$squid_opt_use_dnshelper,
[Use dnsserver processes instead of the internal DNS protocol support])
-AM_CONDITIONAL([USE_DNSSERVER],[test "x$squid_opt_use_dnsserver" = "xyes" ])
+AM_CONDITIONAL([ENABLE_DNSHELPER],[test "x$squid_opt_use_dnshelper" = "xyes" ])
AM_CONDITIONAL(USE_SSL_CRTD, false)
@@ -3368,7 +3368,7 @@
SQUID_CHECK_NEED_SYS_ERRLIST
SQUID_CHECK_MAXPATHLEN
-if test "x$squid_opt_use_dnsserver" = "xyes"; then
+if test "x$squid_opt_use_dnshelper" = "xyes"; then
SQUID_CHECK_LIBRESOLV_DNS_TTL_HACK
SQUID_CHECK_RESOLVER_FIELDS
fi
diff -u -r -N squid-3.2.0.14/contrib/rredir.c squid-3.2.0.15/contrib/rredir.c
--- squid-3.2.0.14/contrib/rredir.c 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/contrib/rredir.c 2012-02-06 04:52:31.000000000 +1300
@@ -1,4 +1,4 @@
-#include "config.h"
+#include "squid.h"
/*
* From: richard@hekkihek.hacom.nl (Richard Huveneers)
diff -u -r -N squid-3.2.0.14/errors/af/ERR_CONFLICT_HOST squid-3.2.0.15/errors/af/ERR_CONFLICT_HOST
--- squid-3.2.0.14/errors/af/ERR_CONFLICT_HOST 1970-01-01 12:00:00.000000000 +1200
+++ squid-3.2.0.15/errors/af/ERR_CONFLICT_HOST 2012-02-06 05:09:45.000000000 +1300
@@ -0,0 +1 @@
+ FOUT: Die aangevraagde URL kon nie verkry word nie
ERROR
The requested URL could not be retrieved
Die volgende fout is teëgekom tydens verkryging van die URL: %U
URI Host Conflict
This means the domain name you are trying to access apparently no longer exists on the machine you are requesting it from.
Enkele moontlike probleme is:
- The domain may have moved very recently. Trying again will resolve that.
- The website may require you to use a local country-based version. Using your ISP provided DNS server(s) should resolve that.
Die kasbediener se administrateur is %w.
\ No newline at end of file
diff -u -r -N squid-3.2.0.14/errors/ar/ERR_CONFLICT_HOST squid-3.2.0.15/errors/ar/ERR_CONFLICT_HOST
--- squid-3.2.0.14/errors/ar/ERR_CONFLICT_HOST 1970-01-01 12:00:00.000000000 +1200
+++ squid-3.2.0.15/errors/ar/ERR_CONFLICT_HOST 2012-02-06 05:11:20.000000000 +1300
@@ -0,0 +1 @@
+ خطأ: The requested URL could not be retrieved
ERROR
The requested URL could not be retrieved
The following error was encountered while trying to retrieve the URL: %U
URI Host Conflict
This means the domain name you are trying to access apparently no longer exists on the machine you are requesting it from.
Some possible problems are:
- The domain may have moved very recently. Trying again will resolve that.
- The website may require you to use a local country-based version. Using your ISP provided DNS server(s) should resolve that.
Your cache administrator is %w.
\ No newline at end of file
diff -u -r -N squid-3.2.0.14/errors/az/ERR_CONFLICT_HOST squid-3.2.0.15/errors/az/ERR_CONFLICT_HOST
--- squid-3.2.0.14/errors/az/ERR_CONFLICT_HOST 1970-01-01 12:00:00.000000000 +1200
+++ squid-3.2.0.15/errors/az/ERR_CONFLICT_HOST 2012-02-06 05:12:43.000000000 +1300
@@ -0,0 +1 @@
+ SƏHV: Sorğulanan URL ilə əlaqə yaradılmadı
ERROR
The requested URL could not be retrieved
The following error was encountered while trying to retrieve the URL: %U
URI Host Conflict
This means the domain name you are trying to access apparently no longer exists on the machine you are requesting it from.
Mümkün probleml�^�rd�^�n b�^�zil�^�ri:
- The domain may have moved very recently. Trying again will resolve that.
- The website may require you to use a local country-based version. Using your ISP provided DNS server(s) should resolve that.
Your cache administrator is %w.
\ No newline at end of file
diff -u -r -N squid-3.2.0.14/errors/bg/ERR_CONFLICT_HOST squid-3.2.0.15/errors/bg/ERR_CONFLICT_HOST
--- squid-3.2.0.14/errors/bg/ERR_CONFLICT_HOST 1970-01-01 12:00:00.000000000 +1200
+++ squid-3.2.0.15/errors/bg/ERR_CONFLICT_HOST 2012-02-06 05:14:12.000000000 +1300
@@ -0,0 +1 @@
+ ГРЕШКА: Заявеният адрес е недостъпен.
ERROR
The requested URL could not be retrieved
Възникна следната грешка при опит за достъп до: %U
URI Host Conflict
This means the domain name you are trying to access apparently no longer exists on the machine you are requesting it from.
Възможни грешки:
- The domain may have moved very recently. Trying again will resolve that.
- The website may require you to use a local country-based version. Using your ISP provided DNS server(s) should resolve that.
Вашият кеш администратор е %w.
\ No newline at end of file
diff -u -r -N squid-3.2.0.14/errors/ca/ERR_CONFLICT_HOST squid-3.2.0.15/errors/ca/ERR_CONFLICT_HOST
--- squid-3.2.0.14/errors/ca/ERR_CONFLICT_HOST 1970-01-01 12:00:00.000000000 +1200
+++ squid-3.2.0.15/errors/ca/ERR_CONFLICT_HOST 2012-02-06 05:16:28.000000000 +1300
@@ -0,0 +1 @@
+ ERROR: No es pot mostrar la URL que heu sol.licitat
ERROR
No es pot mostrar la URL que heu sol.licitat
The following error was encountered while trying to retrieve the URL: %U
URI Host Conflict
This means the domain name you are trying to access apparently no longer exists on the machine you are requesting it from.
Some possible problems are:
- The domain may have moved very recently. Trying again will resolve that.
- The website may require you to use a local country-based version. Using your ISP provided DNS server(s) should resolve that.
L'administrador d'aquesta cache és %w.
\ No newline at end of file
diff -u -r -N squid-3.2.0.14/errors/cs/ERR_CONFLICT_HOST squid-3.2.0.15/errors/cs/ERR_CONFLICT_HOST
--- squid-3.2.0.14/errors/cs/ERR_CONFLICT_HOST 1970-01-01 12:00:00.000000000 +1200
+++ squid-3.2.0.15/errors/cs/ERR_CONFLICT_HOST 2012-02-06 05:18:00.000000000 +1300
@@ -0,0 +1 @@
+ CHYBA: Požadovaný dokument je nedostupný
ERROR
The requested URL could not be retrieved
The following error was encountered while trying to retrieve the URL: %U
URI Host Conflict
This means the domain name you are trying to access apparently no longer exists on the machine you are requesting it from.
Some possible problems are:
- The domain may have moved very recently. Trying again will resolve that.
- The website may require you to use a local country-based version. Using your ISP provided DNS server(s) should resolve that.
Your cache administrator is %w.
\ No newline at end of file
diff -u -r -N squid-3.2.0.14/errors/da/ERR_CONFLICT_HOST squid-3.2.0.15/errors/da/ERR_CONFLICT_HOST
--- squid-3.2.0.14/errors/da/ERR_CONFLICT_HOST 1970-01-01 12:00:00.000000000 +1200
+++ squid-3.2.0.15/errors/da/ERR_CONFLICT_HOST 2012-02-06 05:19:03.000000000 +1300
@@ -0,0 +1 @@
+ FEJL: Den angivne URL kunne ikke hentes
ERROR
The requested URL could not be retrieved
The following error was encountered while trying to retrieve the URL: %U
URI Host Conflict
This means the domain name you are trying to access apparently no longer exists on the machine you are requesting it from.
Mulige problemer kan være:
- The domain may have moved very recently. Trying again will resolve that.
- The website may require you to use a local country-based version. Using your ISP provided DNS server(s) should resolve that.
Your cache administrator is %w.
\ No newline at end of file
diff -u -r -N squid-3.2.0.14/errors/de/ERR_CONFLICT_HOST squid-3.2.0.15/errors/de/ERR_CONFLICT_HOST
--- squid-3.2.0.14/errors/de/ERR_CONFLICT_HOST 1970-01-01 12:00:00.000000000 +1200
+++ squid-3.2.0.15/errors/de/ERR_CONFLICT_HOST 2012-02-06 05:20:06.000000000 +1300
@@ -0,0 +1 @@
+ FEHLER: Die angeforderte URL konnte nicht gefunden werden
ERROR
The requested URL could not be retrieved
Der folgende Fehler wurde beim Versuch die URL %U zu holen festgestellt:
URI Host Conflict
This means the domain name you are trying to access apparently no longer exists on the machine you are requesting it from.
Mögliche Probleme sind:
- The domain may have moved very recently. Trying again will resolve that.
- The website may require you to use a local country-based version. Using your ISP provided DNS server(s) should resolve that.
Ihr Cache Administrator ist %w.
\ No newline at end of file
diff -u -r -N squid-3.2.0.14/errors/el/ERR_CONFLICT_HOST squid-3.2.0.15/errors/el/ERR_CONFLICT_HOST
--- squid-3.2.0.14/errors/el/ERR_CONFLICT_HOST 1970-01-01 12:00:00.000000000 +1200
+++ squid-3.2.0.15/errors/el/ERR_CONFLICT_HOST 2012-02-06 05:21:10.000000000 +1300
@@ -0,0 +1 @@
+ ΣΦΑΛΜΑ: The requested URL could not be retrieved
ERROR
The requested URL could not be retrieved
The following error was encountered while trying to retrieve the URL: %U
URI Host Conflict
This means the domain name you are trying to access apparently no longer exists on the machine you are requesting it from.
Some possible problems are:
- The domain may have moved very recently. Trying again will resolve that.
- The website may require you to use a local country-based version. Using your ISP provided DNS server(s) should resolve that.
Ο διαχειριστής του μεσολαβητή σας είναι ο %w.
\ No newline at end of file
diff -u -r -N squid-3.2.0.14/errors/en/ERR_CONFLICT_HOST squid-3.2.0.15/errors/en/ERR_CONFLICT_HOST
--- squid-3.2.0.14/errors/en/ERR_CONFLICT_HOST 1970-01-01 12:00:00.000000000 +1200
+++ squid-3.2.0.15/errors/en/ERR_CONFLICT_HOST 2012-02-06 05:22:16.000000000 +1300
@@ -0,0 +1 @@
+ ERROR: The requested URL could not be retrieved
ERROR
The requested URL could not be retrieved
The following error was encountered while trying to retrieve the URL: %U
URI Host Conflict
This means the domain name you are trying to access apparently no longer exists on the machine you are requesting it from.
Some possible problems are:
- The domain may have moved very recently. Trying again will resolve that.
- The website may require you to use a local country-based version. Using your ISP provided DNS server(s) should resolve that.
Your cache administrator is %w.
\ No newline at end of file
diff -u -r -N squid-3.2.0.14/errors/es/ERR_CONFLICT_HOST squid-3.2.0.15/errors/es/ERR_CONFLICT_HOST
--- squid-3.2.0.14/errors/es/ERR_CONFLICT_HOST 1970-01-01 12:00:00.000000000 +1200
+++ squid-3.2.0.15/errors/es/ERR_CONFLICT_HOST 2012-02-06 05:23:17.000000000 +1300
@@ -0,0 +1 @@
+ ERROR: El URL solicitado no se ha podido conseguir
ERROR
El URL solicitado no se ha podido conseguir
Se encontró el siguiente error al intentar recuperar la dirección URL: %U
URI Host Conflict
This means the domain name you are trying to access apparently no longer exists on the machine you are requesting it from.
Algunos posibles problemas son:
- The domain may have moved very recently. Trying again will resolve that.
- The website may require you to use a local country-based version. Using your ISP provided DNS server(s) should resolve that.
Su administrador del caché es %w.
\ No newline at end of file
diff -u -r -N squid-3.2.0.14/errors/et/ERR_CONFLICT_HOST squid-3.2.0.15/errors/et/ERR_CONFLICT_HOST
--- squid-3.2.0.14/errors/et/ERR_CONFLICT_HOST 1970-01-01 12:00:00.000000000 +1200
+++ squid-3.2.0.15/errors/et/ERR_CONFLICT_HOST 2012-02-06 05:24:19.000000000 +1300
@@ -0,0 +1 @@
+ VIGA: Päring URLile ei saa vastust
ERROR
The requested URL could not be retrieved
The following error was encountered while trying to retrieve the URL: %U
URI Host Conflict
This means the domain name you are trying to access apparently no longer exists on the machine you are requesting it from.
Some possible problems are:
- The domain may have moved very recently. Trying again will resolve that.
- The website may require you to use a local country-based version. Using your ISP provided DNS server(s) should resolve that.
Teie teenusepakkuja aadress on %w.
\ No newline at end of file
diff -u -r -N squid-3.2.0.14/errors/fa/ERR_CONFLICT_HOST squid-3.2.0.15/errors/fa/ERR_CONFLICT_HOST
--- squid-3.2.0.14/errors/fa/ERR_CONFLICT_HOST 1970-01-01 12:00:00.000000000 +1200
+++ squid-3.2.0.15/errors/fa/ERR_CONFLICT_HOST 2012-02-06 05:25:22.000000000 +1300
@@ -0,0 +1 @@
+ خطا: The requested URL could not be retrieved
ERROR
The requested URL could not be retrieved
The following error was encountered while trying to retrieve the URL: %U
URI Host Conflict
This means the domain name you are trying to access apparently no longer exists on the machine you are requesting it from.
بعضی از مشکلات احتمالی:
- The domain may have moved very recently. Trying again will resolve that.
- The website may require you to use a local country-based version. Using your ISP provided DNS server(s) should resolve that.
Your cache administrator is %w.
\ No newline at end of file
diff -u -r -N squid-3.2.0.14/errors/fi/ERR_CONFLICT_HOST squid-3.2.0.15/errors/fi/ERR_CONFLICT_HOST
--- squid-3.2.0.14/errors/fi/ERR_CONFLICT_HOST 1970-01-01 12:00:00.000000000 +1200
+++ squid-3.2.0.15/errors/fi/ERR_CONFLICT_HOST 2012-02-06 05:26:30.000000000 +1300
@@ -0,0 +1 @@
+ VIRHE: Pyydettyä URL-osoitetta ei voitu hakea
ERROR
The requested URL could not be retrieved
The following error was encountered while trying to retrieve the URL: %U
URI Host Conflict
This means the domain name you are trying to access apparently no longer exists on the machine you are requesting it from.
Mahdollisia ongelmia:
- The domain may have moved very recently. Trying again will resolve that.
- The website may require you to use a local country-based version. Using your ISP provided DNS server(s) should resolve that.
Your cache administrator is %w.
\ No newline at end of file
diff -u -r -N squid-3.2.0.14/errors/fr/ERR_CONFLICT_HOST squid-3.2.0.15/errors/fr/ERR_CONFLICT_HOST
--- squid-3.2.0.14/errors/fr/ERR_CONFLICT_HOST 1970-01-01 12:00:00.000000000 +1200
+++ squid-3.2.0.15/errors/fr/ERR_CONFLICT_HOST 2012-02-06 05:27:31.000000000 +1300
@@ -0,0 +1 @@
+ ERREUR: L'URL demandée n'a pas pu être trouvé
ERROR
The requested URL could not be retrieved
L'erreur suivante s'est produite en essayant d'accéder à l'URL : %U
URI Host Conflict
This means the domain name you are trying to access apparently no longer exists on the machine you are requesting it from.
Problèmes possibles :
- The domain may have moved very recently. Trying again will resolve that.
- The website may require you to use a local country-based version. Using your ISP provided DNS server(s) should resolve that.
Votre administrateur proxy est %w.
\ No newline at end of file
diff -u -r -N squid-3.2.0.14/errors/he/ERR_CONFLICT_HOST squid-3.2.0.15/errors/he/ERR_CONFLICT_HOST
--- squid-3.2.0.14/errors/he/ERR_CONFLICT_HOST 1970-01-01 12:00:00.000000000 +1200
+++ squid-3.2.0.15/errors/he/ERR_CONFLICT_HOST 2012-02-06 05:28:43.000000000 +1300
@@ -0,0 +1 @@
+ שגיאה: לא ניתן לגשת אל הכתובת המבוקשת
ERROR
The requested URL could not be retrieved
השגיאה הבאה אירעה בעת ניסיון לפענח את כתובת הURL: %U
URI Host Conflict
This means the domain name you are trying to access apparently no longer exists on the machine you are requesting it from.
Some possible problems are:
- The domain may have moved very recently. Trying again will resolve that.
- The website may require you to use a local country-based version. Using your ISP provided DNS server(s) should resolve that.
מנהל השרת הוא %w.
\ No newline at end of file
diff -u -r -N squid-3.2.0.14/errors/hu/ERR_CONFLICT_HOST squid-3.2.0.15/errors/hu/ERR_CONFLICT_HOST
--- squid-3.2.0.14/errors/hu/ERR_CONFLICT_HOST 1970-01-01 12:00:00.000000000 +1200
+++ squid-3.2.0.15/errors/hu/ERR_CONFLICT_HOST 2012-02-06 05:30:07.000000000 +1300
@@ -0,0 +1 @@
+ HIBA: A kért URL nem tölthető le
ERROR
The requested URL could not be retrieved
The following error was encountered while trying to retrieve the URL: %U
URI Host Conflict
This means the domain name you are trying to access apparently no longer exists on the machine you are requesting it from.
Néhány lehetséges probléma:
- The domain may have moved very recently. Trying again will resolve that.
- The website may require you to use a local country-based version. Using your ISP provided DNS server(s) should resolve that.
Your cache administrator is %w.
\ No newline at end of file
diff -u -r -N squid-3.2.0.14/errors/hy/ERR_CONFLICT_HOST squid-3.2.0.15/errors/hy/ERR_CONFLICT_HOST
--- squid-3.2.0.14/errors/hy/ERR_CONFLICT_HOST 1970-01-01 12:00:00.000000000 +1200
+++ squid-3.2.0.15/errors/hy/ERR_CONFLICT_HOST 2012-02-06 05:31:41.000000000 +1300
@@ -0,0 +1 @@
+ ՍԽԱԼ: Պահանջվող URL-ն հնարավոր չէ ստանալ
ERROR
The requested URL could not be retrieved
URL-ի ստացման ընթացքում առաջացավ հետևյալ սխալը: %U
URI Host Conflict
This means the domain name you are trying to access apparently no longer exists on the machine you are requesting it from.
Հնարավոր պատճառներն են:
- The domain may have moved very recently. Trying again will resolve that.
- The website may require you to use a local country-based version. Using your ISP provided DNS server(s) should resolve that.
Ձեր քեշի կառավարիչը %w է.
\ No newline at end of file
diff -u -r -N squid-3.2.0.14/errors/id/ERR_CONFLICT_HOST squid-3.2.0.15/errors/id/ERR_CONFLICT_HOST
--- squid-3.2.0.14/errors/id/ERR_CONFLICT_HOST 1970-01-01 12:00:00.000000000 +1200
+++ squid-3.2.0.15/errors/id/ERR_CONFLICT_HOST 2012-02-06 05:33:05.000000000 +1300
@@ -0,0 +1 @@
+ ERROR: The requested URL could not be retrieved
ERROR
The requested URL could not be retrieved
The following error was encountered while trying to retrieve the URL: %U
URI Host Conflict
This means the domain name you are trying to access apparently no longer exists on the machine you are requesting it from.
Some possible problems are:
- The domain may have moved very recently. Trying again will resolve that.
- The website may require you to use a local country-based version. Using your ISP provided DNS server(s) should resolve that.
Your cache administrator is %w.
\ No newline at end of file
diff -u -r -N squid-3.2.0.14/errors/it/ERR_CONFLICT_HOST squid-3.2.0.15/errors/it/ERR_CONFLICT_HOST
--- squid-3.2.0.14/errors/it/ERR_CONFLICT_HOST 1970-01-01 12:00:00.000000000 +1200
+++ squid-3.2.0.15/errors/it/ERR_CONFLICT_HOST 2012-02-06 05:34:10.000000000 +1300
@@ -0,0 +1 @@
+ ERRORE: Non è stato possibile accedere alla URL richiesta.
ERROR
The requested URL could not be retrieved
Mentre si cercava di accedere alla URL %U si è presentato il seguente errore:
URI Host Conflict
This means the domain name you are trying to access apparently no longer exists on the machine you are requesting it from.
Alcuni dei possibili problemi sono:
- The domain may have moved very recently. Trying again will resolve that.
- The website may require you to use a local country-based version. Using your ISP provided DNS server(s) should resolve that.
L'amministratore del proxy è %w.
\ No newline at end of file
diff -u -r -N squid-3.2.0.14/errors/ja/ERR_CONFLICT_HOST squid-3.2.0.15/errors/ja/ERR_CONFLICT_HOST
--- squid-3.2.0.14/errors/ja/ERR_CONFLICT_HOST 1970-01-01 12:00:00.000000000 +1200
+++ squid-3.2.0.15/errors/ja/ERR_CONFLICT_HOST 2012-02-06 05:35:15.000000000 +1300
@@ -0,0 +1 @@
+ エラー: リクエストされた URL は取得できませんでした
ERROR
The requested URL could not be retrieved
The following error was encountered while trying to retrieve the URL: %U
URI Host Conflict
This means the domain name you are trying to access apparently no longer exists on the machine you are requesting it from.
ありそうな問題:
- The domain may have moved very recently. Trying again will resolve that.
- The website may require you to use a local country-based version. Using your ISP provided DNS server(s) should resolve that.
Your cache administrator is %w.
\ No newline at end of file
diff -u -r -N squid-3.2.0.14/errors/ko/ERR_CONFLICT_HOST squid-3.2.0.15/errors/ko/ERR_CONFLICT_HOST
--- squid-3.2.0.14/errors/ko/ERR_CONFLICT_HOST 1970-01-01 12:00:00.000000000 +1200
+++ squid-3.2.0.15/errors/ko/ERR_CONFLICT_HOST 2012-02-06 05:36:32.000000000 +1300
@@ -0,0 +1 @@
+ 에러: 요청된 URL을 가져올 수 없습니다.
ERROR
The requested URL could not be retrieved
The following error was encountered while trying to retrieve the URL: %U
URI Host Conflict
This means the domain name you are trying to access apparently no longer exists on the machine you are requesting it from.
Some possible problems are:
- The domain may have moved very recently. Trying again will resolve that.
- The website may require you to use a local country-based version. Using your ISP provided DNS server(s) should resolve that.
Your cache administrator is %w.
\ No newline at end of file
diff -u -r -N squid-3.2.0.14/errors/lt/ERR_CONFLICT_HOST squid-3.2.0.15/errors/lt/ERR_CONFLICT_HOST
--- squid-3.2.0.14/errors/lt/ERR_CONFLICT_HOST 1970-01-01 12:00:00.000000000 +1200
+++ squid-3.2.0.15/errors/lt/ERR_CONFLICT_HOST 2012-02-06 05:38:14.000000000 +1300
@@ -0,0 +1 @@
+ KLAIDA: Puslapis nurodytu adresu negali būti atsiųstas
ERROR
The requested URL could not be retrieved
The following error was encountered while trying to retrieve the URL: %U
URI Host Conflict
This means the domain name you are trying to access apparently no longer exists on the machine you are requesting it from.
Some possible problems are:
- The domain may have moved very recently. Trying again will resolve that.
- The website may require you to use a local country-based version. Using your ISP provided DNS server(s) should resolve that.
Your cache administrator is %w.
\ No newline at end of file
diff -u -r -N squid-3.2.0.14/errors/lv/ERR_CONFLICT_HOST squid-3.2.0.15/errors/lv/ERR_CONFLICT_HOST
--- squid-3.2.0.14/errors/lv/ERR_CONFLICT_HOST 1970-01-01 12:00:00.000000000 +1200
+++ squid-3.2.0.15/errors/lv/ERR_CONFLICT_HOST 2012-02-06 05:39:30.000000000 +1300
@@ -0,0 +1 @@
+ Kļūda: Nevar atvērt pieprasīto adresi.
ERROR
The requested URL could not be retrieved
Iestājusies sekojoša kļūda mēģinot atvērt adresi: %U
URI Host Conflict
This means the domain name you are trying to access apparently no longer exists on the machine you are requesting it from.
Dažas iespējamās problēmas ir:
- The domain may have moved very recently. Trying again will resolve that.
- The website may require you to use a local country-based version. Using your ISP provided DNS server(s) should resolve that.
Jūsu kešatmiņas administrators ir %w.
\ No newline at end of file
diff -u -r -N squid-3.2.0.14/errors/Makefile.in squid-3.2.0.15/errors/Makefile.in
--- squid-3.2.0.14/errors/Makefile.in 2011-12-13 00:10:11.000000000 +1300
+++ squid-3.2.0.15/errors/Makefile.in 2012-02-06 04:57:26.000000000 +1300
@@ -277,6 +277,7 @@
templates/ERR_CACHE_ACCESS_DENIED \
templates/ERR_CACHE_MGR_ACCESS_DENIED \
templates/ERR_CANNOT_FORWARD \
+ templates/ERR_CONFLICT_HOST \
templates/ERR_CONNECT_FAIL \
templates/ERR_DIR_LISTING \
templates/ERR_DNS_FAIL \
diff -u -r -N squid-3.2.0.14/errors/ms/ERR_CONFLICT_HOST squid-3.2.0.15/errors/ms/ERR_CONFLICT_HOST
--- squid-3.2.0.14/errors/ms/ERR_CONFLICT_HOST 1970-01-01 12:00:00.000000000 +1200
+++ squid-3.2.0.15/errors/ms/ERR_CONFLICT_HOST 2012-02-06 05:40:33.000000000 +1300
@@ -0,0 +1 @@
+ RALAT: The requested URL could not be retrieved
ERROR
The requested URL could not be retrieved
The following error was encountered while trying to retrieve the URL: %U
URI Host Conflict
This means the domain name you are trying to access apparently no longer exists on the machine you are requesting it from.
Some possible problems are:
- The domain may have moved very recently. Trying again will resolve that.
- The website may require you to use a local country-based version. Using your ISP provided DNS server(s) should resolve that.
Pengurus Proxy anda ialah %w.
\ No newline at end of file
diff -u -r -N squid-3.2.0.14/errors/nl/ERR_CONFLICT_HOST squid-3.2.0.15/errors/nl/ERR_CONFLICT_HOST
--- squid-3.2.0.14/errors/nl/ERR_CONFLICT_HOST 1970-01-01 12:00:00.000000000 +1200
+++ squid-3.2.0.15/errors/nl/ERR_CONFLICT_HOST 2012-02-06 05:41:35.000000000 +1300
@@ -0,0 +1 @@
+ FOUT: De gevraagde URL kon niet worden opgehaald
ERROR
The requested URL could not be retrieved
De volgende fout is opgetreden tijdens het ophalen van URL: %U
URI Host Conflict
This means the domain name you are trying to access apparently no longer exists on the machine you are requesting it from.
Mogelijke problemen zijn:
- The domain may have moved very recently. Trying again will resolve that.
- The website may require you to use a local country-based version. Using your ISP provided DNS server(s) should resolve that.
De beheerder van deze cache is %w.
\ No newline at end of file
diff -u -r -N squid-3.2.0.14/errors/oc/ERR_CONFLICT_HOST squid-3.2.0.15/errors/oc/ERR_CONFLICT_HOST
--- squid-3.2.0.14/errors/oc/ERR_CONFLICT_HOST 1970-01-01 12:00:00.000000000 +1200
+++ squid-3.2.0.15/errors/oc/ERR_CONFLICT_HOST 2012-02-06 05:42:34.000000000 +1300
@@ -0,0 +1 @@
+ ERREUR : L'URL demandada a pas pogut èsser cargada
ERROR
L'URL demandada a pas pogut èsser cargada
L'error seguenta s'es producha en ensajant d'accedir a l'URL : %U
URI Host Conflict
This means the domain name you are trying to access apparently no longer exists on the machine you are requesting it from.
Problèmas envisajables :
- The domain may have moved very recently. Trying again will resolve that.
- The website may require you to use a local country-based version. Using your ISP provided DNS server(s) should resolve that.
Vòstre administrator d'amagatal es %w.
\ No newline at end of file
diff -u -r -N squid-3.2.0.14/errors/pl/ERR_CONFLICT_HOST squid-3.2.0.15/errors/pl/ERR_CONFLICT_HOST
--- squid-3.2.0.14/errors/pl/ERR_CONFLICT_HOST 1970-01-01 12:00:00.000000000 +1200
+++ squid-3.2.0.15/errors/pl/ERR_CONFLICT_HOST 2012-02-06 05:43:33.000000000 +1300
@@ -0,0 +1 @@
+ BŁĄD: Żądany URL nie może zostać pobrany
ERROR
The requested URL could not be retrieved
The following error was encountered while trying to retrieve the URL: %U
URI Host Conflict
This means the domain name you are trying to access apparently no longer exists on the machine you are requesting it from.
Some possible problems are:
- The domain may have moved very recently. Trying again will resolve that.
- The website may require you to use a local country-based version. Using your ISP provided DNS server(s) should resolve that.
Your cache administrator is %w.
\ No newline at end of file
diff -u -r -N squid-3.2.0.14/errors/pt/ERR_CONFLICT_HOST squid-3.2.0.15/errors/pt/ERR_CONFLICT_HOST
--- squid-3.2.0.14/errors/pt/ERR_CONFLICT_HOST 1970-01-01 12:00:00.000000000 +1200
+++ squid-3.2.0.15/errors/pt/ERR_CONFLICT_HOST 2012-02-06 05:45:36.000000000 +1300
@@ -0,0 +1 @@
+ ERRO: A URL solicitada não pode ser recuperada
ERROR
The requested URL could not be retrieved
The following error was encountered while trying to retrieve the URL: %U
URI Host Conflict
This means the domain name you are trying to access apparently no longer exists on the machine you are requesting it from.
Some possible problems are:
- The domain may have moved very recently. Trying again will resolve that.
- The website may require you to use a local country-based version. Using your ISP provided DNS server(s) should resolve that.
Your cache administrator is %w.
\ No newline at end of file
diff -u -r -N squid-3.2.0.14/errors/pt-br/ERR_CONFLICT_HOST squid-3.2.0.15/errors/pt-br/ERR_CONFLICT_HOST
--- squid-3.2.0.14/errors/pt-br/ERR_CONFLICT_HOST 1970-01-01 12:00:00.000000000 +1200
+++ squid-3.2.0.15/errors/pt-br/ERR_CONFLICT_HOST 2012-02-06 05:44:35.000000000 +1300
@@ -0,0 +1 @@
+ ERRO: A URL requisitada não pôde ser recuperada
ERROR
The requested URL could not be retrieved
O seguinte erro foi encontrado ao tentar recuperar a URL: %U
URI Host Conflict
This means the domain name you are trying to access apparently no longer exists on the machine you are requesting it from.
Alguns dos possíveis problemas são:
- The domain may have moved very recently. Trying again will resolve that.
- The website may require you to use a local country-based version. Using your ISP provided DNS server(s) should resolve that.
Seu administrador do cache é %w.
\ No newline at end of file
diff -u -r -N squid-3.2.0.14/errors/ro/ERR_CONFLICT_HOST squid-3.2.0.15/errors/ro/ERR_CONFLICT_HOST
--- squid-3.2.0.14/errors/ro/ERR_CONFLICT_HOST 1970-01-01 12:00:00.000000000 +1200
+++ squid-3.2.0.15/errors/ro/ERR_CONFLICT_HOST 2012-02-06 05:46:45.000000000 +1300
@@ -0,0 +1 @@
+ EROARE: URL-ul cerut nu a putut fi accesat
ERROR
The requested URL could not be retrieved
S-a recepţionat următoarea eroare când se încerca accesarea URL-ului: %U
URI Host Conflict
This means the domain name you are trying to access apparently no longer exists on the machine you are requesting it from.
Unele posibile probleme sunt:
- The domain may have moved very recently. Trying again will resolve that.
- The website may require you to use a local country-based version. Using your ISP provided DNS server(s) should resolve that.
Administratorul cache-ului este %w.
\ No newline at end of file
diff -u -r -N squid-3.2.0.14/errors/ru/ERR_CONFLICT_HOST squid-3.2.0.15/errors/ru/ERR_CONFLICT_HOST
--- squid-3.2.0.14/errors/ru/ERR_CONFLICT_HOST 1970-01-01 12:00:00.000000000 +1200
+++ squid-3.2.0.15/errors/ru/ERR_CONFLICT_HOST 2012-02-06 05:47:43.000000000 +1300
@@ -0,0 +1 @@
+ ОШИБКА: Запрошенный URL не может быть получен
ERROR
The requested URL could not be retrieved
При получении URL %U произошла следующая ошибка
URI Host Conflict
This means the domain name you are trying to access apparently no longer exists on the machine you are requesting it from.
Возможные проблемы:
- The domain may have moved very recently. Trying again will resolve that.
- The website may require you to use a local country-based version. Using your ISP provided DNS server(s) should resolve that.
Администратор Вашего кэша: %w.
\ No newline at end of file
diff -u -r -N squid-3.2.0.14/errors/sk/ERR_CONFLICT_HOST squid-3.2.0.15/errors/sk/ERR_CONFLICT_HOST
--- squid-3.2.0.14/errors/sk/ERR_CONFLICT_HOST 1970-01-01 12:00:00.000000000 +1200
+++ squid-3.2.0.15/errors/sk/ERR_CONFLICT_HOST 2012-02-06 05:48:41.000000000 +1300
@@ -0,0 +1 @@
+ CHYBA: Požadovaný URL nebolo možné získať
ERROR
The requested URL could not be retrieved
Pri pokuse o získanie URL sa vyskytla nasledovná chyba: %U
URI Host Conflict
This means the domain name you are trying to access apparently no longer exists on the machine you are requesting it from.
Niektoré možné problémy:
- The domain may have moved very recently. Trying again will resolve that.
- The website may require you to use a local country-based version. Using your ISP provided DNS server(s) should resolve that.
Vaším správcom cache je %w.
\ No newline at end of file
diff -u -r -N squid-3.2.0.14/errors/sl/ERR_CONFLICT_HOST squid-3.2.0.15/errors/sl/ERR_CONFLICT_HOST
--- squid-3.2.0.14/errors/sl/ERR_CONFLICT_HOST 1970-01-01 12:00:00.000000000 +1200
+++ squid-3.2.0.15/errors/sl/ERR_CONFLICT_HOST 2012-02-06 05:49:40.000000000 +1300
@@ -0,0 +1 @@
+ NAPAKA: Zahtevanega naslova URL ni bilo mogoče naložiti
ERROR
The requested URL could not be retrieved
Prišlo je do napake med poskusom nalaganja naslova URL: %U
URI Host Conflict
This means the domain name you are trying to access apparently no longer exists on the machine you are requesting it from.
Težave so lahko med drugim:
- The domain may have moved very recently. Trying again will resolve that.
- The website may require you to use a local country-based version. Using your ISP provided DNS server(s) should resolve that.
Skrbnik vašega predpomnilnika je %w.
\ No newline at end of file
diff -u -r -N squid-3.2.0.14/errors/sr-cyrl/ERR_CONFLICT_HOST squid-3.2.0.15/errors/sr-cyrl/ERR_CONFLICT_HOST
--- squid-3.2.0.14/errors/sr-cyrl/ERR_CONFLICT_HOST 1970-01-01 12:00:00.000000000 +1200
+++ squid-3.2.0.15/errors/sr-cyrl/ERR_CONFLICT_HOST 2012-02-06 05:50:56.000000000 +1300
@@ -0,0 +1 @@
+ ERROR: The requested URL could not be retrieved
ERROR
The requested URL could not be retrieved
The following error was encountered while trying to retrieve the URL: %U
URI Host Conflict
This means the domain name you are trying to access apparently no longer exists on the machine you are requesting it from.
Some possible problems are:
- The domain may have moved very recently. Trying again will resolve that.
- The website may require you to use a local country-based version. Using your ISP provided DNS server(s) should resolve that.
Your cache administrator is %w.
\ No newline at end of file
diff -u -r -N squid-3.2.0.14/errors/sr-latn/ERR_CONFLICT_HOST squid-3.2.0.15/errors/sr-latn/ERR_CONFLICT_HOST
--- squid-3.2.0.14/errors/sr-latn/ERR_CONFLICT_HOST 1970-01-01 12:00:00.000000000 +1200
+++ squid-3.2.0.15/errors/sr-latn/ERR_CONFLICT_HOST 2012-02-06 05:52:17.000000000 +1300
@@ -0,0 +1 @@
+ GREŠKA: Tražena adresa (URL) ne može da se učita
ERROR
The requested URL could not be retrieved
Greška učitavanja podataka sa adrese (URL): %U
URI Host Conflict
This means the domain name you are trying to access apparently no longer exists on the machine you are requesting it from.
Mogući problemi su:
- The domain may have moved very recently. Trying again will resolve that.
- The website may require you to use a local country-based version. Using your ISP provided DNS server(s) should resolve that.
Vaš keš/proksi administrator je: %w.
\ No newline at end of file
diff -u -r -N squid-3.2.0.14/errors/sv/ERR_CONFLICT_HOST squid-3.2.0.15/errors/sv/ERR_CONFLICT_HOST
--- squid-3.2.0.14/errors/sv/ERR_CONFLICT_HOST 1970-01-01 12:00:00.000000000 +1200
+++ squid-3.2.0.15/errors/sv/ERR_CONFLICT_HOST 2012-02-06 05:53:29.000000000 +1300
@@ -0,0 +1 @@
+ FEL: Den begärda URL:en kunde inte hämtas
ERROR
The requested URL could not be retrieved
Följande fel påträffades vid hämtning av URL: %U
URI Host Conflict
This means the domain name you are trying to access apparently no longer exists on the machine you are requesting it from.
Några möjliga problem är:
- The domain may have moved very recently. Trying again will resolve that.
- The website may require you to use a local country-based version. Using your ISP provided DNS server(s) should resolve that.
Din cacheserver administratör är %w.
\ No newline at end of file
diff -u -r -N squid-3.2.0.14/errors/template.list squid-3.2.0.15/errors/template.list
--- squid-3.2.0.14/errors/template.list 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/errors/template.list 2012-02-06 04:52:31.000000000 +1300
@@ -5,6 +5,7 @@
templates/ERR_CACHE_ACCESS_DENIED \
templates/ERR_CACHE_MGR_ACCESS_DENIED \
templates/ERR_CANNOT_FORWARD \
+ templates/ERR_CONFLICT_HOST \
templates/ERR_CONNECT_FAIL \
templates/ERR_DIR_LISTING \
templates/ERR_DNS_FAIL \
diff -u -r -N squid-3.2.0.14/errors/templates/ERR_CONFLICT_HOST squid-3.2.0.15/errors/templates/ERR_CONFLICT_HOST
--- squid-3.2.0.14/errors/templates/ERR_CONFLICT_HOST 1970-01-01 12:00:00.000000000 +1200
+++ squid-3.2.0.15/errors/templates/ERR_CONFLICT_HOST 2012-02-06 04:52:31.000000000 +1300
@@ -0,0 +1,43 @@
+
+
+
+ERROR: The requested URL could not be retrieved
+
+
+
+
ERROR
+The requested URL could not be retrieved
+
+
+
+
+
The following error was encountered while trying to retrieve the URL: %U
+
+
+URI Host Conflict
+
+
+
This means the domain name you are trying to access apparently no longer exists on the machine you are requesting it from.
+
+
Some possible problems are:
+
+- The domain may have moved very recently. Trying again will resolve that.
+- The website may require you to use a local country-based version. Using your ISP provided DNS server(s) should resolve that.
+
+
+
Your cache administrator is %w.
+
+
+
+
+
+
diff -u -r -N squid-3.2.0.14/errors/th/ERR_CONFLICT_HOST squid-3.2.0.15/errors/th/ERR_CONFLICT_HOST
--- squid-3.2.0.14/errors/th/ERR_CONFLICT_HOST 1970-01-01 12:00:00.000000000 +1200
+++ squid-3.2.0.15/errors/th/ERR_CONFLICT_HOST 2012-02-06 05:54:41.000000000 +1300
@@ -0,0 +1 @@
+ ERROR: ไม่สามารถเรียกดู URL ที่ได้รับการร้องขอ
ERROR
ไม่สามารถเรียกดู URL ที่ได้รับการร้องขอ
พบความผิดพลาดดังต่อไปนี้ระหว่างที่พยายามเรียกดู URL: %U
URI Host Conflict
This means the domain name you are trying to access apparently no longer exists on the machine you are requesting it from.
ปัญหาที่เป็นไปได้อาจจะเป็น:
- The domain may have moved very recently. Trying again will resolve that.
- The website may require you to use a local country-based version. Using your ISP provided DNS server(s) should resolve that.
ผู้ดูแลระบบแคชของคุณคือ %w
\ No newline at end of file
diff -u -r -N squid-3.2.0.14/errors/tr/ERR_CONFLICT_HOST squid-3.2.0.15/errors/tr/ERR_CONFLICT_HOST
--- squid-3.2.0.14/errors/tr/ERR_CONFLICT_HOST 1970-01-01 12:00:00.000000000 +1200
+++ squid-3.2.0.15/errors/tr/ERR_CONFLICT_HOST 2012-02-06 05:56:01.000000000 +1300
@@ -0,0 +1 @@
+ HATA: İstenilen URL'e ulaşılamadı
ERROR
The requested URL could not be retrieved
URL adresine erişilmeye çalışıyorken hata meydana geldi: %U
URI Host Conflict
This means the domain name you are trying to access apparently no longer exists on the machine you are requesting it from.
Buna sebep aşağidakilerden herhangi biri olabilir:
- The domain may have moved very recently. Trying again will resolve that.
- The website may require you to use a local country-based version. Using your ISP provided DNS server(s) should resolve that.
Önbellk yöneticiniz %w.
\ No newline at end of file
diff -u -r -N squid-3.2.0.14/errors/uk/ERR_CONFLICT_HOST squid-3.2.0.15/errors/uk/ERR_CONFLICT_HOST
--- squid-3.2.0.14/errors/uk/ERR_CONFLICT_HOST 1970-01-01 12:00:00.000000000 +1200
+++ squid-3.2.0.15/errors/uk/ERR_CONFLICT_HOST 2012-02-06 05:57:17.000000000 +1300
@@ -0,0 +1 @@
+ ПОМИЛКА: Запитаний URL не може бути отриманий.
ERROR
The requested URL could not be retrieved
При отриманні URL: %U виникла помилка.
URI Host Conflict
This means the domain name you are trying to access apparently no longer exists on the machine you are requesting it from.
Ймовірні причини:
- The domain may have moved very recently. Trying again will resolve that.
- The website may require you to use a local country-based version. Using your ISP provided DNS server(s) should resolve that.
Адміністратор даного кешу %w.
\ No newline at end of file
diff -u -r -N squid-3.2.0.14/errors/uz/ERR_CONFLICT_HOST squid-3.2.0.15/errors/uz/ERR_CONFLICT_HOST
--- squid-3.2.0.14/errors/uz/ERR_CONFLICT_HOST 1970-01-01 12:00:00.000000000 +1200
+++ squid-3.2.0.15/errors/uz/ERR_CONFLICT_HOST 2012-02-06 05:58:21.000000000 +1300
@@ -0,0 +1 @@
+ ХАТО: Сўралган URL топилмади
ERROR
The requested URL could not be retrieved
The following error was encountered while trying to retrieve the URL: %U
URI Host Conflict
This means the domain name you are trying to access apparently no longer exists on the machine you are requesting it from.
Баъзи бўлиши мумкин бўлган муаммолар:
- The domain may have moved very recently. Trying again will resolve that.
- The website may require you to use a local country-based version. Using your ISP provided DNS server(s) should resolve that.
Your cache administrator is %w.
\ No newline at end of file
diff -u -r -N squid-3.2.0.14/errors/vi/ERR_CONFLICT_HOST squid-3.2.0.15/errors/vi/ERR_CONFLICT_HOST
--- squid-3.2.0.14/errors/vi/ERR_CONFLICT_HOST 1970-01-01 12:00:00.000000000 +1200
+++ squid-3.2.0.15/errors/vi/ERR_CONFLICT_HOST 2012-02-06 05:59:18.000000000 +1300
@@ -0,0 +1 @@
+ LỖI: The requested URL could not be retrieved
ERROR
The requested URL could not be retrieved
The following error was encountered while trying to retrieve the URL: %U
URI Host Conflict
This means the domain name you are trying to access apparently no longer exists on the machine you are requesting it from.
Một số vấn đề có thể gặp:
- The domain may have moved very recently. Trying again will resolve that.
- The website may require you to use a local country-based version. Using your ISP provided DNS server(s) should resolve that.
Your cache administrator is %w.
\ No newline at end of file
diff -u -r -N squid-3.2.0.14/errors/zh-cn/ERR_CONFLICT_HOST squid-3.2.0.15/errors/zh-cn/ERR_CONFLICT_HOST
--- squid-3.2.0.14/errors/zh-cn/ERR_CONFLICT_HOST 1970-01-01 12:00:00.000000000 +1200
+++ squid-3.2.0.15/errors/zh-cn/ERR_CONFLICT_HOST 2012-02-06 06:00:20.000000000 +1300
@@ -0,0 +1 @@
+ 错误: 您所请求的网址(URL)无法获取
ERROR
The requested URL could not be retrieved
当尝试取回该 URL 时遇到下面的错误:%U
URI Host Conflict
This means the domain name you are trying to access apparently no longer exists on the machine you are requesting it from.
可能的问题包括:
- The domain may have moved very recently. Trying again will resolve that.
- The website may require you to use a local country-based version. Using your ISP provided DNS server(s) should resolve that.
缓存服务器的管理员 %w.
\ No newline at end of file
diff -u -r -N squid-3.2.0.14/errors/zh-tw/ERR_CONFLICT_HOST squid-3.2.0.15/errors/zh-tw/ERR_CONFLICT_HOST
--- squid-3.2.0.14/errors/zh-tw/ERR_CONFLICT_HOST 1970-01-01 12:00:00.000000000 +1200
+++ squid-3.2.0.15/errors/zh-tw/ERR_CONFLICT_HOST 2012-02-06 06:01:23.000000000 +1300
@@ -0,0 +1 @@
+ 錯誤: 欲連結之網址(URL)無法正確的傳回
ERROR
The requested URL could not be retrieved
The following error was encountered while trying to retrieve the URL: %U
URI Host Conflict
This means the domain name you are trying to access apparently no longer exists on the machine you are requesting it from.
Some possible problems are:
- The domain may have moved very recently. Trying again will resolve that.
- The website may require you to use a local country-based version. Using your ISP provided DNS server(s) should resolve that.
Your cache administrator is %w.
\ No newline at end of file
diff -u -r -N squid-3.2.0.14/helpers/basic_auth/DB/basic_db_auth.8 squid-3.2.0.15/helpers/basic_auth/DB/basic_db_auth.8
--- squid-3.2.0.14/helpers/basic_auth/DB/basic_db_auth.8 2011-12-13 01:28:59.000000000 +1300
+++ squid-3.2.0.15/helpers/basic_auth/DB/basic_db_auth.8 2012-02-06 06:02:19.000000000 +1300
@@ -124,7 +124,7 @@
.\" ========================================================================
.\"
.IX Title "BASIC_DB_AUTH 1"
-.TH BASIC_DB_AUTH 1 "2011-12-12" "perl v5.10.1" "User Contributed Perl Documentation"
+.TH BASIC_DB_AUTH 1 "2012-02-05" "perl v5.10.1" "User Contributed Perl Documentation"
.\" For nroff, turn off justification. Always turn off hyphenation; it makes
.\" way too many mistakes in technical documents.
.if n .ad l
diff -u -r -N squid-3.2.0.14/helpers/basic_auth/fake/fake.cc squid-3.2.0.15/helpers/basic_auth/fake/fake.cc
--- squid-3.2.0.14/helpers/basic_auth/fake/fake.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/helpers/basic_auth/fake/fake.cc 2012-02-06 04:52:31.000000000 +1300
@@ -12,7 +12,7 @@
* squid under the same conditions as the main squid application.
*/
-#include "config.h"
+#include "squid.h"
#include "helpers/defines.h"
#if HAVE_CSTRING
diff -u -r -N squid-3.2.0.14/helpers/basic_auth/getpwnam/basic_getpwnam_auth.cc squid-3.2.0.15/helpers/basic_auth/getpwnam/basic_getpwnam_auth.cc
--- squid-3.2.0.14/helpers/basic_auth/getpwnam/basic_getpwnam_auth.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/helpers/basic_auth/getpwnam/basic_getpwnam_auth.cc 2012-02-06 04:52:31.000000000 +1300
@@ -24,7 +24,7 @@
*
*/
-#include "config.h"
+#include "squid.h"
#include "helpers/defines.h"
#include "rfc1738.h"
//#include "util.h"
diff -u -r -N squid-3.2.0.14/helpers/basic_auth/LDAP/basic_ldap_auth.cc squid-3.2.0.15/helpers/basic_auth/LDAP/basic_ldap_auth.cc
--- squid-3.2.0.14/helpers/basic_auth/LDAP/basic_ldap_auth.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/helpers/basic_auth/LDAP/basic_ldap_auth.cc 2012-02-06 04:52:31.000000000 +1300
@@ -82,7 +82,7 @@
* - Allow full filter specifications in -f
*/
-#include "config.h"
+#include "squid.h"
#define LDAP_DEPRECATED 1
diff -u -r -N squid-3.2.0.14/helpers/basic_auth/MSNT/allowusers.cc squid-3.2.0.15/helpers/basic_auth/MSNT/allowusers.cc
--- squid-3.2.0.14/helpers/basic_auth/MSNT/allowusers.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/helpers/basic_auth/MSNT/allowusers.cc 2012-02-06 04:52:31.000000000 +1300
@@ -1,4 +1,4 @@
-#include "config.h"
+#include "squid.h"
/*
* allowusers.c
diff -u -r -N squid-3.2.0.14/helpers/basic_auth/MSNT/confload.cc squid-3.2.0.15/helpers/basic_auth/MSNT/confload.cc
--- squid-3.2.0.14/helpers/basic_auth/MSNT/confload.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/helpers/basic_auth/MSNT/confload.cc 2012-02-06 04:52:31.000000000 +1300
@@ -11,7 +11,7 @@
*/
/* Squid provides a number of portability overrides */
-#include "config.h"
+#include "squid.h"
#include
#include
diff -u -r -N squid-3.2.0.14/helpers/basic_auth/MSNT/denyusers.cc squid-3.2.0.15/helpers/basic_auth/MSNT/denyusers.cc
--- squid-3.2.0.14/helpers/basic_auth/MSNT/denyusers.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/helpers/basic_auth/MSNT/denyusers.cc 2012-02-06 04:52:31.000000000 +1300
@@ -1,4 +1,4 @@
-#include "config.h"
+#include "squid.h"
/*
* denyusers.c
diff -u -r -N squid-3.2.0.14/helpers/basic_auth/MSNT/msntauth.cc squid-3.2.0.15/helpers/basic_auth/MSNT/msntauth.cc
--- squid-3.2.0.14/helpers/basic_auth/MSNT/msntauth.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/helpers/basic_auth/MSNT/msntauth.cc 2012-02-06 04:52:31.000000000 +1300
@@ -29,7 +29,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
-#include "config.h"
+#include "squid.h"
#include "rfc1738.h"
#include "util.h"
diff -u -r -N squid-3.2.0.14/helpers/basic_auth/MSNT/usersfile.cc squid-3.2.0.15/helpers/basic_auth/MSNT/usersfile.cc
--- squid-3.2.0.14/helpers/basic_auth/MSNT/usersfile.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/helpers/basic_auth/MSNT/usersfile.cc 2012-02-06 04:52:31.000000000 +1300
@@ -8,7 +8,7 @@
* The code originated from denyusers.c.
*/
-#include "config.h"
+#include "squid.h"
#include "util.h"
#include
diff -u -r -N squid-3.2.0.14/helpers/basic_auth/MSNT/valid.cc squid-3.2.0.15/helpers/basic_auth/MSNT/valid.cc
--- squid-3.2.0.14/helpers/basic_auth/MSNT/valid.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/helpers/basic_auth/MSNT/valid.cc 2012-02-06 04:52:31.000000000 +1300
@@ -1,4 +1,4 @@
-#include "config.h"
+#include "squid.h"
#if HAVE_SYS_TYPES_H
#include
#endif
diff -u -r -N squid-3.2.0.14/helpers/basic_auth/NCSA/basic_ncsa_auth.cc squid-3.2.0.15/helpers/basic_auth/NCSA/basic_ncsa_auth.cc
--- squid-3.2.0.14/helpers/basic_auth/NCSA/basic_ncsa_auth.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/helpers/basic_auth/NCSA/basic_ncsa_auth.cc 2012-02-06 04:52:31.000000000 +1300
@@ -16,7 +16,7 @@
* MD5 without salt and magic strings - Added by Ramon de Carvalho and Rodrigo Rubira Branco
*/
-#include "config.h"
+#include "squid.h"
#include "crypt_md5.h"
#include "hash.h"
#include "helpers/defines.h"
diff -u -r -N squid-3.2.0.14/helpers/basic_auth/NCSA/crypt_md5.cc squid-3.2.0.15/helpers/basic_auth/NCSA/crypt_md5.cc
--- squid-3.2.0.14/helpers/basic_auth/NCSA/crypt_md5.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/helpers/basic_auth/NCSA/crypt_md5.cc 2012-02-06 04:52:31.000000000 +1300
@@ -14,7 +14,7 @@
* Origin: Id: crypt.c,v 1.3 1995/05/30 05:42:22 rgrimes Exp
*
*/
-#include "config.h"
+#include "squid.h"
#if HAVE_STRING_H
#include
diff -u -r -N squid-3.2.0.14/helpers/basic_auth/NIS/basic_nis_auth.cc squid-3.2.0.15/helpers/basic_auth/NIS/basic_nis_auth.cc
--- squid-3.2.0.14/helpers/basic_auth/NIS/basic_nis_auth.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/helpers/basic_auth/NIS/basic_nis_auth.cc 2012-02-06 04:52:31.000000000 +1300
@@ -3,7 +3,7 @@
* From NCSA Authentication module
*/
-#include "config.h"
+#include "squid.h"
#include "hash.h"
#include "nis_support.h"
#include "rfc1738.h"
diff -u -r -N squid-3.2.0.14/helpers/basic_auth/NIS/nis_support.cc squid-3.2.0.15/helpers/basic_auth/NIS/nis_support.cc
--- squid-3.2.0.14/helpers/basic_auth/NIS/nis_support.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/helpers/basic_auth/NIS/nis_support.cc 2012-02-06 04:52:31.000000000 +1300
@@ -1,7 +1,7 @@
/*
* Written By Rabellino Sergio (rabellino@di.unito.it) For Solaris 2.x
*/
-#include "config.h"
+#include "squid.h"
#include
#include
#include
diff -u -r -N squid-3.2.0.14/helpers/basic_auth/PAM/basic_pam_auth.cc squid-3.2.0.15/helpers/basic_auth/PAM/basic_pam_auth.cc
--- squid-3.2.0.14/helpers/basic_auth/PAM/basic_pam_auth.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/helpers/basic_auth/PAM/basic_pam_auth.cc 2012-02-06 04:52:31.000000000 +1300
@@ -65,7 +65,7 @@
*
* Compile this program with: gcc -o basic_pam_auth basic_pam_auth.cc -lpam -ldl
*/
-#include "config.h"
+#include "squid.h"
#include "helpers/defines.h"
#include "rfc1738.h"
#include "util.h"
diff -u -r -N squid-3.2.0.14/helpers/basic_auth/RADIUS/basic_radius_auth.cc squid-3.2.0.15/helpers/basic_auth/RADIUS/basic_radius_auth.cc
--- squid-3.2.0.14/helpers/basic_auth/RADIUS/basic_radius_auth.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/helpers/basic_auth/RADIUS/basic_radius_auth.cc 2012-02-06 04:52:31.000000000 +1300
@@ -45,7 +45,7 @@
* and many others
*/
-#include "config.h"
+#include "squid.h"
#include "helpers/defines.h"
#include "md5.h"
#include "radius.h"
diff -u -r -N squid-3.2.0.14/helpers/basic_auth/RADIUS/radius-util.cc squid-3.2.0.15/helpers/basic_auth/RADIUS/radius-util.cc
--- squid-3.2.0.14/helpers/basic_auth/RADIUS/radius-util.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/helpers/basic_auth/RADIUS/radius-util.cc 2012-02-06 04:52:31.000000000 +1300
@@ -36,7 +36,7 @@
"@(#)util.c 1.5 Copyright 1992 Livingston Enterprises Inc\n"
" 2.1 Copyright 1997 Cistron Internet Services B.V.";
-#include "config.h"
+#include "squid.h"
#if HAVE_SYS_SOCKET_H
#include
diff -u -r -N squid-3.2.0.14/helpers/basic_auth/SASL/basic_sasl_auth.cc squid-3.2.0.15/helpers/basic_auth/SASL/basic_sasl_auth.cc
--- squid-3.2.0.14/helpers/basic_auth/SASL/basic_sasl_auth.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/helpers/basic_auth/SASL/basic_sasl_auth.cc 2012-02-06 04:52:31.000000000 +1300
@@ -26,7 +26,7 @@
* or with SASL2: gcc -Wall -o sasl_auth sasl_auth.c -lsasl2
*
*/
-#include "config.h"
+#include "squid.h"
#include "helpers/defines.h"
#include "rfc1738.h"
#include "util.h"
diff -u -r -N squid-3.2.0.14/helpers/basic_auth/SMB/basic_smb_auth.cc squid-3.2.0.15/helpers/basic_auth/SMB/basic_smb_auth.cc
--- squid-3.2.0.14/helpers/basic_auth/SMB/basic_smb_auth.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/helpers/basic_auth/SMB/basic_smb_auth.cc 2012-02-06 04:52:31.000000000 +1300
@@ -40,7 +40,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111, USA.
*/
-#include "config.h"
+#include "squid.h"
#include "helpers/defines.h"
#include "rfc1738.h"
#include "util.h"
diff -u -r -N squid-3.2.0.14/helpers/basic_auth/SSPI/basic_sspi_auth.cc squid-3.2.0.15/helpers/basic_auth/SSPI/basic_sspi_auth.cc
--- squid-3.2.0.14/helpers/basic_auth/SSPI/basic_sspi_auth.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/helpers/basic_auth/SSPI/basic_sspi_auth.cc 2012-02-06 04:52:31.000000000 +1300
@@ -24,7 +24,7 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111, USA.
*/
-#include "config.h"
+#include "squid.h"
#include "helpers/defines.h"
#include "util.h"
diff -u -r -N squid-3.2.0.14/helpers/basic_auth/SSPI/valid.cc squid-3.2.0.15/helpers/basic_auth/SSPI/valid.cc
--- squid-3.2.0.14/helpers/basic_auth/SSPI/valid.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/helpers/basic_auth/SSPI/valid.cc 2012-02-06 04:52:31.000000000 +1300
@@ -26,7 +26,7 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111, USA.
*/
-#include "config.h"
+#include "squid.h"
#include "util.h"
/* Check if we try to compile on a Windows Platform */
diff -u -r -N squid-3.2.0.14/helpers/digest_auth/eDirectory/digest_pw_auth.cc squid-3.2.0.15/helpers/digest_auth/eDirectory/digest_pw_auth.cc
--- squid-3.2.0.14/helpers/digest_auth/eDirectory/digest_pw_auth.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/helpers/digest_auth/eDirectory/digest_pw_auth.cc 2012-02-06 04:52:31.000000000 +1300
@@ -29,7 +29,7 @@
*
* Copyright (c) 2003 Robert Collins
*/
-#include "config.h"
+#include "squid.h"
#include "digest_common.h"
#include "helpers/defines.h"
#include "ldap_backend.h"
diff -u -r -N squid-3.2.0.14/helpers/digest_auth/eDirectory/edir_ldapext.cc squid-3.2.0.15/helpers/digest_auth/eDirectory/edir_ldapext.cc
--- squid-3.2.0.14/helpers/digest_auth/eDirectory/edir_ldapext.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/helpers/digest_auth/eDirectory/edir_ldapext.cc 2012-02-06 04:52:31.000000000 +1300
@@ -22,7 +22,7 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
*/
-#include "config.h"
+#include "squid.h"
#include "digest_common.h"
diff -u -r -N squid-3.2.0.14/helpers/digest_auth/eDirectory/ldap_backend.cc squid-3.2.0.15/helpers/digest_auth/eDirectory/ldap_backend.cc
--- squid-3.2.0.14/helpers/digest_auth/eDirectory/ldap_backend.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/helpers/digest_auth/eDirectory/ldap_backend.cc 2012-02-06 04:52:31.000000000 +1300
@@ -5,7 +5,7 @@
* ldap_backend.c
* AUTHOR: Flavio Pescuma, MARA Systems AB
*/
-#include "config.h"
+#include "squid.h"
#define LDAP_DEPRECATED 1
diff -u -r -N squid-3.2.0.14/helpers/digest_auth/file/digest_file_auth.cc squid-3.2.0.15/helpers/digest_auth/file/digest_file_auth.cc
--- squid-3.2.0.14/helpers/digest_auth/file/digest_file_auth.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/helpers/digest_auth/file/digest_file_auth.cc 2012-02-06 04:52:31.000000000 +1300
@@ -33,7 +33,7 @@
* Copyright (c) 2003 Robert Collins
*/
-#include "config.h"
+#include "squid.h"
#include "digest_common.h"
#include "helpers/defines.h"
#include "text_backend.h"
diff -u -r -N squid-3.2.0.14/helpers/digest_auth/file/text_backend.cc squid-3.2.0.15/helpers/digest_auth/file/text_backend.cc
--- squid-3.2.0.14/helpers/digest_auth/file/text_backend.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/helpers/digest_auth/file/text_backend.cc 2012-02-06 04:52:31.000000000 +1300
@@ -28,7 +28,7 @@
*
* Copyright (c) 2003 Robert Collins
*/
-#include "config.h"
+#include "squid.h"
#include "text_backend.h"
diff -u -r -N squid-3.2.0.14/helpers/digest_auth/LDAP/digest_pw_auth.cc squid-3.2.0.15/helpers/digest_auth/LDAP/digest_pw_auth.cc
--- squid-3.2.0.14/helpers/digest_auth/LDAP/digest_pw_auth.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/helpers/digest_auth/LDAP/digest_pw_auth.cc 2012-02-06 04:52:31.000000000 +1300
@@ -29,7 +29,7 @@
*
* Copyright (c) 2003 Robert Collins
*/
-#include "config.h"
+#include "squid.h"
#include "digest_common.h"
#include "helpers/defines.h"
#include "ldap_backend.h"
diff -u -r -N squid-3.2.0.14/helpers/digest_auth/LDAP/ldap_backend.cc squid-3.2.0.15/helpers/digest_auth/LDAP/ldap_backend.cc
--- squid-3.2.0.14/helpers/digest_auth/LDAP/ldap_backend.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/helpers/digest_auth/LDAP/ldap_backend.cc 2012-02-06 04:52:31.000000000 +1300
@@ -5,7 +5,7 @@
* ldap_backend.c
* AUTHOR: Flavio Pescuma, MARA Systems AB
*/
-#include "config.h"
+#include "squid.h"
#include "util.h"
#define LDAP_DEPRECATED 1
diff -u -r -N squid-3.2.0.14/helpers/external_acl/AD_group/ext_ad_group_acl.cc squid-3.2.0.15/helpers/external_acl/AD_group/ext_ad_group_acl.cc
--- squid-3.2.0.14/helpers/external_acl/AD_group/ext_ad_group_acl.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/helpers/external_acl/AD_group/ext_ad_group_acl.cc 2012-02-06 04:52:31.000000000 +1300
@@ -57,7 +57,7 @@
*
*/
-#include "config.h"
+#include "squid.h"
#include "helpers/defines.h"
#include "include/util.h"
diff -u -r -N squid-3.2.0.14/helpers/external_acl/eDirectory_userip/ext_edirectory_userip_acl.cc squid-3.2.0.15/helpers/external_acl/eDirectory_userip/ext_edirectory_userip_acl.cc
--- squid-3.2.0.14/helpers/external_acl/eDirectory_userip/ext_edirectory_userip_acl.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/helpers/external_acl/eDirectory_userip/ext_edirectory_userip_acl.cc 2012-02-06 04:52:31.000000000 +1300
@@ -26,7 +26,7 @@
*/
/* Squid-3.X includes */
-#include "config.h"
+#include "squid.h"
#include "helpers/defines.h"
#include "rfc1738.h"
#include "util.h"
diff -u -r -N squid-3.2.0.14/helpers/external_acl/file_userip/ext_file_userip_acl.cc squid-3.2.0.15/helpers/external_acl/file_userip/ext_file_userip_acl.cc
--- squid-3.2.0.14/helpers/external_acl/file_userip/ext_file_userip_acl.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/helpers/external_acl/file_userip/ext_file_userip_acl.cc 2012-02-06 04:52:31.000000000 +1300
@@ -18,7 +18,7 @@
* Author: Rodrigo Campos (rodrigo@geekbunker.org)
*
*/
-#include "config.h"
+#include "squid.h"
#include "helpers/defines.h"
#include "rfc1738.h"
#include "util.h"
diff -u -r -N squid-3.2.0.14/helpers/external_acl/kerberos_ldap_group/kerberos_ldap_group.cc squid-3.2.0.15/helpers/external_acl/kerberos_ldap_group/kerberos_ldap_group.cc
--- squid-3.2.0.14/helpers/external_acl/kerberos_ldap_group/kerberos_ldap_group.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/helpers/external_acl/kerberos_ldap_group/kerberos_ldap_group.cc 2012-02-06 04:52:31.000000000 +1300
@@ -29,7 +29,7 @@
/*
* Hosted at http://sourceforge.net/projects/squidkerbauth
*/
-#include "config.h"
+#include "squid.h"
#include "helpers/defines.h"
#include "util.h"
diff -u -r -N squid-3.2.0.14/helpers/external_acl/kerberos_ldap_group/support_group.cc squid-3.2.0.15/helpers/external_acl/kerberos_ldap_group/support_group.cc
--- squid-3.2.0.14/helpers/external_acl/kerberos_ldap_group/support_group.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/helpers/external_acl/kerberos_ldap_group/support_group.cc 2012-02-06 04:52:31.000000000 +1300
@@ -23,7 +23,7 @@
* -----------------------------------------------------------------------------
*/
-#include "config.h"
+#include "squid.h"
#include "util.h"
#ifdef HAVE_LDAP
diff -u -r -N squid-3.2.0.14/helpers/external_acl/kerberos_ldap_group/support_krb5.cc squid-3.2.0.15/helpers/external_acl/kerberos_ldap_group/support_krb5.cc
--- squid-3.2.0.14/helpers/external_acl/kerberos_ldap_group/support_krb5.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/helpers/external_acl/kerberos_ldap_group/support_krb5.cc 2012-02-06 04:52:31.000000000 +1300
@@ -22,7 +22,7 @@
* -----------------------------------------------------------------------------
*/
-#include "config.h"
+#include "squid.h"
#include "util.h"
#if defined(HAVE_LDAP) && defined(HAVE_KRB5)
diff -u -r -N squid-3.2.0.14/helpers/external_acl/kerberos_ldap_group/support_ldap.cc squid-3.2.0.15/helpers/external_acl/kerberos_ldap_group/support_ldap.cc
--- squid-3.2.0.14/helpers/external_acl/kerberos_ldap_group/support_ldap.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/helpers/external_acl/kerberos_ldap_group/support_ldap.cc 2012-02-06 04:52:31.000000000 +1300
@@ -22,7 +22,7 @@
* -----------------------------------------------------------------------------
*/
-#include "config.h"
+#include "squid.h"
#include "util.h"
#ifdef HAVE_LDAP
diff -u -r -N squid-3.2.0.14/helpers/external_acl/kerberos_ldap_group/support_log.cc squid-3.2.0.15/helpers/external_acl/kerberos_ldap_group/support_log.cc
--- squid-3.2.0.14/helpers/external_acl/kerberos_ldap_group/support_log.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/helpers/external_acl/kerberos_ldap_group/support_log.cc 2012-02-06 04:52:31.000000000 +1300
@@ -22,7 +22,7 @@
* -----------------------------------------------------------------------------
*/
-#include "config.h"
+#include "squid.h"
#ifdef HAVE_LDAP
diff -u -r -N squid-3.2.0.14/helpers/external_acl/kerberos_ldap_group/support_lserver.cc squid-3.2.0.15/helpers/external_acl/kerberos_ldap_group/support_lserver.cc
--- squid-3.2.0.14/helpers/external_acl/kerberos_ldap_group/support_lserver.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/helpers/external_acl/kerberos_ldap_group/support_lserver.cc 2012-02-06 04:52:31.000000000 +1300
@@ -22,7 +22,7 @@
* -----------------------------------------------------------------------------
*/
-#include "config.h"
+#include "squid.h"
#include "util.h"
#ifdef HAVE_LDAP
diff -u -r -N squid-3.2.0.14/helpers/external_acl/kerberos_ldap_group/support_member.cc squid-3.2.0.15/helpers/external_acl/kerberos_ldap_group/support_member.cc
--- squid-3.2.0.14/helpers/external_acl/kerberos_ldap_group/support_member.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/helpers/external_acl/kerberos_ldap_group/support_member.cc 2012-02-06 04:52:31.000000000 +1300
@@ -22,7 +22,7 @@
* -----------------------------------------------------------------------------
*/
-#include "config.h"
+#include "squid.h"
#include "util.h"
#ifdef HAVE_LDAP
diff -u -r -N squid-3.2.0.14/helpers/external_acl/kerberos_ldap_group/support_netbios.cc squid-3.2.0.15/helpers/external_acl/kerberos_ldap_group/support_netbios.cc
--- squid-3.2.0.14/helpers/external_acl/kerberos_ldap_group/support_netbios.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/helpers/external_acl/kerberos_ldap_group/support_netbios.cc 2012-02-06 04:52:31.000000000 +1300
@@ -22,7 +22,7 @@
* -----------------------------------------------------------------------------
*/
-#include "config.h"
+#include "squid.h"
#include "util.h"
#ifdef HAVE_LDAP
diff -u -r -N squid-3.2.0.14/helpers/external_acl/kerberos_ldap_group/support_resolv.cc squid-3.2.0.15/helpers/external_acl/kerberos_ldap_group/support_resolv.cc
--- squid-3.2.0.14/helpers/external_acl/kerberos_ldap_group/support_resolv.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/helpers/external_acl/kerberos_ldap_group/support_resolv.cc 2012-02-06 04:52:31.000000000 +1300
@@ -22,7 +22,7 @@
* -----------------------------------------------------------------------------
*/
-#include "config.h"
+#include "squid.h"
#include "util.h"
#ifdef HAVE_LDAP
diff -u -r -N squid-3.2.0.14/helpers/external_acl/kerberos_ldap_group/support_sasl.cc squid-3.2.0.15/helpers/external_acl/kerberos_ldap_group/support_sasl.cc
--- squid-3.2.0.14/helpers/external_acl/kerberos_ldap_group/support_sasl.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/helpers/external_acl/kerberos_ldap_group/support_sasl.cc 2012-02-06 04:52:31.000000000 +1300
@@ -22,7 +22,7 @@
* -----------------------------------------------------------------------------
*/
-#include "config.h"
+#include "squid.h"
#include "util.h"
#ifdef HAVE_LDAP
diff -u -r -N squid-3.2.0.14/helpers/external_acl/LDAP_group/ext_ldap_group_acl.cc squid-3.2.0.15/helpers/external_acl/LDAP_group/ext_ldap_group_acl.cc
--- squid-3.2.0.14/helpers/external_acl/LDAP_group/ext_ldap_group_acl.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/helpers/external_acl/LDAP_group/ext_ldap_group_acl.cc 2012-02-06 04:52:31.000000000 +1300
@@ -34,7 +34,7 @@
* as published by the Free Software Foundation; either version 2,
* or (at your option) any later version.
*/
-#include "config.h"
+#include "squid.h"
#include "helpers/defines.h"
#include "rfc1738.h"
#include "util.h"
diff -u -r -N squid-3.2.0.14/helpers/external_acl/LM_group/ext_lm_group_acl.cc squid-3.2.0.15/helpers/external_acl/LM_group/ext_lm_group_acl.cc
--- squid-3.2.0.14/helpers/external_acl/LM_group/ext_lm_group_acl.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/helpers/external_acl/LM_group/ext_lm_group_acl.cc 2012-02-06 04:52:31.000000000 +1300
@@ -67,7 +67,7 @@
*
*/
-#include "config.h"
+#include "squid.h"
#include "helpers/defines.h"
#include "include/util.h"
diff -u -r -N squid-3.2.0.14/helpers/external_acl/session/ext_session_acl.cc squid-3.2.0.15/helpers/external_acl/session/ext_session_acl.cc
--- squid-3.2.0.14/helpers/external_acl/session/ext_session_acl.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/helpers/external_acl/session/ext_session_acl.cc 2012-02-06 04:52:31.000000000 +1300
@@ -19,7 +19,7 @@
*/
#if HAVE_CONFIG_H
-#include "config.h"
+#include "squid.h"
#endif
#include "helpers/defines.h"
diff -u -r -N squid-3.2.0.14/helpers/external_acl/unix_group/check_group.cc squid-3.2.0.15/helpers/external_acl/unix_group/check_group.cc
--- squid-3.2.0.14/helpers/external_acl/unix_group/check_group.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/helpers/external_acl/unix_group/check_group.cc 2012-02-06 04:52:31.000000000 +1300
@@ -55,7 +55,7 @@
* Initial revision
*
*/
-#include "config.h"
+#include "squid.h"
#include "helpers/defines.h"
#include "rfc1738.h"
#include "util.h"
@@ -80,7 +80,7 @@
#endif
/*
- * Verify if users primary group matches groupname
+ * Verify if user's primary group matches groupname
* Returns 0 if user is not on the group
* Returns 1 otherwise
*/
diff -u -r -N squid-3.2.0.14/helpers/external_acl/wbinfo_group/ext_wbinfo_group_acl.8 squid-3.2.0.15/helpers/external_acl/wbinfo_group/ext_wbinfo_group_acl.8
--- squid-3.2.0.14/helpers/external_acl/wbinfo_group/ext_wbinfo_group_acl.8 2011-12-13 01:29:07.000000000 +1300
+++ squid-3.2.0.15/helpers/external_acl/wbinfo_group/ext_wbinfo_group_acl.8 2012-02-06 06:02:27.000000000 +1300
@@ -124,7 +124,7 @@
.\" ========================================================================
.\"
.IX Title "EXT_WBINFO_GROUP_ACL.PL.IN 1"
-.TH EXT_WBINFO_GROUP_ACL.PL.IN 1 "2011-12-12" "perl v5.10.1" "User Contributed Perl Documentation"
+.TH EXT_WBINFO_GROUP_ACL.PL.IN 1 "2012-02-05" "perl v5.10.1" "User Contributed Perl Documentation"
.\" For nroff, turn off justification. Always turn off hyphenation; it makes
.\" way too many mistakes in technical documents.
.if n .ad l
diff -u -r -N squid-3.2.0.14/helpers/log_daemon/file/log_file_daemon.cc squid-3.2.0.15/helpers/log_daemon/file/log_file_daemon.cc
--- squid-3.2.0.14/helpers/log_daemon/file/log_file_daemon.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/helpers/log_daemon/file/log_file_daemon.cc 2012-02-06 04:52:31.000000000 +1300
@@ -1,4 +1,4 @@
-#include "config.h"
+#include "squid.h"
#if HAVE_STDIO_H
#include
diff -u -r -N squid-3.2.0.14/helpers/negotiate_auth/kerberos/negotiate_kerberos_auth.cc squid-3.2.0.15/helpers/negotiate_auth/kerberos/negotiate_kerberos_auth.cc
--- squid-3.2.0.14/helpers/negotiate_auth/kerberos/negotiate_kerberos_auth.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/helpers/negotiate_auth/kerberos/negotiate_kerberos_auth.cc 2012-02-06 04:52:31.000000000 +1300
@@ -29,7 +29,7 @@
/*
* Hosted at http://sourceforge.net/projects/squidkerbauth
*/
-#include "config.h"
+#include "squid.h"
#include "compat/getaddrinfo.h"
#include "compat/getnameinfo.h"
diff -u -r -N squid-3.2.0.14/helpers/negotiate_auth/kerberos/negotiate_kerberos_auth_test.cc squid-3.2.0.15/helpers/negotiate_auth/kerberos/negotiate_kerberos_auth_test.cc
--- squid-3.2.0.14/helpers/negotiate_auth/kerberos/negotiate_kerberos_auth_test.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/helpers/negotiate_auth/kerberos/negotiate_kerberos_auth_test.cc 2012-02-06 04:52:31.000000000 +1300
@@ -25,7 +25,7 @@
* Hosted at http://sourceforge.net/projects/squidkerbauth
*/
-#include "config.h"
+#include "squid.h"
#if HAVE_GSSAPI
diff -u -r -N squid-3.2.0.14/helpers/negotiate_auth/SSPI/negotiate_sspi_auth.cc squid-3.2.0.15/helpers/negotiate_auth/SSPI/negotiate_sspi_auth.cc
--- squid-3.2.0.14/helpers/negotiate_auth/SSPI/negotiate_sspi_auth.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/helpers/negotiate_auth/SSPI/negotiate_sspi_auth.cc 2012-02-06 04:52:31.000000000 +1300
@@ -36,7 +36,7 @@
*
*
*/
-#include "config.h"
+#include "squid.h"
#include "helpers/defines.h"
#include "libntlmauth/support_bits.cci"
#include "sspwin32.h"
diff -u -r -N squid-3.2.0.14/helpers/negotiate_auth/wrapper/negotiate_wrapper.cc squid-3.2.0.15/helpers/negotiate_auth/wrapper/negotiate_wrapper.cc
--- squid-3.2.0.14/helpers/negotiate_auth/wrapper/negotiate_wrapper.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/helpers/negotiate_auth/wrapper/negotiate_wrapper.cc 2012-02-06 04:52:31.000000000 +1300
@@ -25,7 +25,7 @@
* Hosted at http://sourceforge.net/projects/squidkerbauth
*/
-#include "config.h"
+#include "squid.h"
#include "base64.h"
#if HAVE_STRING_H
diff -u -r -N squid-3.2.0.14/helpers/ntlm_auth/fake/ntlm_fake_auth.cc squid-3.2.0.15/helpers/ntlm_auth/fake/ntlm_fake_auth.cc
--- squid-3.2.0.14/helpers/ntlm_auth/fake/ntlm_fake_auth.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/helpers/ntlm_auth/fake/ntlm_fake_auth.cc 2012-02-06 04:52:31.000000000 +1300
@@ -53,7 +53,7 @@
* that though */
#define IGNORANCE_IS_BLISS
-#include "config.h"
+#include "squid.h"
#include "base64.h"
#include "helpers/defines.h"
#include "ntlmauth/ntlmauth.h"
diff -u -r -N squid-3.2.0.14/helpers/ntlm_auth/smb_lm/ntlm_smb_lm_auth.cc squid-3.2.0.15/helpers/ntlm_auth/smb_lm/ntlm_smb_lm_auth.cc
--- squid-3.2.0.14/helpers/ntlm_auth/smb_lm/ntlm_smb_lm_auth.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/helpers/ntlm_auth/smb_lm/ntlm_smb_lm_auth.cc 2012-02-06 04:52:31.000000000 +1300
@@ -13,7 +13,7 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111, USA.
*
*/
-#include "config.h"
+#include "squid.h"
#include "base64.h"
#include "compat/debug.h"
#include "ntlmauth/ntlmauth.h"
diff -u -r -N squid-3.2.0.14/helpers/ntlm_auth/SSPI/ntlm_sspi_auth.cc squid-3.2.0.15/helpers/ntlm_auth/SSPI/ntlm_sspi_auth.cc
--- squid-3.2.0.14/helpers/ntlm_auth/SSPI/ntlm_sspi_auth.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/helpers/ntlm_auth/SSPI/ntlm_sspi_auth.cc 2012-02-06 04:52:31.000000000 +1300
@@ -63,7 +63,7 @@
typedef unsigned char uchar;
-#include "config.h"
+#include "squid.h"
#include "helpers/defines.h"
#include "libntlmauth/ntlmauth.h"
#include "libntlmauth/support_bits.h"
diff -u -r -N squid-3.2.0.14/helpers/url_rewrite/fake/fake.cc squid-3.2.0.15/helpers/url_rewrite/fake/fake.cc
--- squid-3.2.0.14/helpers/url_rewrite/fake/fake.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/helpers/url_rewrite/fake/fake.cc 2012-02-06 04:52:31.000000000 +1300
@@ -12,7 +12,7 @@
* squid under the same conditions as the main squid application.
*/
-#include "config.h"
+#include "squid.h"
#include "helpers/defines.h"
#if HAVE_CSTRING
diff -u -r -N squid-3.2.0.14/include/autoconf.h.in squid-3.2.0.15/include/autoconf.h.in
--- squid-3.2.0.14/include/autoconf.h.in 2011-12-13 00:09:57.000000000 +1300
+++ squid-3.2.0.15/include/autoconf.h.in 2012-02-06 04:57:02.000000000 +1300
@@ -1240,7 +1240,7 @@
#undef USE_DISKIO_IPCIO
/* Use dnsserver processes instead of the internal DNS protocol support */
-#undef USE_DNSSERVERS
+#undef USE_DNSHELPER
/* Disable eCAP support */
#undef USE_ECAP
diff -u -r -N squid-3.2.0.14/include/config.h squid-3.2.0.15/include/config.h
--- squid-3.2.0.14/include/config.h 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/include/config.h 1970-01-01 12:00:00.000000000 +1200
@@ -1,119 +0,0 @@
-/*
- * $Id$
- *
- * AUTHOR: Duane Wessels
- *
- * SQUID Web Proxy Cache http://www.squid-cache.org/
- * ----------------------------------------------------------
- *
- * Squid is the result of efforts by numerous individuals from
- * the Internet community; see the CONTRIBUTORS file for full
- * details. Many organizations have provided support for Squid's
- * development; see the SPONSORS file for full details. Squid is
- * Copyrighted (C) 2001 by the Regents of the University of
- * California; see the COPYRIGHT file for full details. Squid
- * incorporates software developed and/or copyrighted by other
- * sources; see the CREDITS file for full details.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111, USA.
- *
- */
-
-#ifndef SQUID_CONFIG_H
-#define SQUID_CONFIG_H
-
-#include "autoconf.h" /* For GNU autoconf variables */
-
-#if !defined(HAVE_SQUID)
-/* sub-packages define their own version details */
-#include "version.h"
-
-#endif
-
-/* default values for listen ports. Usually specified in squid.conf really */
-#define CACHE_HTTP_PORT 3128
-#define CACHE_ICP_PORT 3130
-
-/* To keep API definitions clear */
-#ifdef __cplusplus
-#define SQUIDCEXTERN extern "C"
-#else
-#define SQUIDCEXTERN extern
-#endif
-
-#if _USE_INLINE_
-#define _SQUID_INLINE_ inline
-#else
-#define _SQUID_INLINE_
-#endif
-
-/****************************************************************************
- *--------------------------------------------------------------------------*
- * DO *NOT* MAKE ANY CHANGES below here unless you know what you're doing...*
- *--------------------------------------------------------------------------*
- ****************************************************************************/
-
-#include "compat/compat.h"
-
-#ifdef USE_POSIX_REGEX
-#ifndef USE_RE_SYNTAX
-#define USE_RE_SYNTAX REG_EXTENDED /* default Syntax */
-#endif
-#endif
-
-#if !defined(CACHEMGR_HOSTNAME)
-#define CACHEMGR_HOSTNAME ""
-#else
-#define CACHEMGR_HOSTNAME_DEFINED 1
-#endif
-
-#if SQUID_DETECT_UDP_SO_SNDBUF > 16384
-#define SQUID_UDP_SO_SNDBUF 16384
-#else
-#define SQUID_UDP_SO_SNDBUF SQUID_DETECT_UDP_SO_SNDBUF
-#endif
-
-#if SQUID_DETECT_UDP_SO_RCVBUF > 16384
-#define SQUID_UDP_SO_RCVBUF 16384
-#else
-#define SQUID_UDP_SO_RCVBUF SQUID_DETECT_UDP_SO_RCVBUF
-#endif
-
-#if HAVE_RANDOM
-#define squid_random random
-#define squid_srandom srandom
-#elif HAVE_LRAND48
-#define squid_random lrand48
-#define squid_srandom srand48
-#else
-#define squid_random rand
-#define squid_srandom srand
-#endif
-
-/*
- * Determine if this is a leak check build or standard
- */
-#if PURIFY
-#define LEAK_CHECK_MODE 1
-#elif WITH_VALGRIND
-#define LEAK_CHECK_MODE 1
-#elif XMALLOC_TRACE
-#define LEAK_CHECK_MODE 1
-#endif
-
-/* temp hack: needs to be pre-defined for now. */
-#define SQUID_MAXPATHLEN 256
-
-#endif /* SQUID_CONFIG_H */
diff -u -r -N squid-3.2.0.14/include/squid.h squid-3.2.0.15/include/squid.h
--- squid-3.2.0.14/include/squid.h 1970-01-01 12:00:00.000000000 +1200
+++ squid-3.2.0.15/include/squid.h 2012-02-06 04:52:31.000000000 +1300
@@ -0,0 +1,119 @@
+/*
+ * $Id$
+ *
+ * AUTHOR: Duane Wessels
+ *
+ * SQUID Web Proxy Cache http://www.squid-cache.org/
+ * ----------------------------------------------------------
+ *
+ * Squid is the result of efforts by numerous individuals from
+ * the Internet community; see the CONTRIBUTORS file for full
+ * details. Many organizations have provided support for Squid's
+ * development; see the SPONSORS file for full details. Squid is
+ * Copyrighted (C) 2001 by the Regents of the University of
+ * California; see the COPYRIGHT file for full details. Squid
+ * incorporates software developed and/or copyrighted by other
+ * sources; see the CREDITS file for full details.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111, USA.
+ *
+ */
+
+#ifndef SQUID_CONFIG_H
+#define SQUID_CONFIG_H
+
+#include "autoconf.h" /* For GNU autoconf variables */
+
+#if !defined(HAVE_SQUID)
+/* sub-packages define their own version details */
+#include "version.h"
+
+#endif
+
+/* default values for listen ports. Usually specified in squid.conf really */
+#define CACHE_HTTP_PORT 3128
+#define CACHE_ICP_PORT 3130
+
+/* To keep API definitions clear */
+#ifdef __cplusplus
+#define SQUIDCEXTERN extern "C"
+#else
+#define SQUIDCEXTERN extern
+#endif
+
+#if _USE_INLINE_
+#define _SQUID_INLINE_ inline
+#else
+#define _SQUID_INLINE_
+#endif
+
+/****************************************************************************
+ *--------------------------------------------------------------------------*
+ * DO *NOT* MAKE ANY CHANGES below here unless you know what you're doing...*
+ *--------------------------------------------------------------------------*
+ ****************************************************************************/
+
+#include "compat/compat.h"
+
+#ifdef USE_POSIX_REGEX
+#ifndef USE_RE_SYNTAX
+#define USE_RE_SYNTAX REG_EXTENDED /* default Syntax */
+#endif
+#endif
+
+#if !defined(CACHEMGR_HOSTNAME)
+#define CACHEMGR_HOSTNAME ""
+#else
+#define CACHEMGR_HOSTNAME_DEFINED 1
+#endif
+
+#if SQUID_DETECT_UDP_SO_SNDBUF > 16384
+#define SQUID_UDP_SO_SNDBUF 16384
+#else
+#define SQUID_UDP_SO_SNDBUF SQUID_DETECT_UDP_SO_SNDBUF
+#endif
+
+#if SQUID_DETECT_UDP_SO_RCVBUF > 16384
+#define SQUID_UDP_SO_RCVBUF 16384
+#else
+#define SQUID_UDP_SO_RCVBUF SQUID_DETECT_UDP_SO_RCVBUF
+#endif
+
+#if HAVE_RANDOM
+#define squid_random random
+#define squid_srandom srandom
+#elif HAVE_LRAND48
+#define squid_random lrand48
+#define squid_srandom srand48
+#else
+#define squid_random rand
+#define squid_srandom srand
+#endif
+
+/*
+ * Determine if this is a leak check build or standard
+ */
+#if PURIFY
+#define LEAK_CHECK_MODE 1
+#elif WITH_VALGRIND
+#define LEAK_CHECK_MODE 1
+#elif XMALLOC_TRACE
+#define LEAK_CHECK_MODE 1
+#endif
+
+/* temp hack: needs to be pre-defined for now. */
+#define SQUID_MAXPATHLEN 256
+
+#endif /* SQUID_CONFIG_H */
diff -u -r -N squid-3.2.0.14/include/util.h squid-3.2.0.15/include/util.h
--- squid-3.2.0.14/include/util.h 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/include/util.h 2012-02-06 04:52:31.000000000 +1300
@@ -69,7 +69,6 @@
#if XMALLOC_TRACE
#define xmalloc(size) (xmalloc_func="xmalloc",xmalloc_line=__LINE__,xmalloc_file=__FILE__,xmalloc(size))
#define xfree(ptr) (xmalloc_func="xfree",xmalloc_line=__LINE__,xmalloc_file=__FILE__,xfree(ptr))
-#define xxfree(ptr) (xmalloc_func="xxfree",xmalloc_line=__LINE__,xmalloc_file=__FILE__,xxfree(ptr))
#define xrealloc(ptr,size) (xmalloc_func="xrealloc",xmalloc_line=__LINE__,xmalloc_file=__FILE__,xrealloc(ptr,size))
#define xcalloc(n,size) (xmalloc_func="xcalloc",xmalloc_line=__LINE__,xmalloc_file=__FILE__,xcalloc(n,size))
#define xstrdup(ptr) (xmalloc_func="xstrdup",xmalloc_line=__LINE__,xmalloc_file=__FILE__,xstrdup(ptr))
diff -u -r -N squid-3.2.0.14/include/version.h squid-3.2.0.15/include/version.h
--- squid-3.2.0.14/include/version.h 2011-12-13 00:11:47.000000000 +1300
+++ squid-3.2.0.15/include/version.h 2012-02-06 05:01:04.000000000 +1300
@@ -9,7 +9,7 @@
*/
#ifndef SQUID_RELEASE_TIME
-#define SQUID_RELEASE_TIME 1323688094
+#define SQUID_RELEASE_TIME 1328457139
#endif
#ifndef APP_SHORTNAME
diff -u -r -N squid-3.2.0.14/lib/base64.c squid-3.2.0.15/lib/base64.c
--- squid-3.2.0.14/lib/base64.c 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/lib/base64.c 2012-02-06 04:52:31.000000000 +1300
@@ -6,7 +6,7 @@
* Encoders adopted from http://ftp.sunet.se/pub2/gnu/vm/base64-encode.c with adjustments.
*/
-#include "config.h"
+#include "squid.h"
#include "base64.h"
#if HAVE_STDIO_H
diff -u -r -N squid-3.2.0.14/lib/charset.c squid-3.2.0.15/lib/charset.c
--- squid-3.2.0.14/lib/charset.c 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/lib/charset.c 2012-02-06 04:52:31.000000000 +1300
@@ -25,7 +25,7 @@
*
*/
-#include "config.h"
+#include "squid.h"
#include "charset.h"
/** Convert ISO-LATIN-1 to UTF-8 */
diff -u -r -N squid-3.2.0.14/lib/dirent.c squid-3.2.0.15/lib/dirent.c
--- squid-3.2.0.14/lib/dirent.c 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/lib/dirent.c 2012-02-06 04:52:31.000000000 +1300
@@ -48,7 +48,7 @@
*
*/
-#include "config.h"
+#include "squid.h"
/* The following code section is part of the native Windows Squid port */
#if _SQUID_MSWIN_
diff -u -r -N squid-3.2.0.14/lib/encrypt.c squid-3.2.0.15/lib/encrypt.c
--- squid-3.2.0.14/lib/encrypt.c 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/lib/encrypt.c 2012-02-06 04:52:31.000000000 +1300
@@ -1,4 +1,4 @@
-#include "config.h"
+#include "squid.h"
/* encrypt.c - providing 56 bit DES encryption
* Copyright (C) 1991 Jochen Obalek
diff -u -r -N squid-3.2.0.14/lib/getfullhostname.c squid-3.2.0.15/lib/getfullhostname.c
--- squid-3.2.0.14/lib/getfullhostname.c 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/lib/getfullhostname.c 2012-02-06 04:52:31.000000000 +1300
@@ -31,7 +31,7 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111, USA.
*
*/
-#include "config.h"
+#include "squid.h"
#include "getfullhostname.h"
diff -u -r -N squid-3.2.0.14/lib/getopt.c squid-3.2.0.15/lib/getopt.c
--- squid-3.2.0.14/lib/getopt.c 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/lib/getopt.c 2012-02-06 04:52:31.000000000 +1300
@@ -1,4 +1,4 @@
-#include "config.h"
+#include "squid.h"
/*
* Copyright (c) 1987, 1993, 1994
diff -u -r -N squid-3.2.0.14/lib/hash.c squid-3.2.0.15/lib/hash.c
--- squid-3.2.0.14/lib/hash.c 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/lib/hash.c 2012-02-06 04:52:31.000000000 +1300
@@ -33,7 +33,7 @@
*
*/
-#include "config.h"
+#include "squid.h"
#include "hash.h"
#include "profiler/Profiler.h"
diff -u -r -N squid-3.2.0.14/lib/heap.c squid-3.2.0.15/lib/heap.c
--- squid-3.2.0.14/lib/heap.c 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/lib/heap.c 2012-02-06 04:52:31.000000000 +1300
@@ -37,7 +37,7 @@
* Copyright (C) 1999 by Hewlett Packard
****************************************************************************/
-#include "config.h"
+#include "squid.h"
#include "heap.h"
#if HAVE_STDLIB_H
diff -u -r -N squid-3.2.0.14/lib/html_quote.c squid-3.2.0.15/lib/html_quote.c
--- squid-3.2.0.14/lib/html_quote.c 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/lib/html_quote.c 2012-02-06 04:52:31.000000000 +1300
@@ -32,7 +32,7 @@
*
*/
-#include "config.h"
+#include "squid.h"
#include "html_quote.h"
#if HAVE_STDIO_H
diff -u -r -N squid-3.2.0.14/lib/iso3307.c squid-3.2.0.15/lib/iso3307.c
--- squid-3.2.0.14/lib/iso3307.c 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/lib/iso3307.c 2012-02-06 04:52:31.000000000 +1300
@@ -1,4 +1,4 @@
-#include "config.h"
+#include "squid.h"
#include "util.h"
#if HAVE_STDIO_H
diff -u -r -N squid-3.2.0.14/lib/malloc_trace.cc squid-3.2.0.15/lib/malloc_trace.cc
--- squid-3.2.0.14/lib/malloc_trace.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/lib/malloc_trace.cc 2012-02-06 04:52:31.000000000 +1300
@@ -34,7 +34,7 @@
#define _etext etext
-#include "config.h"
+#include "squid.h"
#include "profiler/Profiler.h"
#include "util.h"
@@ -98,7 +98,6 @@
size_t xmalloc_total = 0;
#undef xmalloc
#undef xfree
-#undef xxfree
#undef xrealloc
#undef xcalloc
#undef xstrdup
diff -u -r -N squid-3.2.0.14/lib/md5.c squid-3.2.0.15/lib/md5.c
--- squid-3.2.0.14/lib/md5.c 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/lib/md5.c 2012-02-06 04:52:31.000000000 +1300
@@ -29,7 +29,7 @@
* Still in the public domain.
*
*/
-#include "config.h"
+#include "squid.h"
#include "md5.h"
#if HAVE_STRING_H
diff -u -r -N squid-3.2.0.14/lib/MemPool.cc squid-3.2.0.15/lib/MemPool.cc
--- squid-3.2.0.14/lib/MemPool.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/lib/MemPool.cc 2012-02-06 04:52:31.000000000 +1300
@@ -33,7 +33,7 @@
*
*/
-#include "config.h"
+#include "squid.h"
#if HAVE_ASSERT_H
#include
#endif
diff -u -r -N squid-3.2.0.14/lib/MemPoolChunked.cc squid-3.2.0.15/lib/MemPoolChunked.cc
--- squid-3.2.0.14/lib/MemPoolChunked.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/lib/MemPoolChunked.cc 2012-02-06 04:52:31.000000000 +1300
@@ -81,7 +81,7 @@
* Copyright (c) 2003, Robert Collins
*/
-#include "config.h"
+#include "squid.h"
#if HAVE_ASSERT_H
#include
#endif
diff -u -r -N squid-3.2.0.14/lib/MemPoolMalloc.cc squid-3.2.0.15/lib/MemPoolMalloc.cc
--- squid-3.2.0.14/lib/MemPoolMalloc.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/lib/MemPoolMalloc.cc 2012-02-06 04:52:31.000000000 +1300
@@ -34,7 +34,7 @@
*/
-#include "config.h"
+#include "squid.h"
#if HAVE_ASSERT_H
#include
#endif
diff -u -r -N squid-3.2.0.14/lib/ntlmauth/ntlmauth.cc squid-3.2.0.15/lib/ntlmauth/ntlmauth.cc
--- squid-3.2.0.14/lib/ntlmauth/ntlmauth.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/lib/ntlmauth/ntlmauth.cc 2012-02-06 04:52:31.000000000 +1300
@@ -25,7 +25,7 @@
*
*/
-#include "config.h"
+#include "squid.h"
#if HAVE_STRING_H
#include
diff -u -r -N squid-3.2.0.14/lib/profiler/Profiler.cc squid-3.2.0.15/lib/profiler/Profiler.cc
--- squid-3.2.0.14/lib/profiler/Profiler.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/lib/profiler/Profiler.cc 2012-02-06 04:52:31.000000000 +1300
@@ -113,7 +113,7 @@
*
*/
-#include "config.h"
+#include "squid.h"
#include "profiler/Profiler.h"
#if USE_XPROF_STATS
diff -u -r -N squid-3.2.0.14/lib/radix.c squid-3.2.0.15/lib/radix.c
--- squid-3.2.0.14/lib/radix.c 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/lib/radix.c 2012-02-06 04:52:31.000000000 +1300
@@ -64,7 +64,7 @@
* @(#)radix.c 8.4 (Berkeley) 11/2/94
*/
-#include "config.h"
+#include "squid.h"
#include "radix.h"
#include "util.h"
diff -u -r -N squid-3.2.0.14/lib/rfc1035.c squid-3.2.0.15/lib/rfc1035.c
--- squid-3.2.0.14/lib/rfc1035.c 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/lib/rfc1035.c 2012-02-06 04:52:31.000000000 +1300
@@ -38,7 +38,7 @@
* UDP replies with TC set should be retried via TCP
*/
-#include "config.h"
+#include "squid.h"
#include "util.h"
#if HAVE_STDIO_H
diff -u -r -N squid-3.2.0.14/lib/rfc1123.c squid-3.2.0.15/lib/rfc1123.c
--- squid-3.2.0.14/lib/rfc1123.c 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/lib/rfc1123.c 2012-02-06 04:52:31.000000000 +1300
@@ -32,7 +32,7 @@
*
*/
-#include "config.h"
+#include "squid.h"
#include "rfc1123.h"
/*
diff -u -r -N squid-3.2.0.14/lib/rfc1738.c squid-3.2.0.15/lib/rfc1738.c
--- squid-3.2.0.14/lib/rfc1738.c 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/lib/rfc1738.c 2012-02-06 04:52:31.000000000 +1300
@@ -32,7 +32,7 @@
*
*/
-#include "config.h"
+#include "squid.h"
#include "rfc1738.h"
#if HAVE_STDIO_H
diff -u -r -N squid-3.2.0.14/lib/rfc2617.c squid-3.2.0.15/lib/rfc2617.c
--- squid-3.2.0.14/lib/rfc2617.c 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/lib/rfc2617.c 2012-02-06 04:52:31.000000000 +1300
@@ -46,7 +46,7 @@
*
*/
-#include "config.h"
+#include "squid.h"
#include
#include "rfc2617.h"
#include "md5.h"
diff -u -r -N squid-3.2.0.14/lib/rfc2671.c squid-3.2.0.15/lib/rfc2671.c
--- squid-3.2.0.14/lib/rfc2671.c 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/lib/rfc2671.c 2012-02-06 04:52:31.000000000 +1300
@@ -1,4 +1,4 @@
-#include "config.h"
+#include "squid.h"
#include "rfc2671.h"
#include "rfc1035.h"
diff -u -r -N squid-3.2.0.14/lib/rfc3596.c squid-3.2.0.15/lib/rfc3596.c
--- squid-3.2.0.14/lib/rfc3596.c 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/lib/rfc3596.c 2012-02-06 04:52:31.000000000 +1300
@@ -55,7 +55,7 @@
*
*/
-#include "config.h"
+#include "squid.h"
#include "compat/inet_pton.h"
#include "util.h"
diff -u -r -N squid-3.2.0.14/lib/rfcnb/rfcnb-io.c squid-3.2.0.15/lib/rfcnb/rfcnb-io.c
--- squid-3.2.0.14/lib/rfcnb/rfcnb-io.c 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/lib/rfcnb/rfcnb-io.c 2012-02-06 04:52:31.000000000 +1300
@@ -1,4 +1,4 @@
-#include "config.h"
+#include "squid.h"
/* UNIX RFCNB (RFC1001/RFC1002) NEtBIOS implementation
*
diff -u -r -N squid-3.2.0.14/lib/rfcnb/rfcnb-util.c squid-3.2.0.15/lib/rfcnb/rfcnb-util.c
--- squid-3.2.0.14/lib/rfcnb/rfcnb-util.c 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/lib/rfcnb/rfcnb-util.c 2012-02-06 04:52:31.000000000 +1300
@@ -1,4 +1,4 @@
-#include "config.h"
+#include "squid.h"
/* UNIX RFCNB (RFC1001/RFC1002) NetBIOS implementation
*
diff -u -r -N squid-3.2.0.14/lib/rfcnb/session.c squid-3.2.0.15/lib/rfcnb/session.c
--- squid-3.2.0.14/lib/rfcnb/session.c 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/lib/rfcnb/session.c 2012-02-06 04:52:31.000000000 +1300
@@ -1,4 +1,4 @@
-#include "config.h"
+#include "squid.h"
/* UNIX RFCNB (RFC1001/RFC1002) NetBIOS implementation
*
diff -u -r -N squid-3.2.0.14/lib/smblib/md4.c squid-3.2.0.15/lib/smblib/md4.c
--- squid-3.2.0.14/lib/smblib/md4.c 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/lib/smblib/md4.c 2012-02-06 04:52:31.000000000 +1300
@@ -1,4 +1,4 @@
-#include "config.h"
+#include "squid.h"
/*
* Unix SMB/Netbios implementation.
diff -u -r -N squid-3.2.0.14/lib/smblib/smbdes.c squid-3.2.0.15/lib/smblib/smbdes.c
--- squid-3.2.0.14/lib/smblib/smbdes.c 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/lib/smblib/smbdes.c 2012-02-06 04:52:31.000000000 +1300
@@ -1,4 +1,4 @@
-#include "config.h"
+#include "squid.h"
/*
* Unix SMB/Netbios implementation.
diff -u -r -N squid-3.2.0.14/lib/smblib/smbencrypt.c squid-3.2.0.15/lib/smblib/smbencrypt.c
--- squid-3.2.0.14/lib/smblib/smbencrypt.c 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/lib/smblib/smbencrypt.c 2012-02-06 04:52:31.000000000 +1300
@@ -1,4 +1,4 @@
-#include "config.h"
+#include "squid.h"
/*
* Unix SMB/Netbios implementation.
diff -u -r -N squid-3.2.0.14/lib/smblib/smblib.c squid-3.2.0.15/lib/smblib/smblib.c
--- squid-3.2.0.14/lib/smblib/smblib.c 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/lib/smblib/smblib.c 2012-02-06 04:52:31.000000000 +1300
@@ -1,4 +1,4 @@
-#include "config.h"
+#include "squid.h"
/* UNIX SMBlib NetBIOS implementation
diff -u -r -N squid-3.2.0.14/lib/smblib/smblib-util.c squid-3.2.0.15/lib/smblib/smblib-util.c
--- squid-3.2.0.14/lib/smblib/smblib-util.c 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/lib/smblib/smblib-util.c 2012-02-06 04:52:31.000000000 +1300
@@ -1,4 +1,4 @@
-#include "config.h"
+#include "squid.h"
/* UNIX SMBlib NetBIOS implementation
diff -u -r -N squid-3.2.0.14/lib/Splay.cc squid-3.2.0.15/lib/Splay.cc
--- squid-3.2.0.14/lib/Splay.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/lib/Splay.cc 2012-02-06 04:52:31.000000000 +1300
@@ -5,7 +5,7 @@
* http://bobo.link.cs.cmu.edu/cgi-bin/splay/splay-cgi.pl
*/
-#include "config.h"
+#include "squid.h"
#if HAVE_STDIO_H
#include
diff -u -r -N squid-3.2.0.14/lib/sspwin32.c squid-3.2.0.15/lib/sspwin32.c
--- squid-3.2.0.14/lib/sspwin32.c 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/lib/sspwin32.c 2012-02-06 04:52:31.000000000 +1300
@@ -33,7 +33,7 @@
*
*/
-#include "config.h"
+#include "squid.h"
#include "util.h"
#include "libntlmauth/ntlmauth.h"
diff -u -r -N squid-3.2.0.14/lib/stub_memaccount.c squid-3.2.0.15/lib/stub_memaccount.c
--- squid-3.2.0.14/lib/stub_memaccount.c 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/lib/stub_memaccount.c 2012-02-06 04:52:31.000000000 +1300
@@ -3,7 +3,7 @@
*/
/* Stub function for programs not implementing statMemoryAccounted */
-#include "config.h"
+#include "squid.h"
#include "util.h"
int
statMemoryAccounted(void)
diff -u -r -N squid-3.2.0.14/lib/tests/testArray.cc squid-3.2.0.15/lib/tests/testArray.cc
--- squid-3.2.0.14/lib/tests/testArray.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/lib/tests/testArray.cc 2012-02-06 04:52:31.000000000 +1300
@@ -1,5 +1,5 @@
#define SQUID_UNIT_TEST 1
-#include "config.h"
+#include "squid.h"
#if HAVE_ASSERT_H
#include
diff -u -r -N squid-3.2.0.14/lib/tests/testMain.cc squid-3.2.0.15/lib/tests/testMain.cc
--- squid-3.2.0.14/lib/tests/testMain.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/lib/tests/testMain.cc 2012-02-06 04:52:31.000000000 +1300
@@ -1,4 +1,4 @@
-#include "config.h"
+#include "squid.h"
#include
#include
diff -u -r -N squid-3.2.0.14/lib/tests/testRFC1035.cc squid-3.2.0.15/lib/tests/testRFC1035.cc
--- squid-3.2.0.14/lib/tests/testRFC1035.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/lib/tests/testRFC1035.cc 2012-02-06 04:52:31.000000000 +1300
@@ -1,5 +1,5 @@
#define SQUID_UNIT_TEST 1
-#include "config.h"
+#include "squid.h"
#if HAVE_ASSERT_H
#include
diff -u -r -N squid-3.2.0.14/lib/tests/testRFC1738.cc squid-3.2.0.15/lib/tests/testRFC1738.cc
--- squid-3.2.0.14/lib/tests/testRFC1738.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/lib/tests/testRFC1738.cc 2012-02-06 04:52:31.000000000 +1300
@@ -1,5 +1,5 @@
#define SQUID_UNIT_TEST 1
-#include "config.h"
+#include "squid.h"
#if HAVE_ASSERT_H
#include
diff -u -r -N squid-3.2.0.14/lib/util.c squid-3.2.0.15/lib/util.c
--- squid-3.2.0.14/lib/util.c 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/lib/util.c 2012-02-06 04:52:31.000000000 +1300
@@ -34,7 +34,7 @@
#define _etext etext
-#include "config.h"
+#include "squid.h"
#include "profiler/Profiler.h"
#include "util.h"
diff -u -r -N squid-3.2.0.14/lib/uudecode.c squid-3.2.0.15/lib/uudecode.c
--- squid-3.2.0.14/lib/uudecode.c 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/lib/uudecode.c 2012-02-06 04:52:31.000000000 +1300
@@ -2,7 +2,7 @@
* $Id$
*/
-#include "config.h"
+#include "squid.h"
#include "uudecode.h"
/* aaaack but it's fast and const should make it shared text page. */
diff -u -r -N squid-3.2.0.14/lib/xusleep.c squid-3.2.0.15/lib/xusleep.c
--- squid-3.2.0.14/lib/xusleep.c 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/lib/xusleep.c 2012-02-06 04:52:31.000000000 +1300
@@ -1,4 +1,4 @@
-#include "config.h"
+#include "squid.h"
#include "profiler/Profiler.h"
#include "xusleep.h"
diff -u -r -N squid-3.2.0.14/RELEASENOTES.html squid-3.2.0.15/RELEASENOTES.html
--- squid-3.2.0.14/RELEASENOTES.html 2011-12-13 01:29:38.000000000 +1300
+++ squid-3.2.0.15/RELEASENOTES.html 2012-02-06 06:03:01.000000000 +1300
@@ -2,10 +2,10 @@
- Squid 3.2.0.14 release notes
+ Squid 3.2.0.15 release notes
-Squid 3.2.0.14 release notes
+Squid 3.2.0.15 release notes
Squid Developers
@@ -72,7 +72,7 @@
-The Squid Team are pleased to announce the release of Squid-3.2.0.14 for testing.
+The Squid Team are pleased to announce the release of Squid-3.2.0.15 for testing.
This new release is available for download from
http://www.squid-cache.org/Versions/v3/3.2/ or the
mirrors.
@@ -479,6 +479,16 @@
+The manager prefix /squid-internal-mgr/ with no action attempts to load an optional
+template MGR_INDEX which may be installed amongst in the Squid error templates.
+This template is not supplied with Squid but intended to be supplied by separate
+cache manager applications as their front page embedding all scripts, accessors or
+redirects required for their initial GUI display.
+
+Version 3.2 of the CGI cache manager tool now presents XHR scripted probes to detect
+proxies presenting these manager index pagess and provides direct HTTP/HTTPS web links
+to those managers.
+
@@ -594,6 +604,10 @@
+memory_cache_shared
+Controls whether the memory cache is shared among SMP workers.
+Currently, entities exceeding 32KB in size cannot be shared.
+
server_idle_pconn_timeout
Renamed from pconn_timeout.
@@ -675,6 +689,9 @@
3xx status only available when redirecting to a URI.
Other status only available when supplying an error template body.
+dns_v4_fallback
+Obsoleted by DNS parallel lookups.
+
external_acl_type
New format tags and option parameters:
%SRCEUI48 EUI-48 / MAC address of client from ARP lookup.
diff -u -r -N squid-3.2.0.14/snmplib/asn1.c squid-3.2.0.15/snmplib/asn1.c
--- squid-3.2.0.14/snmplib/asn1.c 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/snmplib/asn1.c 2012-02-06 04:52:31.000000000 +1300
@@ -31,7 +31,7 @@
*
***************************************************************************/
-#include "config.h"
+#include "squid.h"
#include
diff -u -r -N squid-3.2.0.14/snmplib/coexistance.c squid-3.2.0.15/snmplib/coexistance.c
--- squid-3.2.0.14/snmplib/coexistance.c 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/snmplib/coexistance.c 2012-02-06 04:52:31.000000000 +1300
@@ -27,9 +27,7 @@
*
**********************************************************************/
-#include "config.h"
-
-#include "config.h"
+#include "squid.h"
#include
diff -u -r -N squid-3.2.0.14/snmplib/mib.c squid-3.2.0.15/snmplib/mib.c
--- squid-3.2.0.14/snmplib/mib.c 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/snmplib/mib.c 2012-02-06 04:52:31.000000000 +1300
@@ -22,7 +22,7 @@
******************************************************************/
#define SQUID_NO_STRING_BUFFER_PROTECT 1
-#include "config.h"
+#include "squid.h"
#include
diff -u -r -N squid-3.2.0.14/snmplib/parse.c squid-3.2.0.15/snmplib/parse.c
--- squid-3.2.0.14/snmplib/parse.c 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/snmplib/parse.c 2012-02-06 04:52:31.000000000 +1300
@@ -23,7 +23,7 @@
/*
* parse.c
*/
-#include "config.h"
+#include "squid.h"
#include
diff -u -r -N squid-3.2.0.14/snmplib/snmp_api.c squid-3.2.0.15/snmplib/snmp_api.c
--- squid-3.2.0.14/snmplib/snmp_api.c 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/snmplib/snmp_api.c 2012-02-06 04:52:31.000000000 +1300
@@ -24,7 +24,7 @@
*
**********************************************************************/
-#include "config.h"
+#include "squid.h"
#include
diff -u -r -N squid-3.2.0.14/snmplib/snmp_api_error.c squid-3.2.0.15/snmplib/snmp_api_error.c
--- squid-3.2.0.14/snmplib/snmp_api_error.c 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/snmplib/snmp_api_error.c 2012-02-06 04:52:31.000000000 +1300
@@ -30,9 +30,7 @@
*
***************************************************************************/
-#if HAVE_CONFIG_H
-#include "config.h"
-#endif /* HAVE_CONFIG_H */
+#include "squid.h"
#include
#include "snmp_api_error.h"
diff -u -r -N squid-3.2.0.14/snmplib/snmp_error.c squid-3.2.0.15/snmplib/snmp_error.c
--- squid-3.2.0.14/snmplib/snmp_error.c 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/snmplib/snmp_error.c 2012-02-06 04:52:31.000000000 +1300
@@ -26,7 +26,7 @@
*
**********************************************************************/
-#include "config.h"
+#include "squid.h"
#include
diff -u -r -N squid-3.2.0.14/snmplib/snmplib_debug.c squid-3.2.0.15/snmplib/snmplib_debug.c
--- squid-3.2.0.14/snmplib/snmplib_debug.c 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/snmplib/snmplib_debug.c 2012-02-06 04:52:31.000000000 +1300
@@ -1,4 +1,4 @@
-#include "config.h"
+#include "squid.h"
#if HAVE_STDIO_H
#include
#endif
diff -u -r -N squid-3.2.0.14/snmplib/snmp_msg.c squid-3.2.0.15/snmplib/snmp_msg.c
--- squid-3.2.0.14/snmplib/snmp_msg.c 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/snmplib/snmp_msg.c 2012-02-06 04:52:31.000000000 +1300
@@ -33,7 +33,7 @@
*
**********************************************************************/
-#include "config.h"
+#include "squid.h"
#include
diff -u -r -N squid-3.2.0.14/snmplib/snmp_pdu.c squid-3.2.0.15/snmplib/snmp_pdu.c
--- squid-3.2.0.14/snmplib/snmp_pdu.c 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/snmplib/snmp_pdu.c 2012-02-06 04:52:31.000000000 +1300
@@ -33,7 +33,7 @@
*
**********************************************************************/
-#include "config.h"
+#include "squid.h"
#include
diff -u -r -N squid-3.2.0.14/snmplib/snmp_vars.c squid-3.2.0.15/snmplib/snmp_vars.c
--- squid-3.2.0.14/snmplib/snmp_vars.c 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/snmplib/snmp_vars.c 2012-02-06 04:52:31.000000000 +1300
@@ -32,7 +32,7 @@
*
**********************************************************************/
-#include "config.h"
+#include "squid.h"
#include
diff -u -r -N squid-3.2.0.14/src/AccessLogEntry.cc squid-3.2.0.15/src/AccessLogEntry.cc
--- squid-3.2.0.14/src/AccessLogEntry.cc 1970-01-01 12:00:00.000000000 +1200
+++ squid-3.2.0.15/src/AccessLogEntry.cc 2012-02-06 04:52:31.000000000 +1300
@@ -0,0 +1,19 @@
+#include "squid.h"
+#include "AccessLogEntry.h"
+#include "HttpRequest.h"
+
+void
+AccessLogEntry::getLogClientIp(char *buf, size_t bufsz) const
+{
+#if FOLLOW_X_FORWARDED_FOR
+ if (Config.onoff.log_uses_indirect_client && request)
+ request->indirect_client_addr.NtoA(buf, bufsz);
+ else
+#endif
+ if (tcpClient != NULL)
+ tcpClient->remote.NtoA(buf, bufsz);
+ else if (cache.caddr.IsNoAddr()) // e.g., ICAP OPTIONS lack client
+ strncpy(buf, "-", 1);
+ else
+ cache.caddr.NtoA(buf, bufsz);
+}
diff -u -r -N squid-3.2.0.14/src/AccessLogEntry.h squid-3.2.0.15/src/AccessLogEntry.h
--- squid-3.2.0.14/src/AccessLogEntry.h 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/src/AccessLogEntry.h 2012-02-06 04:52:31.000000000 +1300
@@ -52,6 +52,11 @@
AccessLogEntry() : url(NULL), tcpClient(), reply(NULL), request(NULL),
adapted_request(NULL) {}
+ /// Fetch the client IP log string into the given buffer.
+ /// Knows about several alternate locations of the IP
+ /// including indirect forwarded-for IP if configured to log that
+ void getLogClientIp(char *buf, size_t bufsz) const;
+
const char *url;
/// TCP/IP level details about the client connection
diff -u -r -N squid-3.2.0.14/src/acl/Acl.cc squid-3.2.0.15/src/acl/Acl.cc
--- squid-3.2.0.14/src/acl/Acl.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/src/acl/Acl.cc 2012-02-06 04:52:31.000000000 +1300
@@ -31,7 +31,7 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111, USA.
*
*/
-#include "config.h"
+#include "squid.h"
#include "acl/Acl.h"
#include "acl/Checklist.h"
diff -u -r -N squid-3.2.0.14/src/acl/Arp.cc squid-3.2.0.15/src/acl/Arp.cc
--- squid-3.2.0.14/src/acl/Arp.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/src/acl/Arp.cc 2012-02-06 04:52:31.000000000 +1300
@@ -32,7 +32,7 @@
* Copyright (c) 2003, Robert Collins
*/
-#include "squid.h"
+#include "squid-old.h"
#if USE_SQUID_EUI
diff -u -r -N squid-3.2.0.14/src/acl/Asn.cc squid-3.2.0.15/src/acl/Asn.cc
--- squid-3.2.0.14/src/acl/Asn.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/src/acl/Asn.cc 2012-02-06 04:52:31.000000000 +1300
@@ -33,7 +33,7 @@
*
*/
-#include "squid.h"
+#include "squid-old.h"
#include "mgr/Registration.h"
#include "radix.h"
#include "HttpRequest.h"
diff -u -r -N squid-3.2.0.14/src/acl/Browser.cc squid-3.2.0.15/src/acl/Browser.cc
--- squid-3.2.0.14/src/acl/Browser.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/src/acl/Browser.cc 2012-02-06 04:52:31.000000000 +1300
@@ -34,7 +34,7 @@
* Copyright (c) 2003, Robert Collins
*/
-#include "squid.h"
+#include "squid-old.h"
#include "acl/Checklist.h"
#include "acl/Browser.h"
#include "acl/RegexData.h"
diff -u -r -N squid-3.2.0.14/src/acl/Certificate.cc squid-3.2.0.15/src/acl/Certificate.cc
--- squid-3.2.0.14/src/acl/Certificate.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/src/acl/Certificate.cc 2012-02-06 04:52:31.000000000 +1300
@@ -34,7 +34,7 @@
* Copyright (c) 2003, Robert Collins
*/
-#include "squid.h"
+#include "squid-old.h"
/* MS Visual Studio Projects are monolithic, so we need the following
* #if to exclude the SSL code from compile process when not needed.
diff -u -r -N squid-3.2.0.14/src/acl/CertificateData.cc squid-3.2.0.15/src/acl/CertificateData.cc
--- squid-3.2.0.14/src/acl/CertificateData.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/src/acl/CertificateData.cc 2012-02-06 04:52:31.000000000 +1300
@@ -34,7 +34,7 @@
* Copyright (c) 2003, Robert Collins
*/
-#include "squid.h"
+#include "squid-old.h"
#include "acl/CertificateData.h"
#include "acl/Checklist.h"
#include "wordlist.h"
diff -u -r -N squid-3.2.0.14/src/acl/Checklist.cc squid-3.2.0.15/src/acl/Checklist.cc
--- squid-3.2.0.14/src/acl/Checklist.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/src/acl/Checklist.cc 2012-02-06 04:52:31.000000000 +1300
@@ -33,7 +33,7 @@
* Copyright (c) 2003, Robert Collins
*/
-#include "squid.h"
+#include "squid-old.h"
#include "acl/Checklist.h"
allow_t const &
diff -u -r -N squid-3.2.0.14/src/acl/DestinationDomain.cc squid-3.2.0.15/src/acl/DestinationDomain.cc
--- squid-3.2.0.14/src/acl/DestinationDomain.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/src/acl/DestinationDomain.cc 2012-02-06 04:52:31.000000000 +1300
@@ -34,7 +34,7 @@
* Copyright (c) 2003, Robert Collins
*/
-#include "squid.h"
+#include "squid-old.h"
#include "acl/DestinationDomain.h"
#include "acl/Checklist.h"
#include "acl/RegexData.h"
diff -u -r -N squid-3.2.0.14/src/acl/DestinationIp.cc squid-3.2.0.15/src/acl/DestinationIp.cc
--- squid-3.2.0.14/src/acl/DestinationIp.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/src/acl/DestinationIp.cc 2012-02-06 04:52:31.000000000 +1300
@@ -33,7 +33,7 @@
* Copyright (c) 2003, Robert Collins
*/
-#include "squid.h"
+#include "squid-old.h"
#include "acl/DestinationIp.h"
#include "acl/FilledChecklist.h"
#include "comm/Connection.h"
diff -u -r -N squid-3.2.0.14/src/acl/DomainData.cc squid-3.2.0.15/src/acl/DomainData.cc
--- squid-3.2.0.14/src/acl/DomainData.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/src/acl/DomainData.cc 2012-02-06 04:52:31.000000000 +1300
@@ -34,7 +34,7 @@
* Copyright (c) 2003, Robert Collins
*/
-#include "squid.h"
+#include "squid-old.h"
#include "acl/DomainData.h"
#include "acl/Checklist.h"
#include "wordlist.h"
diff -u -r -N squid-3.2.0.14/src/acl/Eui64.cc squid-3.2.0.15/src/acl/Eui64.cc
--- squid-3.2.0.14/src/acl/Eui64.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/src/acl/Eui64.cc 2012-02-06 04:52:31.000000000 +1300
@@ -32,7 +32,7 @@
* Copyright (c) 2003, Robert Collins
*/
-#include "squid.h"
+#include "squid-old.h"
#if USE_SQUID_EUI
diff -u -r -N squid-3.2.0.14/src/acl/ExtUser.cc squid-3.2.0.15/src/acl/ExtUser.cc
--- squid-3.2.0.14/src/acl/ExtUser.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/src/acl/ExtUser.cc 2012-02-06 04:52:31.000000000 +1300
@@ -34,7 +34,7 @@
* Copyright (c) 2003, Robert Collins
*/
-#include "squid.h"
+#include "squid-old.h"
#if USE_AUTH
diff -u -r -N squid-3.2.0.14/src/acl/FilledChecklist.cc squid-3.2.0.15/src/acl/FilledChecklist.cc
--- squid-3.2.0.14/src/acl/FilledChecklist.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/src/acl/FilledChecklist.cc 2012-02-06 04:52:31.000000000 +1300
@@ -1,4 +1,4 @@
-#include "squid.h"
+#include "squid-old.h"
#include "HttpRequest.h"
#include "HttpReply.h"
#include "client_side.h"
@@ -24,8 +24,11 @@
if (auth_user_request != NULL) {
/* the filled_checklist lock */
auth_user_request = NULL;
- /* it might have been connection based */
- if (conn()) {
+ // It might have been connection based
+ // In the case of sslBump we need to preserve authentication info
+ // XXX: need to re-evaluate this. ACL tests should not be playing with
+ // XXX: wider scoped TCP connection state, even if the helper lookup is stuck.
+ if (conn() && !conn()->switchedToHttps()) {
conn()->auth_user_request = NULL;
}
}
diff -u -r -N squid-3.2.0.14/src/acl/FilledChecklist.h squid-3.2.0.15/src/acl/FilledChecklist.h
--- squid-3.2.0.14/src/acl/FilledChecklist.h 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/src/acl/FilledChecklist.h 2012-02-06 04:52:31.000000000 +1300
@@ -56,7 +56,7 @@
char rfc931[USER_IDENT_SZ];
#if USE_AUTH
- AuthUserRequest::Pointer auth_user_request;
+ Auth::UserRequest::Pointer auth_user_request;
#endif
#if SQUID_SNMP
char *snmp_community;
diff -u -r -N squid-3.2.0.14/src/acl/Gadgets.cc squid-3.2.0.15/src/acl/Gadgets.cc
--- squid-3.2.0.14/src/acl/Gadgets.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/src/acl/Gadgets.cc 2012-02-06 04:52:31.000000000 +1300
@@ -38,7 +38,7 @@
*
*/
-#include "squid.h"
+#include "squid-old.h"
#include "acl/Acl.h"
#include "acl/Checklist.h"
#include "acl/Strategised.h"
diff -u -r -N squid-3.2.0.14/src/acl/HierCode.cc squid-3.2.0.15/src/acl/HierCode.cc
--- squid-3.2.0.14/src/acl/HierCode.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/src/acl/HierCode.cc 2012-02-06 04:52:31.000000000 +1300
@@ -1,4 +1,4 @@
-#include "squid.h"
+#include "squid-old.h"
#include "acl/HierCode.h"
#include "acl/HierCodeData.h"
#include "acl/Checklist.h"
diff -u -r -N squid-3.2.0.14/src/acl/HierCodeData.cc squid-3.2.0.15/src/acl/HierCodeData.cc
--- squid-3.2.0.14/src/acl/HierCodeData.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/src/acl/HierCodeData.cc 2012-02-06 04:52:31.000000000 +1300
@@ -1,4 +1,4 @@
-#include "squid.h"
+#include "squid-old.h"
#include "acl/HierCodeData.h"
#include "acl/Checklist.h"
#include "hier_code.h"
diff -u -r -N squid-3.2.0.14/src/acl/HttpHeaderData.cc squid-3.2.0.15/src/acl/HttpHeaderData.cc
--- squid-3.2.0.14/src/acl/HttpHeaderData.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/src/acl/HttpHeaderData.cc 2012-02-06 04:52:31.000000000 +1300
@@ -34,7 +34,7 @@
* Copyright (c) 2003, Robert Collins
*/
-#include "squid.h"
+#include "squid-old.h"
#include "acl/HttpHeaderData.h"
#include "acl/Checklist.h"
#include "acl/Acl.h"
diff -u -r -N squid-3.2.0.14/src/acl/HttpRepHeader.cc squid-3.2.0.15/src/acl/HttpRepHeader.cc
--- squid-3.2.0.14/src/acl/HttpRepHeader.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/src/acl/HttpRepHeader.cc 2012-02-06 04:52:31.000000000 +1300
@@ -33,7 +33,7 @@
* Copyright (c) 2003, Robert Collins
*/
-#include "squid.h"
+#include "squid-old.h"
#include "acl/HttpRepHeader.h"
#include "acl/HttpHeaderData.h"
#include "acl/Checklist.h"
diff -u -r -N squid-3.2.0.14/src/acl/HttpReqHeader.cc squid-3.2.0.15/src/acl/HttpReqHeader.cc
--- squid-3.2.0.14/src/acl/HttpReqHeader.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/src/acl/HttpReqHeader.cc 2012-02-06 04:52:31.000000000 +1300
@@ -33,7 +33,7 @@
* Copyright (c) 2003, Robert Collins
*/
-#include "squid.h"
+#include "squid-old.h"
#include "acl/HttpReqHeader.h"
#include "acl/HttpHeaderData.h"
#include "acl/Checklist.h"
diff -u -r -N squid-3.2.0.14/src/acl/HttpStatus.cc squid-3.2.0.15/src/acl/HttpStatus.cc
--- squid-3.2.0.14/src/acl/HttpStatus.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/src/acl/HttpStatus.cc 2012-02-06 04:52:31.000000000 +1300
@@ -34,11 +34,11 @@
* Copyright (c) 2003, Robert Collins
*/
-#include "config.h"
+#include "squid.h"
#if _SQUID_CYGWIN_
#include
#endif
-#include "squid.h"
+#include "squid-old.h"
#include "acl/HttpStatus.h"
#include "acl/FilledChecklist.h"
diff -u -r -N squid-3.2.0.14/src/acl/IntRange.cc squid-3.2.0.15/src/acl/IntRange.cc
--- squid-3.2.0.14/src/acl/IntRange.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/src/acl/IntRange.cc 2012-02-06 04:52:31.000000000 +1300
@@ -34,7 +34,7 @@
* Copyright (c) 2003, Robert Collins
*/
-#include "squid.h"
+#include "squid-old.h"
#include "acl/IntRange.h"
#include "wordlist.h"
#include "Parsing.h"
diff -u -r -N squid-3.2.0.14/src/acl/Ip.cc squid-3.2.0.15/src/acl/Ip.cc
--- squid-3.2.0.14/src/acl/Ip.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/src/acl/Ip.cc 2012-02-06 04:52:31.000000000 +1300
@@ -33,7 +33,7 @@
* Copyright (c) 2003, Robert Collins
*/
-#include "squid.h"
+#include "squid-old.h"
//#include "compat/getaddrinfo.h"
#include "acl/Ip.h"
#include "acl/Checklist.h"
diff -u -r -N squid-3.2.0.14/src/acl/MaxConnection.cc squid-3.2.0.15/src/acl/MaxConnection.cc
--- squid-3.2.0.14/src/acl/MaxConnection.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/src/acl/MaxConnection.cc 2012-02-06 04:52:31.000000000 +1300
@@ -34,7 +34,7 @@
* Copyright (c) 2003, Robert Collins
*/
-#include "squid.h"
+#include "squid-old.h"
#include "acl/FilledChecklist.h"
#include "acl/MaxConnection.h"
#include "wordlist.h"
diff -u -r -N squid-3.2.0.14/src/acl/Method.cc squid-3.2.0.15/src/acl/Method.cc
--- squid-3.2.0.14/src/acl/Method.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/src/acl/Method.cc 2012-02-06 04:52:31.000000000 +1300
@@ -33,7 +33,7 @@
* Copyright (c) 2003, Robert Collins
*/
-#include "squid.h"
+#include "squid-old.h"
#include "acl/Method.h"
#include "acl/MethodData.h"
#include "acl/Checklist.h"
diff -u -r -N squid-3.2.0.14/src/acl/MethodData.cc squid-3.2.0.15/src/acl/MethodData.cc
--- squid-3.2.0.14/src/acl/MethodData.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/src/acl/MethodData.cc 2012-02-06 04:52:31.000000000 +1300
@@ -34,7 +34,7 @@
* Copyright (c) 2003, Robert Collins
*/
-#include "squid.h"
+#include "squid-old.h"
#include "acl/MethodData.h"
#include "acl/Checklist.h"
#include "HttpRequestMethod.h"
diff -u -r -N squid-3.2.0.14/src/acl/MyIp.cc squid-3.2.0.15/src/acl/MyIp.cc
--- squid-3.2.0.14/src/acl/MyIp.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/src/acl/MyIp.cc 2012-02-06 04:52:31.000000000 +1300
@@ -33,9 +33,9 @@
* Copyright (c) 2003, Robert Collins
*/
-#include "squid.h"
-#include "acl/MyIp.h"
+#include "squid-old.h"
#include "acl/FilledChecklist.h"
+#include "acl/MyIp.h"
char const *
ACLMyIP::typeString() const
diff -u -r -N squid-3.2.0.14/src/acl/MyPort.cc squid-3.2.0.15/src/acl/MyPort.cc
--- squid-3.2.0.14/src/acl/MyPort.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/src/acl/MyPort.cc 2012-02-06 04:52:31.000000000 +1300
@@ -33,10 +33,10 @@
* Copyright (c) 2003, Robert Collins
*/
-#include "squid.h"
-#include "acl/MyPort.h"
+#include "squid-old.h"
#include "acl/IntRange.h"
#include "acl/Checklist.h"
+#include "acl/MyPort.h"
int
ACLMyPortStrategy::match (ACLData * &data, ACLFilledChecklist *checklist)
diff -u -r -N squid-3.2.0.14/src/acl/MyPortName.cc squid-3.2.0.15/src/acl/MyPortName.cc
--- squid-3.2.0.14/src/acl/MyPortName.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/src/acl/MyPortName.cc 2012-02-06 04:52:31.000000000 +1300
@@ -33,7 +33,7 @@
* Copyright (c) 2003, Robert Collins
*/
-#include "squid.h"
+#include "squid-old.h"
#include "ProtoPort.h"
#include "acl/MyPortName.h"
#include "acl/StringData.h"
diff -u -r -N squid-3.2.0.14/src/acl/PeerName.cc squid-3.2.0.15/src/acl/PeerName.cc
--- squid-3.2.0.14/src/acl/PeerName.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/src/acl/PeerName.cc 2012-02-06 04:52:31.000000000 +1300
@@ -1,4 +1,4 @@
-#include "squid.h"
+#include "squid-old.h"
#include "acl/PeerName.h"
#include "acl/StringData.h"
#include "acl/Checklist.h"
diff -u -r -N squid-3.2.0.14/src/acl/Protocol.cc squid-3.2.0.15/src/acl/Protocol.cc
--- squid-3.2.0.14/src/acl/Protocol.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/src/acl/Protocol.cc 2012-02-06 04:52:31.000000000 +1300
@@ -33,7 +33,7 @@
* Copyright (c) 2003, Robert Collins
*/
-#include "squid.h"
+#include "squid-old.h"
#include "acl/Protocol.h"
#include "acl/ProtocolData.h"
#include "acl/Checklist.h"
diff -u -r -N squid-3.2.0.14/src/acl/ProtocolData.cc squid-3.2.0.15/src/acl/ProtocolData.cc
--- squid-3.2.0.14/src/acl/ProtocolData.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/src/acl/ProtocolData.cc 2012-02-06 04:52:31.000000000 +1300
@@ -34,7 +34,7 @@
* Copyright (c) 2003, Robert Collins
*/
-#include "squid.h"
+#include "squid-old.h"
#include "acl/ProtocolData.h"
#include "acl/Checklist.h"
#include "URLScheme.h"
diff -u -r -N squid-3.2.0.14/src/acl/Random.cc squid-3.2.0.15/src/acl/Random.cc
--- squid-3.2.0.14/src/acl/Random.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/src/acl/Random.cc 2012-02-06 04:52:31.000000000 +1300
@@ -32,7 +32,7 @@
* Copyright (c) 2003, Robert Collins
*/
-#include "squid.h"
+#include "squid-old.h"
#include "acl/FilledChecklist.h"
#include "acl/Random.h"
diff -u -r -N squid-3.2.0.14/src/acl/Referer.cc squid-3.2.0.15/src/acl/Referer.cc
--- squid-3.2.0.14/src/acl/Referer.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/src/acl/Referer.cc 2012-02-06 04:52:31.000000000 +1300
@@ -34,7 +34,7 @@
* Copyright (c) 2003, Robert Collins
*/
-#include "squid.h"
+#include "squid-old.h"
#include "acl/Referer.h"
#include "acl/Checklist.h"
#include "acl/RegexData.h"
diff -u -r -N squid-3.2.0.14/src/acl/RegexData.cc squid-3.2.0.15/src/acl/RegexData.cc
--- squid-3.2.0.14/src/acl/RegexData.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/src/acl/RegexData.cc 2012-02-06 04:52:31.000000000 +1300
@@ -36,7 +36,7 @@
* Copyright (c) 2011, Marcus Kool
*/
-#include "squid.h"
+#include "squid-old.h"
#include "acl/RegexData.h"
#include "acl/Checklist.h"
#include "acl/Acl.h"
diff -u -r -N squid-3.2.0.14/src/acl/ReplyMimeType.cc squid-3.2.0.15/src/acl/ReplyMimeType.cc
--- squid-3.2.0.14/src/acl/ReplyMimeType.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/src/acl/ReplyMimeType.cc 2012-02-06 04:52:31.000000000 +1300
@@ -34,7 +34,7 @@
* Copyright (c) 2003, Robert Collins
*/
-#include "squid.h"
+#include "squid-old.h"
#include "acl/ReplyMimeType.h"
#include "acl/Checklist.h"
#include "acl/RegexData.h"
diff -u -r -N squid-3.2.0.14/src/acl/RequestMimeType.cc squid-3.2.0.15/src/acl/RequestMimeType.cc
--- squid-3.2.0.14/src/acl/RequestMimeType.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/src/acl/RequestMimeType.cc 2012-02-06 04:52:31.000000000 +1300
@@ -34,7 +34,7 @@
* Copyright (c) 2003, Robert Collins
*/
-#include "squid.h"
+#include "squid-old.h"
#include "acl/RequestMimeType.h"
#include "acl/Checklist.h"
#include "acl/RegexData.h"
diff -u -r -N squid-3.2.0.14/src/acl/SourceDomain.cc squid-3.2.0.15/src/acl/SourceDomain.cc
--- squid-3.2.0.14/src/acl/SourceDomain.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/src/acl/SourceDomain.cc 2012-02-06 04:52:31.000000000 +1300
@@ -34,7 +34,7 @@
* Copyright (c) 2003, Robert Collins
*/
-#include "squid.h"
+#include "squid-old.h"
#include "acl/SourceDomain.h"
#include "acl/Checklist.h"
#include "acl/RegexData.h"
diff -u -r -N squid-3.2.0.14/src/acl/SourceIp.cc squid-3.2.0.15/src/acl/SourceIp.cc
--- squid-3.2.0.14/src/acl/SourceIp.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/src/acl/SourceIp.cc 2012-02-06 04:52:31.000000000 +1300
@@ -33,7 +33,7 @@
* Copyright (c) 2003, Robert Collins
*/
-#include "squid.h"
+#include "squid-old.h"
#include "acl/SourceIp.h"
#include "acl/FilledChecklist.h"
diff -u -r -N squid-3.2.0.14/src/acl/SslError.cc squid-3.2.0.15/src/acl/SslError.cc
--- squid-3.2.0.14/src/acl/SslError.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/src/acl/SslError.cc 2012-02-06 04:52:31.000000000 +1300
@@ -3,7 +3,7 @@
* $Id$
*/
-#include "squid.h"
+#include "squid-old.h"
#include "acl/SslError.h"
#include "acl/SslErrorData.h"
#include "acl/Checklist.h"
diff -u -r -N squid-3.2.0.14/src/acl/SslErrorData.cc squid-3.2.0.15/src/acl/SslErrorData.cc
--- squid-3.2.0.14/src/acl/SslErrorData.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/src/acl/SslErrorData.cc 2012-02-06 04:52:31.000000000 +1300
@@ -2,7 +2,7 @@
* $Id$
*/
-#include "squid.h"
+#include "squid-old.h"
#include "acl/SslErrorData.h"
#include "acl/Checklist.h"
#include "wordlist.h"
diff -u -r -N squid-3.2.0.14/src/acl/Strategised.cc squid-3.2.0.15/src/acl/Strategised.cc
--- squid-3.2.0.14/src/acl/Strategised.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/src/acl/Strategised.cc 2012-02-06 04:52:31.000000000 +1300
@@ -34,7 +34,7 @@
* Copyright (c) 2003, Robert Collins
*/
-#include "squid.h"
+#include "squid-old.h"
#include "acl/Strategised.h"
/*
diff -u -r -N squid-3.2.0.14/src/acl/StringData.cc squid-3.2.0.15/src/acl/StringData.cc
--- squid-3.2.0.14/src/acl/StringData.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/src/acl/StringData.cc 2012-02-06 04:52:31.000000000 +1300
@@ -34,7 +34,7 @@
* Copyright (c) 2003, Robert Collins
*/
-#include "squid.h"
+#include "squid-old.h"
#include "acl/StringData.h"
#include "acl/Checklist.h"
#include "wordlist.h"
diff -u -r -N squid-3.2.0.14/src/acl/Tag.cc squid-3.2.0.15/src/acl/Tag.cc
--- squid-3.2.0.14/src/acl/Tag.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/src/acl/Tag.cc 2012-02-06 04:52:31.000000000 +1300
@@ -34,7 +34,7 @@
* Copyright (c) 2009, Henrik Nordstrom
*/
-#include "squid.h"
+#include "squid-old.h"
#include "acl/Tag.h"
#include "acl/StringData.h"
#include "acl/Checklist.h"
diff -u -r -N squid-3.2.0.14/src/acl/Time.cc squid-3.2.0.15/src/acl/Time.cc
--- squid-3.2.0.14/src/acl/Time.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/src/acl/Time.cc 2012-02-06 04:52:31.000000000 +1300
@@ -34,7 +34,7 @@
* Copyright (c) 2003, Robert Collins
*/
-#include "squid.h"
+#include "squid-old.h"
#include "acl/Time.h"
#include "acl/TimeData.h"
#include "SquidTime.h"
diff -u -r -N squid-3.2.0.14/src/acl/TimeData.cc squid-3.2.0.15/src/acl/TimeData.cc
--- squid-3.2.0.14/src/acl/TimeData.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/src/acl/TimeData.cc 2012-02-06 04:52:31.000000000 +1300
@@ -34,7 +34,7 @@
* Copyright (c) 2003, Robert Collins
*/
-#include "squid.h"
+#include "squid-old.h"
#include "acl/TimeData.h"
#include "acl/Checklist.h"
#include "wordlist.h"
diff -u -r -N squid-3.2.0.14/src/acl/Url.cc squid-3.2.0.15/src/acl/Url.cc
--- squid-3.2.0.14/src/acl/Url.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/src/acl/Url.cc 2012-02-06 04:52:31.000000000 +1300
@@ -34,7 +34,7 @@
* Copyright (c) 2003, Robert Collins
*/
-#include "squid.h"
+#include "squid-old.h"
#include "acl/Url.h"
#include "acl/Checklist.h"
#include "acl/RegexData.h"
diff -u -r -N squid-3.2.0.14/src/acl/UrlPath.cc squid-3.2.0.15/src/acl/UrlPath.cc
--- squid-3.2.0.14/src/acl/UrlPath.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/src/acl/UrlPath.cc 2012-02-06 04:52:31.000000000 +1300
@@ -34,7 +34,7 @@
* Copyright (c) 2003, Robert Collins
*/
-#include "squid.h"
+#include "squid-old.h"
#include "acl/UrlPath.h"
#include "acl/Checklist.h"
#include "acl/RegexData.h"
diff -u -r -N squid-3.2.0.14/src/acl/UrlPort.cc squid-3.2.0.15/src/acl/UrlPort.cc
--- squid-3.2.0.14/src/acl/UrlPort.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/src/acl/UrlPort.cc 2012-02-06 04:52:31.000000000 +1300
@@ -33,7 +33,7 @@
* Copyright (c) 2003, Robert Collins
*/
-#include "squid.h"
+#include "squid-old.h"
#include "acl/UrlPort.h"
#include "acl/IntRange.h"
#include "acl/Checklist.h"
diff -u -r -N squid-3.2.0.14/src/acl/UserData.cc squid-3.2.0.15/src/acl/UserData.cc
--- squid-3.2.0.14/src/acl/UserData.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/src/acl/UserData.cc 2012-02-06 04:52:31.000000000 +1300
@@ -34,7 +34,7 @@
* Copyright (c) 2003, Robert Collins
*/
-#include "squid.h"
+#include "squid-old.h"
#include "acl/UserData.h"
#include "acl/Checklist.h"
#include "wordlist.h"
diff -u -r -N squid-3.2.0.14/src/AclRegs.cc squid-3.2.0.15/src/AclRegs.cc
--- squid-3.2.0.14/src/AclRegs.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/src/AclRegs.cc 2012-02-06 04:52:31.000000000 +1300
@@ -1,4 +1,4 @@
-#include "squid.h"
+#include "squid-old.h"
/** This file exists to provide satic registration code to executables
that need ACLs. We cannot place this code in acl/lib*.la because it
diff -u -r -N squid-3.2.0.14/src/adaptation/AccessCheck.cc squid-3.2.0.15/src/adaptation/AccessCheck.cc
--- squid-3.2.0.14/src/adaptation/AccessCheck.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/src/adaptation/AccessCheck.cc 2012-02-06 04:52:31.000000000 +1300
@@ -1,4 +1,4 @@
-#include "squid.h"
+#include "squid-old.h"
#include "structs.h"
#include "ConfigParser.h"
diff -u -r -N squid-3.2.0.14/src/adaptation/AccessRule.cc squid-3.2.0.15/src/adaptation/AccessRule.cc
--- squid-3.2.0.14/src/adaptation/AccessRule.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/src/adaptation/AccessRule.cc 2012-02-06 04:52:31.000000000 +1300
@@ -1,4 +1,4 @@
-#include "squid.h"
+#include "squid-old.h"
#include "structs.h"
#include "ConfigParser.h"
diff -u -r -N squid-3.2.0.14/src/adaptation/Answer.cc squid-3.2.0.15/src/adaptation/Answer.cc
--- squid-3.2.0.14/src/adaptation/Answer.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/src/adaptation/Answer.cc 2012-02-06 04:52:31.000000000 +1300
@@ -2,7 +2,7 @@
* DEBUG: section 93 ICAP (RFC 3507) Client
*/
-#include "config.h"
+#include "squid.h"
#include "adaptation/Answer.h"
#include "base/AsyncJobCalls.h"
diff -u -r -N squid-3.2.0.14/src/adaptation/Config.cc squid-3.2.0.15/src/adaptation/Config.cc
--- squid-3.2.0.14/src/adaptation/Config.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/src/adaptation/Config.cc 2012-02-06 04:52:31.000000000 +1300
@@ -30,7 +30,7 @@
*
*/
-#include "squid.h"
+#include "squid-old.h"
#include "structs.h"
#include "ConfigParser.h"
diff -u -r -N squid-3.2.0.14/src/adaptation/DynamicGroupCfg.cc squid-3.2.0.15/src/adaptation/DynamicGroupCfg.cc
--- squid-3.2.0.14/src/adaptation/DynamicGroupCfg.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/src/adaptation/DynamicGroupCfg.cc 2012-02-06 04:52:31.000000000 +1300
@@ -1,4 +1,4 @@
-#include "config.h"
+#include "squid.h"
#include "adaptation/DynamicGroupCfg.h"
diff -u -r -N squid-3.2.0.14/src/adaptation/ecap/Config.cc squid-3.2.0.15/src/adaptation/ecap/Config.cc
--- squid-3.2.0.14/src/adaptation/ecap/Config.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/src/adaptation/ecap/Config.cc 2012-02-06 04:52:31.000000000 +1300
@@ -2,7 +2,7 @@
* $Id$
* DEBUG: section 93 eCAP Interface
*/
-#include "squid.h"
+#include "squid-old.h"
#include "adaptation/ecap/Host.h"
#include "adaptation/ecap/ServiceRep.h"
diff -u -r -N squid-3.2.0.14/src/adaptation/ecap/Host.cc squid-3.2.0.15/src/adaptation/ecap/Host.cc
--- squid-3.2.0.14/src/adaptation/ecap/Host.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/src/adaptation/ecap/Host.cc 2012-02-06 04:52:31.000000000 +1300
@@ -1,7 +1,7 @@
/*
* DEBUG: section 93 eCAP Interface
*/
-#include "squid.h"
+#include "squid-old.h"
#include
#include
#include
diff -u -r -N squid-3.2.0.14/src/adaptation/ecap/MessageRep.cc squid-3.2.0.15/src/adaptation/ecap/MessageRep.cc
--- squid-3.2.0.14/src/adaptation/ecap/MessageRep.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/src/adaptation/ecap/MessageRep.cc 2012-02-06 04:52:31.000000000 +1300
@@ -1,7 +1,7 @@
/*
* DEBUG: section 93 eCAP Interface
*/
-#include "squid.h"
+#include "squid-old.h"
#include "HttpRequest.h"
#include "HttpReply.h"
#include "BodyPipe.h"
diff -u -r -N squid-3.2.0.14/src/adaptation/ecap/ServiceRep.cc squid-3.2.0.15/src/adaptation/ecap/ServiceRep.cc
--- squid-3.2.0.14/src/adaptation/ecap/ServiceRep.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/src/adaptation/ecap/ServiceRep.cc 2012-02-06 04:52:31.000000000 +1300
@@ -1,7 +1,7 @@
/*
* DEBUG: section 93 eCAP Interface
*/
-#include "squid.h"
+#include "squid-old.h"
#include
#include
#include
diff -u -r -N squid-3.2.0.14/src/adaptation/ecap/XactionRep.cc squid-3.2.0.15/src/adaptation/ecap/XactionRep.cc
--- squid-3.2.0.14/src/adaptation/ecap/XactionRep.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/src/adaptation/ecap/XactionRep.cc 2012-02-06 04:52:31.000000000 +1300
@@ -1,7 +1,7 @@
/*
* DEBUG: section 93 eCAP Interface
*/
-#include "squid.h"
+#include "squid-old.h"
#include
#include
#include
diff -u -r -N squid-3.2.0.14/src/adaptation/Elements.cc squid-3.2.0.15/src/adaptation/Elements.cc
--- squid-3.2.0.14/src/adaptation/Elements.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/src/adaptation/Elements.cc 2012-02-06 04:52:31.000000000 +1300
@@ -1,4 +1,4 @@
-#include "squid.h"
+#include "squid-old.h"
#include "adaptation/Elements.h"
const char *Adaptation::crlf = "\r\n";
diff -u -r -N squid-3.2.0.14/src/adaptation/History.cc squid-3.2.0.15/src/adaptation/History.cc
--- squid-3.2.0.14/src/adaptation/History.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/src/adaptation/History.cc 2012-02-06 04:52:31.000000000 +1300
@@ -1,4 +1,4 @@
-#include "config.h"
+#include "squid.h"
#include "adaptation/Config.h"
#include "adaptation/History.h"
#include "base/TextException.h"
diff -u -r -N squid-3.2.0.14/src/adaptation/icap/Client.cc squid-3.2.0.15/src/adaptation/icap/Client.cc
--- squid-3.2.0.14/src/adaptation/icap/Client.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/src/adaptation/icap/Client.cc 2012-02-06 04:52:31.000000000 +1300
@@ -1,4 +1,4 @@
-#include "squid.h"
+#include "squid-old.h"
#include "adaptation/icap/Client.h"
void Adaptation::Icap::InitModule()
diff -u -r -N squid-3.2.0.14/src/adaptation/icap/Config.cc squid-3.2.0.15/src/adaptation/icap/Config.cc
--- squid-3.2.0.14/src/adaptation/icap/Config.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/src/adaptation/icap/Config.cc 2012-02-06 04:52:31.000000000 +1300
@@ -32,7 +32,7 @@
* Copyright (c) 2003, Robert Collins
*/
-#include "squid.h"
+#include "squid-old.h"
#include "ConfigParser.h"
#include "Store.h"
diff -u -r -N squid-3.2.0.14/src/adaptation/icap/Elements.cc squid-3.2.0.15/src/adaptation/icap/Elements.cc
--- squid-3.2.0.14/src/adaptation/icap/Elements.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/src/adaptation/icap/Elements.cc 2012-02-06 04:52:31.000000000 +1300
@@ -1,4 +1,4 @@
-#include "squid.h"
+#include "squid-old.h"
#include "adaptation/icap/Elements.h"
// TODO: remove this file?
diff -u -r -N squid-3.2.0.14/src/adaptation/icap/History.cc squid-3.2.0.15/src/adaptation/icap/History.cc
--- squid-3.2.0.14/src/adaptation/icap/History.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/src/adaptation/icap/History.cc 2012-02-06 04:52:31.000000000 +1300
@@ -1,4 +1,4 @@
-#include "squid.h"
+#include "squid-old.h"
#include "adaptation/icap/History.h"
#include "globals.h"
#include "SquidTime.h"
diff -u -r -N squid-3.2.0.14/src/adaptation/icap/icap_log.cc squid-3.2.0.15/src/adaptation/icap/icap_log.cc
--- squid-3.2.0.14/src/adaptation/icap/icap_log.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/src/adaptation/icap/icap_log.cc 2012-02-06 04:52:31.000000000 +1300
@@ -1,4 +1,4 @@
-#include "squid.h"
+#include "squid-old.h"
#include "icap_log.h"
#include "AccessLogEntry.h"
#include "log/File.h"
diff -u -r -N squid-3.2.0.14/src/adaptation/icap/Launcher.cc squid-3.2.0.15/src/adaptation/icap/Launcher.cc
--- squid-3.2.0.14/src/adaptation/icap/Launcher.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/src/adaptation/icap/Launcher.cc 2012-02-06 04:52:31.000000000 +1300
@@ -2,7 +2,7 @@
* DEBUG: section 93 ICAP (RFC 3507) Client
*/
-#include "squid.h"
+#include "squid-old.h"
#include "acl/FilledChecklist.h"
#include "adaptation/Answer.h"
#include "adaptation/icap/Launcher.h"
diff -u -r -N squid-3.2.0.14/src/adaptation/icap/ModXact.cc squid-3.2.0.15/src/adaptation/icap/ModXact.cc
--- squid-3.2.0.14/src/adaptation/icap/ModXact.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/src/adaptation/icap/ModXact.cc 2012-02-06 04:52:31.000000000 +1300
@@ -2,7 +2,7 @@
* DEBUG: section 93 ICAP (RFC 3507) Client
*/
-#include "squid.h"
+#include "squid-old.h"
#include "AccessLogEntry.h"
#include "adaptation/Answer.h"
#include "adaptation/History.h"
@@ -945,10 +945,8 @@
Must(!adapted.header);
{
HttpMsg::Pointer newHead;
- if (const HttpRequest *oldR = dynamic_cast(oldHead)) {
+ if (dynamic_cast(oldHead)) {
HttpRequest::Pointer newR(new HttpRequest);
- newR->canonical = oldR->canonical ?
- xstrdup(oldR->canonical) : NULL; // parse() does not set it
newHead = newR;
} else if (dynamic_cast(oldHead)) {
newHead = new HttpReply;
@@ -965,6 +963,9 @@
Must(adapted.header->parse(&httpBuf, true, &error));
+ if (HttpRequest *r = dynamic_cast(adapted.header))
+ urlCanonical(r); // parse does not set HttpRequest::canonical
+
Must(adapted.header->hdr_sz == httpBuf.contentSize()); // no leftovers
httpBuf.clean();
diff -u -r -N squid-3.2.0.14/src/adaptation/icap/Options.cc squid-3.2.0.15/src/adaptation/icap/Options.cc
--- squid-3.2.0.14/src/adaptation/icap/Options.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/src/adaptation/icap/Options.cc 2012-02-06 04:52:31.000000000 +1300
@@ -1,4 +1,4 @@
-#include "squid.h"
+#include "squid-old.h"
#include "adaptation/icap/Config.h"
#include "adaptation/icap/Options.h"
#include "base/TextException.h"
diff -u -r -N squid-3.2.0.14/src/adaptation/icap/Options.h squid-3.2.0.15/src/adaptation/icap/Options.h
--- squid-3.2.0.14/src/adaptation/icap/Options.h 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/src/adaptation/icap/Options.h 2012-02-06 04:52:31.000000000 +1300
@@ -34,7 +34,7 @@
#ifndef SQUID_ICAPOPTIONS_H
#define SQUID_ICAPOPTIONS_H
-#include "squid.h"
+#include "squid-old.h"
#include "adaptation/icap/ServiceRep.h"
class wordlist;
diff -u -r -N squid-3.2.0.14/src/adaptation/icap/OptXact.cc squid-3.2.0.15/src/adaptation/icap/OptXact.cc
--- squid-3.2.0.14/src/adaptation/icap/OptXact.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/src/adaptation/icap/OptXact.cc 2012-02-06 04:52:31.000000000 +1300
@@ -2,7 +2,7 @@
* DEBUG: section 93 ICAP (RFC 3507) Client
*/
-#include "squid.h"
+#include "squid-old.h"
#include "comm.h"
#include "HttpReply.h"
diff -u -r -N squid-3.2.0.14/src/adaptation/icap/ServiceRep.cc squid-3.2.0.15/src/adaptation/icap/ServiceRep.cc
--- squid-3.2.0.14/src/adaptation/icap/ServiceRep.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/src/adaptation/icap/ServiceRep.cc 2012-02-06 04:52:31.000000000 +1300
@@ -2,7 +2,7 @@
* DEBUG: section 93 ICAP (RFC 3507) Client
*/
-#include "squid.h"
+#include "squid-old.h"
#include "adaptation/Answer.h"
#include "adaptation/icap/Config.h"
#include "adaptation/icap/ModXact.h"
diff -u -r -N squid-3.2.0.14/src/adaptation/icap/Xaction.cc squid-3.2.0.15/src/adaptation/icap/Xaction.cc
--- squid-3.2.0.14/src/adaptation/icap/Xaction.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/src/adaptation/icap/Xaction.cc 2012-02-06 04:52:31.000000000 +1300
@@ -2,7 +2,7 @@
* DEBUG: section 93 ICAP (RFC 3507) Client
*/
-#include "squid.h"
+#include "squid-old.h"
#include "comm.h"
#include "comm/Connection.h"
#include "comm/ConnOpener.h"
@@ -234,8 +234,7 @@
typedef CommCbMemFunT TimeoutDialer;
AsyncCall::Pointer timeoutCall = asyncCall(93, 5, "Adaptation::Icap::Xaction::noteCommTimedout",
TimeoutDialer(this,&Adaptation::Icap::Xaction::noteCommTimedout));
- commSetTimeout(io.conn->fd, TheConfig.connect_timeout(
- service().cfg().bypass), timeoutCall);
+ commSetConnTimeout(io.conn, TheConfig.connect_timeout(service().cfg().bypass), timeoutCall);
typedef CommCbMemFunT CloseDialer;
closer = asyncCall(93, 5, "Adaptation::Icap::Xaction::noteCommClosed",
diff -u -r -N squid-3.2.0.14/src/adaptation/Initiate.cc squid-3.2.0.15/src/adaptation/Initiate.cc
--- squid-3.2.0.14/src/adaptation/Initiate.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/src/adaptation/Initiate.cc 2012-02-06 04:52:31.000000000 +1300
@@ -2,7 +2,7 @@
* DEBUG: section 93 ICAP (RFC 3507) Client
*/
-#include "squid.h"
+#include "squid-old.h"
#include "HttpMsg.h"
#include "adaptation/Answer.h"
#include "adaptation/Initiator.h"
diff -u -r -N squid-3.2.0.14/src/adaptation/Initiator.cc squid-3.2.0.15/src/adaptation/Initiator.cc
--- squid-3.2.0.14/src/adaptation/Initiator.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/src/adaptation/Initiator.cc 2012-02-06 04:52:31.000000000 +1300
@@ -2,7 +2,7 @@
* DEBUG: section 93 ICAP (RFC 3507) Client
*/
-#include "squid.h"
+#include "squid-old.h"
#include "adaptation/Initiate.h"
#include "adaptation/Initiator.h"
#include "base/AsyncJobCalls.h"
diff -u -r -N squid-3.2.0.14/src/adaptation/Iterator.cc squid-3.2.0.15/src/adaptation/Iterator.cc
--- squid-3.2.0.14/src/adaptation/Iterator.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/src/adaptation/Iterator.cc 2012-02-06 04:52:31.000000000 +1300
@@ -2,7 +2,7 @@
* DEBUG: section 93 Adaptation
*/
-#include "squid.h"
+#include "squid-old.h"
#include "adaptation/Answer.h"
#include "adaptation/Config.h"
#include "adaptation/Iterator.h"
diff -u -r -N squid-3.2.0.14/src/adaptation/Message.cc squid-3.2.0.15/src/adaptation/Message.cc
--- squid-3.2.0.14/src/adaptation/Message.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/src/adaptation/Message.cc 2012-02-06 04:52:31.000000000 +1300
@@ -2,7 +2,7 @@
* DEBUG: section 93 Adaptation
*/
-#include "squid.h"
+#include "squid-old.h"
#include "adaptation/Message.h"
#include "base/TextException.h"
#include "HttpMsg.h"
diff -u -r -N squid-3.2.0.14/src/adaptation/Service.cc squid-3.2.0.15/src/adaptation/Service.cc
--- squid-3.2.0.14/src/adaptation/Service.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/src/adaptation/Service.cc 2012-02-06 04:52:31.000000000 +1300
@@ -2,7 +2,7 @@
* DEBUG: section 93 Adaptation
*/
-#include "squid.h"
+#include "squid-old.h"
#include "HttpRequest.h"
#include "adaptation/ServiceFilter.h"
#include "adaptation/Service.h"
diff -u -r -N squid-3.2.0.14/src/adaptation/ServiceConfig.cc squid-3.2.0.15/src/adaptation/ServiceConfig.cc
--- squid-3.2.0.14/src/adaptation/ServiceConfig.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/src/adaptation/ServiceConfig.cc 2012-02-06 04:52:31.000000000 +1300
@@ -2,7 +2,7 @@
* DEBUG: section 93 Adaptation
*/
-#include "squid.h"
+#include "squid-old.h"
#include "ConfigParser.h"
#include "adaptation/ServiceConfig.h"
#include "ip/tools.h"
diff -u -r -N squid-3.2.0.14/src/adaptation/ServiceFilter.cc squid-3.2.0.15/src/adaptation/ServiceFilter.cc
--- squid-3.2.0.14/src/adaptation/ServiceFilter.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/src/adaptation/ServiceFilter.cc 2012-02-06 04:52:31.000000000 +1300
@@ -1,4 +1,4 @@
-#include "squid.h"
+#include "squid-old.h"
#include "HttpRequest.h"
#include "HttpReply.h"
#include "adaptation/ServiceFilter.h"
diff -u -r -N squid-3.2.0.14/src/adaptation/ServiceGroups.cc squid-3.2.0.15/src/adaptation/ServiceGroups.cc
--- squid-3.2.0.14/src/adaptation/ServiceGroups.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/src/adaptation/ServiceGroups.cc 2012-02-06 04:52:31.000000000 +1300
@@ -1,4 +1,4 @@
-#include "squid.h"
+#include "squid-old.h"
#include "ConfigParser.h"
#include "adaptation/Config.h"
diff -u -r -N squid-3.2.0.14/src/anyp/ProtocolType.cc squid-3.2.0.15/src/anyp/ProtocolType.cc
--- squid-3.2.0.14/src/anyp/ProtocolType.cc 2011-12-13 01:29:22.000000000 +1300
+++ squid-3.2.0.15/src/anyp/ProtocolType.cc 2012-02-06 06:02:41.000000000 +1300
@@ -1,7 +1,7 @@
/*
* Auto-Generated File. Changes will be destroyed.
*/
-#include "config.h"
+#include "squid.h"
#include "anyp/ProtocolType.h"
namespace AnyP
{
diff -u -r -N squid-3.2.0.14/src/AsyncEngine.cc squid-3.2.0.15/src/AsyncEngine.cc
--- squid-3.2.0.14/src/AsyncEngine.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/src/AsyncEngine.cc 2012-02-06 04:52:31.000000000 +1300
@@ -31,5 +31,5 @@
*
*/
-#include "config.h"
+#include "squid.h"
#include "AsyncEngine.h"
diff -u -r -N squid-3.2.0.14/src/AsyncEngine.h squid-3.2.0.15/src/AsyncEngine.h
--- squid-3.2.0.14/src/AsyncEngine.h 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/src/AsyncEngine.h 2012-02-06 04:52:31.000000000 +1300
@@ -34,7 +34,7 @@
#ifndef SQUID_ASYNCENGINE_H
#define SQUID_ASYNCENGINE_H
-#include "squid.h"
+#include "squid-old.h"
/* Abstract interface for async engines which an event loop can utilise.
diff -u -r -N squid-3.2.0.14/src/auth/Acl.cc squid-3.2.0.15/src/auth/Acl.cc
--- squid-3.2.0.14/src/auth/Acl.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/src/auth/Acl.cc 2012-02-06 04:52:31.000000000 +1300
@@ -1,4 +1,4 @@
-#include "squid.h"
+#include "squid-old.h"
#include "acl/Acl.h"
#include "acl/FilledChecklist.h"
#include "auth/UserRequest.h"
@@ -19,6 +19,13 @@
if (NULL == request) {
fatal ("requiresRequest SHOULD have been true for this ACL!!");
return 0;
+ } else if (request->flags.sslBumped) {
+ debugs(28, 5, "SslBumped request: It is an encapsulated request do not authenticate");
+ checklist->auth_user_request = checklist->conn() != NULL ? checklist->conn()->auth_user_request : request->auth_user_request;
+ if (checklist->auth_user_request != NULL)
+ return 1;
+ else
+ return 0;
} else if (request->flags.accelerated) {
/* WWW authorization on accelerated requests */
headertype = HDR_AUTHORIZATION;
@@ -32,7 +39,7 @@
/* get authed here */
/* Note: this fills in auth_user_request when applicable */
- const AuthAclState result = AuthUserRequest::tryToAuthenticateAndSetAuthUser(
+ const AuthAclState result = Auth::UserRequest::tryToAuthenticateAndSetAuthUser(
&checklist->auth_user_request, headertype, request,
checklist->conn(), checklist->src_addr);
switch (result) {
diff -u -r -N squid-3.2.0.14/src/auth/AclMaxUserIp.cc squid-3.2.0.15/src/auth/AclMaxUserIp.cc
--- squid-3.2.0.14/src/auth/AclMaxUserIp.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/src/auth/AclMaxUserIp.cc 2012-02-06 04:52:31.000000000 +1300
@@ -34,7 +34,7 @@
* Copyright (c) 2003, Robert Collins
*/
-#include "squid.h"
+#include "squid-old.h"
#include "acl/FilledChecklist.h"
#include "auth/Acl.h"
#include "auth/AclMaxUserIp.h"
@@ -112,7 +112,7 @@
* 1 : Match
*/
int
-ACLMaxUserIP::match(AuthUserRequest::Pointer auth_user_request, Ip::Address const &src_addr)
+ACLMaxUserIP::match(Auth::UserRequest::Pointer auth_user_request, Ip::Address const &src_addr)
{
/*
* the logic for flush the ip list when the limit is hit vs keep
diff -u -r -N squid-3.2.0.14/src/auth/AclMaxUserIp.h squid-3.2.0.15/src/auth/AclMaxUserIp.h
--- squid-3.2.0.14/src/auth/AclMaxUserIp.h 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/src/auth/AclMaxUserIp.h 2012-02-06 04:52:31.000000000 +1300
@@ -70,7 +70,7 @@
static Prototype RegistryProtoype;
static ACLMaxUserIP RegistryEntry_;
- int match(AuthUserRequest::Pointer, Ip::Address const &);
+ int match(Auth::UserRequest::Pointer, Ip::Address const &);
char const *class_;
int maximum;
diff -u -r -N squid-3.2.0.14/src/auth/AclProxyAuth.cc squid-3.2.0.15/src/auth/AclProxyAuth.cc
--- squid-3.2.0.14/src/auth/AclProxyAuth.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/src/auth/AclProxyAuth.cc 2012-02-06 04:52:31.000000000 +1300
@@ -34,7 +34,7 @@
* Copyright (c) 2003, Robert Collins
*/
-#include "squid.h"
+#include "squid-old.h"
#include "auth/AclProxyAuth.h"
#include "auth/Gadgets.h"
#include "acl/FilledChecklist.h"
diff -u -r -N squid-3.2.0.14/src/auth/basic/auth_basic.cc squid-3.2.0.15/src/auth/basic/auth_basic.cc
--- squid-3.2.0.14/src/auth/basic/auth_basic.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/src/auth/basic/auth_basic.cc 2012-02-06 04:52:31.000000000 +1300
@@ -37,7 +37,7 @@
* See acl.c for access control and client_side.c for auditing */
-#include "squid.h"
+#include "squid-old.h"
#include "auth/basic/auth_basic.h"
#include "auth/basic/Scheme.h"
#include "auth/basic/User.h"
@@ -95,7 +95,7 @@
}
void
-Auth::Basic::Config::fixHeader(AuthUserRequest::Pointer auth_user_request, HttpReply *rep, http_hdr_type hdrType, HttpRequest * request)
+Auth::Basic::Config::fixHeader(Auth::UserRequest::Pointer auth_user_request, HttpReply *rep, http_hdr_type hdrType, HttpRequest * request)
{
if (authenticateProgram) {
debugs(29, 9, HERE << "Sending type:" << hdrType << " header: 'Basic realm=\"" << basicAuthRealm << "\"'");
@@ -258,10 +258,10 @@
* "cannot decode credentials". Use the message field to return a
* descriptive message to the user.
*/
-AuthUserRequest::Pointer
+Auth::UserRequest::Pointer
Auth::Basic::Config::decode(char const *proxy_auth)
{
- AuthUserRequest::Pointer auth_user_request = dynamic_cast(new AuthBasicUserRequest);
+ Auth::UserRequest::Pointer auth_user_request = dynamic_cast(new Auth::Basic::UserRequest);
/* decode the username */
// retrieve the cleartext (in a dynamically allocated char*)
diff -u -r -N squid-3.2.0.14/src/auth/basic/auth_basic.h squid-3.2.0.15/src/auth/basic/auth_basic.h
--- squid-3.2.0.14/src/auth/basic/auth_basic.h 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/src/auth/basic/auth_basic.h 2012-02-06 04:52:31.000000000 +1300
@@ -19,7 +19,7 @@
public:
BasicAuthQueueNode *next;
- AuthUserRequest::Pointer auth_user_request;
+ Auth::UserRequest::Pointer auth_user_request;
RH *handler;
void *data;
};
@@ -37,14 +37,14 @@
~Config();
virtual bool active() const;
virtual bool configured() const;
- virtual AuthUserRequest::Pointer decode(char const *proxy_auth);
+ virtual Auth::UserRequest::Pointer decode(char const *proxy_auth);
virtual void done();
virtual void rotateHelpers();
virtual void dump(StoreEntry *, const char *, Auth::Config *);
- virtual void fixHeader(AuthUserRequest::Pointer, HttpReply *, http_hdr_type, HttpRequest *);
+ virtual void fixHeader(Auth::UserRequest::Pointer, HttpReply *, http_hdr_type, HttpRequest *);
virtual void init(Auth::Config *);
virtual void parse(Auth::Config *, int, char *);
- void decode(char const *httpAuthHeader, AuthUserRequest::Pointer);
+ void decode(char const *httpAuthHeader, Auth::UserRequest::Pointer);
virtual void registerWithCacheManager(void);
virtual const char * type() const;
diff -u -r -N squid-3.2.0.14/src/auth/basic/Scheme.cc squid-3.2.0.15/src/auth/basic/Scheme.cc
--- squid-3.2.0.14/src/auth/basic/Scheme.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/src/auth/basic/Scheme.cc 2012-02-06 04:52:31.000000000 +1300
@@ -30,7 +30,7 @@
*
*/
-#include "config.h"
+#include "squid.h"
#include "auth/basic/Scheme.h"
#include "helper.h"
diff -u -r -N squid-3.2.0.14/src/auth/basic/User.cc squid-3.2.0.15/src/auth/basic/User.cc
--- squid-3.2.0.14/src/auth/basic/User.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/src/auth/basic/User.cc 2012-02-06 04:52:31.000000000 +1300
@@ -1,4 +1,4 @@
-#include "config.h"
+#include "squid.h"
#include "auth/basic/auth_basic.h"
#include "auth/basic/User.h"
#include "Debug.h"
diff -u -r -N squid-3.2.0.14/src/auth/basic/User.h squid-3.2.0.15/src/auth/basic/User.h
--- squid-3.2.0.14/src/auth/basic/User.h 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/src/auth/basic/User.h 2012-02-06 04:52:31.000000000 +1300
@@ -34,7 +34,7 @@
BasicAuthQueueNode *auth_queue;
private:
- AuthUserRequest::Pointer currentRequest;
+ Auth::UserRequest::Pointer currentRequest;
};
MEMPROXY_CLASS_INLINE(Auth::Basic::User);
diff -u -r -N squid-3.2.0.14/src/auth/basic/UserRequest.cc squid-3.2.0.15/src/auth/basic/UserRequest.cc
--- squid-3.2.0.14/src/auth/basic/UserRequest.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/src/auth/basic/UserRequest.cc 2012-02-06 04:52:31.000000000 +1300
@@ -1,4 +1,4 @@
-#include "config.h"
+#include "squid.h"
#include "auth/basic/auth_basic.h"
#include "auth/basic/User.h"
#include "auth/basic/UserRequest.h"
@@ -12,7 +12,7 @@
#endif
int
-AuthBasicUserRequest::authenticated() const
+Auth::Basic::UserRequest::authenticated() const
{
Auth::Basic::User const *basic_auth = dynamic_cast(user().getRaw());
@@ -25,7 +25,7 @@
/* log a basic user in
*/
void
-AuthBasicUserRequest::authenticate(HttpRequest * request, ConnStateData * conn, http_hdr_type type)
+Auth::Basic::UserRequest::authenticate(HttpRequest * request, ConnStateData * conn, http_hdr_type type)
{
assert(user() != NULL);
@@ -50,9 +50,9 @@
}
Auth::Direction
-AuthBasicUserRequest::module_direction()
+Auth::Basic::UserRequest::module_direction()
{
- /* null auth_user is checked for by AuthUserRequest::direction() */
+ /* null auth_user is checked for by Auth::UserRequest::direction() */
if (user()->auth_type != Auth::AUTH_BASIC)
return Auth::CRED_ERROR;
@@ -77,7 +77,7 @@
/* send the initial data to a basic authenticator module */
void
-AuthBasicUserRequest::module_start(RH * handler, void *data)
+Auth::Basic::UserRequest::module_start(RH * handler, void *data)
{
assert(user()->auth_type == Auth::AUTH_BASIC);
Auth::Basic::User *basic_auth = dynamic_cast(user().getRaw());
@@ -129,12 +129,12 @@
debugs(9, DBG_CRITICAL, "ERROR: Basic Authentication Failure. user:password exceeds " << sizeof(buf) << " bytes.");
handler(data, NULL);
} else
- helperSubmit(basicauthenticators, buf, AuthBasicUserRequest::HandleReply,
+ helperSubmit(basicauthenticators, buf, Auth::Basic::UserRequest::HandleReply,
new Auth::StateData(this, handler, data));
}
void
-AuthBasicUserRequest::HandleReply(void *data, char *reply)
+Auth::Basic::UserRequest::HandleReply(void *data, char *reply)
{
Auth::StateData *r = static_cast(data);
BasicAuthQueueNode *tmpnode;
diff -u -r -N squid-3.2.0.14/src/auth/basic/UserRequest.h squid-3.2.0.15/src/auth/basic/UserRequest.h
--- squid-3.2.0.14/src/auth/basic/UserRequest.h 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/src/auth/basic/UserRequest.h 2012-02-06 04:52:31.000000000 +1300
@@ -1,22 +1,27 @@
#ifndef _SQUID_SRC_AUTH_BASIC_USERREQUEST_H
#define _SQUID_SRC_AUTH_BASIC_USERREQUEST_H
-#include "MemPool.h"
#include "auth/UserRequest.h"
+#include "MemPool.h"
class ConnStateData;
class HttpRequest;
-/* follows the http request around */
+namespace Auth
+{
-class AuthBasicUserRequest : public AuthUserRequest
+namespace Basic
{
+/* follows the http request around */
+
+class UserRequest : public Auth::UserRequest
+{
public:
- MEMPROXY_CLASS(AuthBasicUserRequest);
+ MEMPROXY_CLASS(Auth::Basic::UserRequest);
- AuthBasicUserRequest() {};
- virtual ~AuthBasicUserRequest() { assert(RefCountCount()==0); };
+ UserRequest() {}
+ virtual ~UserRequest() { assert(RefCountCount()==0); }
virtual int authenticated() const;
virtual void authenticate(HttpRequest * request, ConnStateData *conn, http_hdr_type type);
@@ -27,6 +32,9 @@
static HLPCB HandleReply;
};
-MEMPROXY_CLASS_INLINE(AuthBasicUserRequest);
+} // namespace Basic
+} // namespace Auth
+
+MEMPROXY_CLASS_INLINE(Auth::Basic::UserRequest);
#endif /* _SQUID_SRC_AUTH_BASIC_USERREQUEST_H */
diff -u -r -N squid-3.2.0.14/src/auth/Config.cc squid-3.2.0.15/src/auth/Config.cc
--- squid-3.2.0.14/src/auth/Config.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/src/auth/Config.cc 2012-02-06 04:52:31.000000000 +1300
@@ -32,7 +32,7 @@
*
*/
-#include "squid.h"
+#include "squid-old.h"
#include "auth/Config.h"
#include "auth/UserRequest.h"
@@ -45,7 +45,7 @@
* It may be a cached AuthUser or a new Unauthenticated object.
* It may also be NULL reflecting that no user could be created.
*/
-AuthUserRequest::Pointer
+Auth::UserRequest::Pointer
Auth::Config::CreateAuthUser(const char *proxy_auth)
{
assert(proxy_auth != NULL);
diff -u -r -N squid-3.2.0.14/src/auth/Config.h squid-3.2.0.15/src/auth/Config.h
--- squid-3.2.0.14/src/auth/Config.h 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/src/auth/Config.h 2012-02-06 04:52:31.000000000 +1300
@@ -63,7 +63,7 @@
{
public:
- static AuthUserRequest::Pointer CreateAuthUser(const char *proxy_auth);
+ static UserRequest::Pointer CreateAuthUser(const char *proxy_auth);
static Config *Find(const char *proxy_auth);
Config() : authenticateChildren(20), authenticateProgram(NULL) {}
@@ -83,12 +83,12 @@
\par
* Responsible for decoding the passed authentication header, creating or
* linking to a AuthUser object and for storing any needed details to complete
- * authentication in AuthUserRequest::authenticate().
+ * authentication in Auth::UserRequest::authenticate().
*
\param proxy_auth Login Pattern to parse.
\retval * Details needed to authenticate.
*/
- virtual AuthUserRequest::Pointer decode(char const *proxy_auth) = 0;
+ virtual UserRequest::Pointer decode(char const *proxy_auth) = 0;
/**
* squid is finished with this config, release any unneeded resources.
@@ -122,7 +122,7 @@
virtual void dump(StoreEntry *, const char *, Config *) = 0;
/** add headers as needed when challenging for auth */
- virtual void fixHeader(AuthUserRequest::Pointer, HttpReply *, http_hdr_type, HttpRequest *) = 0;
+ virtual void fixHeader(UserRequest::Pointer, HttpReply *, http_hdr_type, HttpRequest *) = 0;
/** prepare to handle requests */
virtual void init(Config *) = 0;
diff -u -r -N squid-3.2.0.14/src/auth/CredentialState.cc squid-3.2.0.15/src/auth/CredentialState.cc
--- squid-3.2.0.14/src/auth/CredentialState.cc 2011-12-13 01:29:28.000000000 +1300
+++ squid-3.2.0.15/src/auth/CredentialState.cc 2012-02-06 06:02:47.000000000 +1300
@@ -1,7 +1,7 @@
/*
* Auto-Generated File. Changes will be destroyed.
*/
-#include "config.h"
+#include "squid.h"
#include "auth/CredentialState.h"
namespace Auth
{
diff -u -r -N squid-3.2.0.14/src/auth/digest/auth_digest.cc squid-3.2.0.15/src/auth/digest/auth_digest.cc
--- squid-3.2.0.14/src/auth/digest/auth_digest.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/src/auth/digest/auth_digest.cc 2012-02-06 04:52:31.000000000 +1300
@@ -37,7 +37,7 @@
* See acl.c for access control and client_side.c for auditing */
-#include "squid.h"
+#include "squid-old.h"
#include "rfc2617.h"
#include "auth/digest/auth_digest.h"
#include "auth/digest/Scheme.h"
@@ -542,7 +542,7 @@
/* add the [www-|Proxy-]authenticate header on a 407 or 401 reply */
void
-Auth::Digest::Config::fixHeader(AuthUserRequest::Pointer auth_user_request, HttpReply *rep, http_hdr_type hdrType, HttpRequest * request)
+Auth::Digest::Config::fixHeader(Auth::UserRequest::Pointer auth_user_request, HttpReply *rep, http_hdr_type hdrType, HttpRequest * request)
{
if (!authenticateProgram)
return;
@@ -550,8 +550,7 @@
int stale = 0;
if (auth_user_request != NULL) {
- AuthDigestUserRequest *digest_request;
- digest_request = dynamic_cast(auth_user_request.getRaw());
+ Auth::Digest::UserRequest *digest_request = dynamic_cast(auth_user_request.getRaw());
assert (digest_request != NULL);
stale = !digest_request->flags.invalid_password;
@@ -560,7 +559,7 @@
/* on a 407 or 401 we always use a new nonce */
digest_nonce_h *nonce = authenticateDigestNonceNew();
- debugs(29, 9, "authenticateFixHeader: Sending type:" << hdrType <<
+ debugs(29, 9, HERE << "Sending type:" << hdrType <<
" header: 'Digest realm=\"" << digestAuthRealm << "\", nonce=\"" <<
authenticateDigestNonceNonceb64(nonce) << "\", qop=\"" << QOP_AUTH <<
"\", stale=" << (stale ? "true" : "false"));
@@ -757,8 +756,8 @@
}
/* setup the necessary info to log the username */
-static AuthUserRequest::Pointer
-authDigestLogUsername(char *username, AuthUserRequest::Pointer auth_user_request)
+static Auth::UserRequest::Pointer
+authDigestLogUsername(char *username, Auth::UserRequest::Pointer auth_user_request)
{
assert(auth_user_request != NULL);
@@ -778,7 +777,7 @@
* Decode a Digest [Proxy-]Auth string, placing the results in the passed
* Auth_user structure.
*/
-AuthUserRequest::Pointer
+Auth::UserRequest::Pointer
Auth::Digest::Config::decode(char const *proxy_auth)
{
const char *item;
@@ -790,7 +789,7 @@
debugs(29, 9, "authenticateDigestDecodeAuth: beginning");
- AuthDigestUserRequest *digest_request = new AuthDigestUserRequest();
+ Auth::Digest::UserRequest *digest_request = new Auth::Digest::UserRequest();
/* trim DIGEST from string */
@@ -838,14 +837,14 @@
}
} else if (*p == '"') {
if (!httpHeaderParseQuotedString(p, vlen, &value)) {
- debugs(29, 9, "authDigestDecodeAuth: Failed to parse attribute '" << item << "' in '" << temp << "'");
+ debugs(29, 9, HERE << "Failed to parse attribute '" << item << "' in '" << temp << "'");
continue;
}
} else {
value.limitInit(p, vlen);
}
} else {
- debugs(29, 9, "authDigestDecodeAuth: Failed to parse attribute '" << item << "' in '" << temp << "'");
+ debugs(29, 9, HERE << "Failed to parse attribute '" << item << "' in '" << temp << "'");
continue;
}
@@ -856,61 +855,61 @@
case DIGEST_USERNAME:
safe_free(username);
username = xstrndup(value.rawBuf(), value.size() + 1);
- debugs(29, 9, "authDigestDecodeAuth: Found Username '" << username << "'");
+ debugs(29, 9, HERE << "Found Username '" << username << "'");
break;
case DIGEST_REALM:
safe_free(digest_request->realm);
digest_request->realm = xstrndup(value.rawBuf(), value.size() + 1);
- debugs(29, 9, "authDigestDecodeAuth: Found realm '" << digest_request->realm << "'");
+ debugs(29, 9, HERE << "Found realm '" << digest_request->realm << "'");
break;
case DIGEST_QOP:
safe_free(digest_request->qop);
digest_request->qop = xstrndup(value.rawBuf(), value.size() + 1);
- debugs(29, 9, "authDigestDecodeAuth: Found qop '" << digest_request->qop << "'");
+ debugs(29, 9, HERE << "Found qop '" << digest_request->qop << "'");
break;
case DIGEST_ALGORITHM:
safe_free(digest_request->algorithm);
digest_request->algorithm = xstrndup(value.rawBuf(), value.size() + 1);
- debugs(29, 9, "authDigestDecodeAuth: Found algorithm '" << digest_request->algorithm << "'");
+ debugs(29, 9, HERE << "Found algorithm '" << digest_request->algorithm << "'");
break;
case DIGEST_URI:
safe_free(digest_request->uri);
digest_request->uri = xstrndup(value.rawBuf(), value.size() + 1);
- debugs(29, 9, "authDigestDecodeAuth: Found uri '" << digest_request->uri << "'");
+ debugs(29, 9, HERE << "Found uri '" << digest_request->uri << "'");
break;
case DIGEST_NONCE:
safe_free(digest_request->nonceb64);
digest_request->nonceb64 = xstrndup(value.rawBuf(), value.size() + 1);
- debugs(29, 9, "authDigestDecodeAuth: Found nonce '" << digest_request->nonceb64 << "'");
+ debugs(29, 9, HERE << "Found nonce '" << digest_request->nonceb64 << "'");
break;
case DIGEST_NC:
if (value.size() != 8) {
- debugs(29, 9, "authDigestDecodeAuth: Invalid nc '" << value << "' in '" << temp << "'");
+ debugs(29, 9, HERE << "Invalid nc '" << value << "' in '" << temp << "'");
}
xstrncpy(digest_request->nc, value.rawBuf(), value.size() + 1);
- debugs(29, 9, "authDigestDecodeAuth: Found noncecount '" << digest_request->nc << "'");
+ debugs(29, 9, HERE << "Found noncecount '" << digest_request->nc << "'");
break;
case DIGEST_CNONCE:
safe_free(digest_request->cnonce);
digest_request->cnonce = xstrndup(value.rawBuf(), value.size() + 1);
- debugs(29, 9, "authDigestDecodeAuth: Found cnonce '" << digest_request->cnonce << "'");
+ debugs(29, 9, HERE << "Found cnonce '" << digest_request->cnonce << "'");
break;
case DIGEST_RESPONSE:
safe_free(digest_request->response);
digest_request->response = xstrndup(value.rawBuf(), value.size() + 1);
- debugs(29, 9, "authDigestDecodeAuth: Found response '" << digest_request->response << "'");
+ debugs(29, 9, HERE << "Found response '" << digest_request->response << "'");
break;
default:
- debugs(29, 3, "authDigestDecodeAuth: Unknown attribute '" << item << "' in '" << temp << "'");
+ debugs(29, 3, HERE << "Unknown attribute '" << item << "' in '" << temp << "'");
break;
}
}
@@ -933,7 +932,7 @@
/* do we have a username ? */
if (!username || username[0] == '\0') {
- debugs(29, 2, "authenticateDigestDecode: Empty or not present username");
+ debugs(29, 2, HERE << "Empty or not present username");
return authDigestLogUsername(username, digest_request);
}
@@ -942,32 +941,32 @@
* have been redone
*/
if (strchr(username, '"')) {
- debugs(29, 2, "authenticateDigestDecode: Unacceptable username '" << username << "'");
+ debugs(29, 2, HERE << "Unacceptable username '" << username << "'");
return authDigestLogUsername(username, digest_request);
}
/* do we have a realm ? */
if (!digest_request->realm || digest_request->realm[0] == '\0') {
- debugs(29, 2, "authenticateDigestDecode: Empty or not present realm");
+ debugs(29, 2, HERE << "Empty or not present realm");
return authDigestLogUsername(username, digest_request);
}
/* and a nonce? */
if (!digest_request->nonceb64 || digest_request->nonceb64[0] == '\0') {
- debugs(29, 2, "authenticateDigestDecode: Empty or not present nonce");
+ debugs(29, 2, HERE << "Empty or not present nonce");
return authDigestLogUsername(username, digest_request);
}
/* we can't check the URI just yet. We'll check it in the
* authenticate phase, but needs to be given */
if (!digest_request->uri || digest_request->uri[0] == '\0') {
- debugs(29, 2, "authenticateDigestDecode: Missing URI field");
+ debugs(29, 2, HERE << "Missing URI field");
return authDigestLogUsername(username, digest_request);
}
/* is the response the correct length? */
if (!digest_request->response || strlen(digest_request->response) != 32) {
- debugs(29, 2, "authenticateDigestDecode: Response length invalid");
+ debugs(29, 2, HERE << "Response length invalid");
return authDigestLogUsername(username, digest_request);
}
@@ -976,7 +975,7 @@
digest_request->algorithm = xstrndup("MD5", 4);
else if (strcmp(digest_request->algorithm, "MD5")
&& strcmp(digest_request->algorithm, "MD5-sess")) {
- debugs(29, 2, "authenticateDigestDecode: invalid algorithm specified!");
+ debugs(29, 2, HERE << "invalid algorithm specified!");
return authDigestLogUsername(username, digest_request);
}
@@ -986,25 +985,25 @@
/* check the qop is what we expected. */
if (strcmp(digest_request->qop, QOP_AUTH) != 0) {
/* we received a qop option we didn't send */
- debugs(29, 2, "authenticateDigestDecode: Invalid qop option received");
+ debugs(29, 2, HERE << "Invalid qop option received");
return authDigestLogUsername(username, digest_request);
}
/* check cnonce */
if (!digest_request->cnonce || digest_request->cnonce[0] == '\0') {
- debugs(29, 2, "authenticateDigestDecode: Missing cnonce field");
+ debugs(29, 2, HERE << "Missing cnonce field");
return authDigestLogUsername(username, digest_request);
}
/* check nc */
if (strlen(digest_request->nc) != 8 || strspn(digest_request->nc, "0123456789abcdefABCDEF") != 8) {
- debugs(29, 2, "authenticateDigestDecode: invalid nonce count");
+ debugs(29, 2, HERE << "invalid nonce count");
return authDigestLogUsername(username, digest_request);
}
} else {
/* cnonce and nc both require qop */
if (digest_request->cnonce || digest_request->nc) {
- debugs(29, 2, "authenticateDigestDecode: missing qop!");
+ debugs(29, 2, HERE << "missing qop!");
return authDigestLogUsername(username, digest_request);
}
}
@@ -1015,7 +1014,7 @@
nonce = authenticateDigestNonceFindNonce(digest_request->nonceb64);
if (!nonce) {
/* we couldn't find a matching nonce! */
- debugs(29, 2, "authenticateDigestDecode: Unexpected or invalid nonce received");
+ debugs(29, 2, HERE << "Unexpected or invalid nonce received");
if (digest_request->user() != NULL)
digest_request->user()->credentials(Auth::Failed);
return authDigestLogUsername(username, digest_request);
@@ -1026,7 +1025,7 @@
/* check that we're not being hacked / the username hasn't changed */
if (nonce->user && strcmp(username, nonce->user->username())) {
- debugs(29, 2, "authenticateDigestDecode: Username for the nonce does not equal the username for the request");
+ debugs(29, 2, HERE << "Username for the nonce does not equal the username for the request");
return authDigestLogUsername(username, digest_request);
}
@@ -1042,7 +1041,7 @@
if ((auth_user = authDigestUserFindUsername(username)) == NULL) {
/* the user doesn't exist in the username cache yet */
- debugs(29, 9, "authDigestDecodeAuth: Creating new digest user '" << username << "'");
+ debugs(29, 9, HERE << "Creating new digest user '" << username << "'");
digest_user = new Auth::Digest::User(this);
/* auth_user is a parent */
auth_user = digest_user;
@@ -1062,7 +1061,7 @@
*/
authDigestUserLinkNonce(digest_user, nonce);
} else {
- debugs(29, 9, "authDigestDecodeAuth: Found user '" << username << "' in the user cache as '" << auth_user << "'");
+ debugs(29, 9, HERE << "Found user '" << username << "' in the user cache as '" << auth_user << "'");
digest_user = static_cast(auth_user.getRaw());
xfree(username);
}
@@ -1071,7 +1070,7 @@
assert(digest_request != NULL);
digest_request->user(digest_user);
- debugs(29, 9, "username = '" << digest_user->username() << "'\nrealm = '" <<
+ debugs(29, 9, HERE << "username = '" << digest_user->username() << "'\nrealm = '" <<
digest_request->realm << "'\nqop = '" << digest_request->qop <<
"'\nalgorithm = '" << digest_request->algorithm << "'\nuri = '" <<
digest_request->uri << "'\nnonce = '" << digest_request->nonceb64 <<
diff -u -r -N squid-3.2.0.14/src/auth/digest/auth_digest.h squid-3.2.0.15/src/auth/digest/auth_digest.h
--- squid-3.2.0.14/src/auth/digest/auth_digest.h 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/src/auth/digest/auth_digest.h 2012-02-06 04:52:31.000000000 +1300
@@ -69,11 +69,11 @@
Config();
virtual bool active() const;
virtual bool configured() const;
- virtual AuthUserRequest::Pointer decode(char const *proxy_auth);
+ virtual Auth::UserRequest::Pointer decode(char const *proxy_auth);
virtual void done();
virtual void rotateHelpers();
virtual void dump(StoreEntry *, const char *, Auth::Config *);
- virtual void fixHeader(AuthUserRequest::Pointer, HttpReply *, http_hdr_type, HttpRequest *);
+ virtual void fixHeader(Auth::UserRequest::Pointer, HttpReply *, http_hdr_type, HttpRequest *);
virtual void init(Auth::Config *);
virtual void parse(Auth::Config *, int, char *);
virtual void registerWithCacheManager(void);
diff -u -r -N squid-3.2.0.14/src/auth/digest/Scheme.cc squid-3.2.0.15/src/auth/digest/Scheme.cc
--- squid-3.2.0.14/src/auth/digest/Scheme.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/src/auth/digest/Scheme.cc 2012-02-06 04:52:31.000000000 +1300
@@ -30,7 +30,7 @@
*
*/
-#include "config.h"
+#include "squid.h"
#include "auth/digest/Scheme.h"
#include "helper.h"
diff -u -r -N squid-3.2.0.14/src/auth/digest/User.cc squid-3.2.0.15/src/auth/digest/User.cc
--- squid-3.2.0.14/src/auth/digest/User.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/src/auth/digest/User.cc 2012-02-06 04:52:31.000000000 +1300
@@ -1,4 +1,4 @@
-#include "config.h"
+#include "squid.h"
#include "auth/digest/auth_digest.h"
#include "auth/digest/User.h"
#include "Debug.h"
diff -u -r -N squid-3.2.0.14/src/auth/digest/UserRequest.cc squid-3.2.0.15/src/auth/digest/UserRequest.cc
--- squid-3.2.0.14/src/auth/digest/UserRequest.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/src/auth/digest/UserRequest.cc 2012-02-06 04:52:31.000000000 +1300
@@ -1,4 +1,4 @@
-#include "config.h"
+#include "squid.h"
#include "auth/digest/auth_digest.h"
#include "auth/digest/User.h"
#include "auth/digest/UserRequest.h"
@@ -8,7 +8,7 @@
#include "HttpRequest.h"
#include "SquidTime.h"
-AuthDigestUserRequest::AuthDigestUserRequest() :
+Auth::Digest::UserRequest::UserRequest() :
nonceb64(NULL),
cnonce(NULL),
realm(NULL),
@@ -25,7 +25,7 @@
* Delete the digest request structure.
* Does NOT delete related AuthUser structures
*/
-AuthDigestUserRequest::~AuthDigestUserRequest()
+Auth::Digest::UserRequest::~UserRequest()
{
assert(RefCountCount()==0);
@@ -44,7 +44,7 @@
}
int
-AuthDigestUserRequest::authenticated() const
+Auth::Digest::UserRequest::authenticated() const
{
if (user() != NULL && user()->credentials() == Auth::Ok)
return 1;
@@ -55,7 +55,7 @@
/** log a digest user in
*/
void
-AuthDigestUserRequest::authenticate(HttpRequest * request, ConnStateData * conn, http_hdr_type type)
+Auth::Digest::UserRequest::authenticate(HttpRequest * request, ConnStateData * conn, http_hdr_type type)
{
HASHHEX SESSIONKEY;
HASHHEX HA2 = "";
@@ -71,7 +71,7 @@
Auth::Digest::User *digest_user = dynamic_cast(auth_user.getRaw());
assert(digest_user != NULL);
- AuthDigestUserRequest *digest_request = this;
+ Auth::Digest::UserRequest *digest_request = this;
/* do we have the HA1 */
if (!digest_user->HA1created) {
@@ -131,7 +131,7 @@
}
if (last_broken_addr != request->client_addr) {
- debugs(29, 1, "\nDigest POST bug detected from " <<
+ debugs(29, DBG_IMPORTANT, "Digest POST bug detected from " <<
request->client_addr << " using '" <<
(useragent ? useragent : "-") <<
"'. Please upgrade browser. See Bug #630 for details.");
@@ -148,7 +148,7 @@
/* check for stale nonce */
if (!authDigestNonceIsValid(digest_request->nonce, digest_request->nc)) {
- debugs(29, 3, "authenticateDigestAuthenticateuser: user '" << auth_user->username() << "' validated OK but nonce stale");
+ debugs(29, 3, HERE << "user '" << auth_user->username() << "' validated OK but nonce stale");
auth_user->credentials(Auth::Failed);
digest_request->setDenyMessage("Stale nonce");
return;
@@ -158,7 +158,7 @@
auth_user->credentials(Auth::Ok);
/* password was checked and did match */
- debugs(29, 4, "authenticateDigestAuthenticateuser: user '" << auth_user->username() << "' validated OK");
+ debugs(29, 4, HERE << "user '" << auth_user->username() << "' validated OK");
/* auth_user is now linked, we reset these values
* after external auth occurs anyway */
@@ -167,7 +167,7 @@
}
Auth::Direction
-AuthDigestUserRequest::module_direction()
+Auth::Digest::UserRequest::module_direction()
{
if (user()->auth_type != Auth::AUTH_DIGEST)
return Auth::CRED_ERROR;
@@ -191,7 +191,7 @@
}
void
-AuthDigestUserRequest::addAuthenticationInfoHeader(HttpReply * rep, int accel)
+Auth::Digest::UserRequest::addAuthenticationInfoHeader(HttpReply * rep, int accel)
{
http_hdr_type type;
@@ -211,14 +211,14 @@
if ((static_cast(Auth::Config::Find("digest"))->authenticateProgram) && authDigestNonceLastRequest(nonce)) {
flags.authinfo_sent = 1;
- debugs(29, 9, "authDigestAddHead: Sending type:" << type << " header: 'nextnonce=\"" << authenticateDigestNonceNonceb64(nonce) << "\"");
+ debugs(29, 9, HERE << "Sending type:" << type << " header: 'nextnonce=\"" << authenticateDigestNonceNonceb64(nonce) << "\"");
httpHeaderPutStrf(&rep->header, type, "nextnonce=\"%s\"", authenticateDigestNonceNonceb64(nonce));
}
}
#if WAITING_FOR_TE
void
-AuthDigestUserRequest::addAuthenticationInfoTrailer(HttpReply * rep, int accel)
+Auth::Digest::UserRequest::addAuthenticationInfoTrailer(HttpReply * rep, int accel)
{
int type;
@@ -237,7 +237,7 @@
type = accel ? HDR_AUTHENTICATION_INFO : HDR_PROXY_AUTHENTICATION_INFO;
if ((static_cast(digestScheme::GetInstance()->getConfig())->authenticate) && authDigestNonceLastRequest(nonce)) {
- debugs(29, 9, "authDigestAddTrailer: Sending type:" << type << " header: 'nextnonce=\"" << authenticateDigestNonceNonceb64(nonce) << "\"");
+ debugs(29, 9, HERE << "Sending type:" << type << " header: 'nextnonce=\"" << authenticateDigestNonceNonceb64(nonce) << "\"");
httpTrailerPutStrf(&rep->header, type, "nextnonce=\"%s\"", authenticateDigestNonceNonceb64(nonce));
}
}
@@ -245,12 +245,12 @@
/* send the initial data to a digest authenticator module */
void
-AuthDigestUserRequest::module_start(RH * handler, void *data)
+Auth::Digest::UserRequest::module_start(RH * handler, void *data)
{
char buf[8192];
assert(user() != NULL && user()->auth_type == Auth::AUTH_DIGEST);
- debugs(29, 9, "authenticateStart: '\"" << user()->username() << "\":\"" << realm << "\"'");
+ debugs(29, 9, HERE << "'\"" << user()->username() << "\":\"" << realm << "\"'");
if (static_cast(Auth::Config::Find("digest"))->authenticateProgram == NULL) {
debugs(29, DBG_CRITICAL, "ERROR: No Digest authentication program configured.");
@@ -266,12 +266,12 @@
snprintf(buf, 8192, "\"%s\":\"%s\"\n", user()->username(), realm);
}
- helperSubmit(digestauthenticators, buf, AuthDigestUserRequest::HandleReply,
+ helperSubmit(digestauthenticators, buf, Auth::Digest::UserRequest::HandleReply,
new Auth::StateData(this, handler, data));
}
void
-AuthDigestUserRequest::HandleReply(void *data, char *reply)
+Auth::Digest::UserRequest::HandleReply(void *data, char *reply)
{
Auth::StateData *replyData = static_cast(data);
char *t = NULL;
@@ -287,11 +287,11 @@
}
assert(replyData->auth_user_request != NULL);
- AuthUserRequest::Pointer auth_user_request = replyData->auth_user_request;
+ Auth::UserRequest::Pointer auth_user_request = replyData->auth_user_request;
if (reply && (strncasecmp(reply, "ERR", 3) == 0)) {
/* allow this because the digest_request pointer is purely local */
- AuthDigestUserRequest *digest_request = dynamic_cast(auth_user_request.getRaw());
+ Auth::Digest::UserRequest *digest_request = dynamic_cast(auth_user_request.getRaw());
assert(digest_request);
digest_request->user()->credentials(Auth::Failed);
diff -u -r -N squid-3.2.0.14/src/auth/digest/UserRequest.h squid-3.2.0.15/src/auth/digest/UserRequest.h
--- squid-3.2.0.14/src/auth/digest/UserRequest.h 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/src/auth/digest/UserRequest.h 2012-02-06 04:52:31.000000000 +1300
@@ -9,21 +9,26 @@
class HttpReply;
class HttpRequest;
+namespace Auth
+{
+namespace Digest
+{
+
/**
- * The AuthDigestUserRequest structure is what follows the http_request around
+ * The UserRequest structure is what follows the http_request around
*/
-class AuthDigestUserRequest : public AuthUserRequest
+class UserRequest : public Auth::UserRequest
{
public:
- MEMPROXY_CLASS(AuthDigestUserRequest);
+ MEMPROXY_CLASS(Auth::Digest::UserRequest);
- AuthDigestUserRequest();
- virtual ~AuthDigestUserRequest();
+ UserRequest();
+ virtual ~UserRequest();
virtual int authenticated() const;
virtual void authenticate(HttpRequest * request, ConnStateData * conn, http_hdr_type type);
- virtual Auth::Direction module_direction();
+ virtual Direction module_direction();
virtual void addAuthenticationInfoHeader(HttpReply * rep, int accel);
#if WAITING_FOR_TE
virtual void addAuthenticationInfoTrailer(HttpReply * rep, int accel);
@@ -53,6 +58,9 @@
static HLPCB HandleReply;
};
-MEMPROXY_CLASS_INLINE(AuthDigestUserRequest);
+} // namespace Digest
+} // namespace Auth
+
+MEMPROXY_CLASS_INLINE(Auth::Digest::UserRequest);
#endif /* _SQUID_SRC_AUTH_DIGEST_USERREQUEST_H */
diff -u -r -N squid-3.2.0.14/src/auth/Gadgets.cc squid-3.2.0.15/src/auth/Gadgets.cc
--- squid-3.2.0.14/src/auth/Gadgets.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/src/auth/Gadgets.cc 2012-02-06 04:52:31.000000000 +1300
@@ -36,7 +36,7 @@
* They DO NOT perform access control or auditing.
* See acl.c for access control and client_side.c for auditing */
-#include "squid.h"
+#include "squid-old.h"
#include "acl/Acl.h"
#include "acl/FilledChecklist.h"
#include "client_side.h"
diff -u -r -N squid-3.2.0.14/src/auth/negotiate/auth_negotiate.cc squid-3.2.0.15/src/auth/negotiate/auth_negotiate.cc
--- squid-3.2.0.14/src/auth/negotiate/auth_negotiate.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/src/auth/negotiate/auth_negotiate.cc 2012-02-06 04:52:31.000000000 +1300
@@ -37,7 +37,7 @@
* See acl.c for access control and client_side.c for auditing */
-#include "squid.h"
+#include "squid-old.h"
#include "auth/negotiate/auth_negotiate.h"
#include "auth/Gadgets.h"
#include "auth/State.h"
@@ -213,10 +213,8 @@
/* Negotiate Scheme */
void
-Auth::Negotiate::Config::fixHeader(AuthUserRequest::Pointer auth_user_request, HttpReply *rep, http_hdr_type reqType, HttpRequest * request)
+Auth::Negotiate::Config::fixHeader(Auth::UserRequest::Pointer auth_user_request, HttpReply *rep, http_hdr_type reqType, HttpRequest * request)
{
- AuthNegotiateUserRequest *negotiate_request;
-
if (!authenticateProgram)
return;
@@ -235,7 +233,7 @@
request->flags.proxy_keepalive = 0;
}
} else {
- negotiate_request = dynamic_cast(auth_user_request.getRaw());
+ Auth::Negotiate::UserRequest *negotiate_request = dynamic_cast(auth_user_request.getRaw());
assert(negotiate_request != NULL);
switch (negotiate_request->user()->credentials()) {
@@ -292,11 +290,11 @@
* Decode a Negotiate [Proxy-]Auth string, placing the results in the passed
* Auth_user structure.
*/
-AuthUserRequest::Pointer
+Auth::UserRequest::Pointer
Auth::Negotiate::Config::decode(char const *proxy_auth)
{
Auth::Negotiate::User *newUser = new Auth::Negotiate::User(&negotiateConfig);
- AuthUserRequest *auth_user_request = new AuthNegotiateUserRequest();
+ Auth::UserRequest *auth_user_request = new Auth::Negotiate::UserRequest();
assert(auth_user_request->user() == NULL);
auth_user_request->user(newUser);
diff -u -r -N squid-3.2.0.14/src/auth/negotiate/auth_negotiate.h squid-3.2.0.15/src/auth/negotiate/auth_negotiate.h
--- squid-3.2.0.14/src/auth/negotiate/auth_negotiate.h 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/src/auth/negotiate/auth_negotiate.h 2012-02-06 04:52:31.000000000 +1300
@@ -31,11 +31,11 @@
Config();
virtual bool active() const;
virtual bool configured() const;
- virtual AuthUserRequest::Pointer decode(char const *proxy_auth);
+ virtual Auth::UserRequest::Pointer decode(char const *proxy_auth);
virtual void done();
virtual void rotateHelpers();
virtual void dump(StoreEntry *, const char *, Auth::Config *);
- virtual void fixHeader(AuthUserRequest::Pointer, HttpReply *, http_hdr_type, HttpRequest *);
+ virtual void fixHeader(Auth::UserRequest::Pointer, HttpReply *, http_hdr_type, HttpRequest *);
virtual void init(Auth::Config *);
virtual void parse(Auth::Config *, int, char *);
virtual void registerWithCacheManager(void);
diff -u -r -N squid-3.2.0.14/src/auth/negotiate/Scheme.cc squid-3.2.0.15/src/auth/negotiate/Scheme.cc
--- squid-3.2.0.14/src/auth/negotiate/Scheme.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/src/auth/negotiate/Scheme.cc 2012-02-06 04:52:31.000000000 +1300
@@ -30,7 +30,7 @@
*
*/
-#include "config.h"
+#include "squid.h"
#include "auth/negotiate/Scheme.h"
#include "helper.h"
diff -u -r -N squid-3.2.0.14/src/auth/negotiate/User.cc squid-3.2.0.15/src/auth/negotiate/User.cc
--- squid-3.2.0.14/src/auth/negotiate/User.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/src/auth/negotiate/User.cc 2012-02-06 04:52:31.000000000 +1300
@@ -1,4 +1,4 @@
-#include "config.h"
+#include "squid.h"
#include "auth/Config.h"
#include "auth/negotiate/User.h"
#include "Debug.h"
diff -u -r -N squid-3.2.0.14/src/auth/negotiate/UserRequest.cc squid-3.2.0.15/src/auth/negotiate/UserRequest.cc
--- squid-3.2.0.14/src/auth/negotiate/UserRequest.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/src/auth/negotiate/UserRequest.cc 2012-02-06 04:52:31.000000000 +1300
@@ -1,4 +1,4 @@
-#include "config.h"
+#include "squid.h"
#include "auth/negotiate/auth_negotiate.h"
#include "auth/negotiate/UserRequest.h"
#include "auth/State.h"
@@ -8,7 +8,7 @@
#include "HttpRequest.h"
#include "SquidTime.h"
-AuthNegotiateUserRequest::AuthNegotiateUserRequest()
+Auth::Negotiate::UserRequest::UserRequest()
{
waiting=0;
client_blob=0;
@@ -17,7 +17,7 @@
request=NULL;
}
-AuthNegotiateUserRequest::~AuthNegotiateUserRequest()
+Auth::Negotiate::UserRequest::~UserRequest()
{
assert(RefCountCount()==0);
safe_free(server_blob);
@@ -32,13 +32,13 @@
}
const char *
-AuthNegotiateUserRequest::connLastHeader()
+Auth::Negotiate::UserRequest::connLastHeader()
{
return NULL;
}
int
-AuthNegotiateUserRequest::authenticated() const
+Auth::Negotiate::UserRequest::authenticated() const
{
if (user() != NULL && user()->credentials() == Auth::Ok) {
debugs(29, 9, HERE << "user authenticated.");
@@ -50,9 +50,9 @@
}
Auth::Direction
-AuthNegotiateUserRequest::module_direction()
+Auth::Negotiate::UserRequest::module_direction()
{
- /* null auth_user is checked for by AuthUserRequest::direction() */
+ /* null auth_user is checked for by Auth::UserRequest::direction() */
if (waiting || client_blob)
return Auth::CRED_LOOKUP; /* need helper response to continue */
@@ -79,7 +79,7 @@
}
void
-AuthNegotiateUserRequest::module_start(RH * handler, void *data)
+Auth::Negotiate::UserRequest::module_start(RH * handler, void *data)
{
static char buf[MAX_AUTHTOKEN_LEN];
@@ -107,7 +107,7 @@
safe_free(client_blob);
- helperStatefulSubmit(negotiateauthenticators, buf, AuthNegotiateUserRequest::HandleReply,
+ helperStatefulSubmit(negotiateauthenticators, buf, Auth::Negotiate::UserRequest::HandleReply,
new Auth::StateData(this, handler, data), authserver);
}
@@ -116,7 +116,7 @@
* for this request connections use.
*/
void
-AuthNegotiateUserRequest::releaseAuthServer()
+Auth::Negotiate::UserRequest::releaseAuthServer()
{
if (authserver) {
debugs(29, 6, HERE << "releasing Negotiate auth server '" << authserver << "'");
@@ -128,14 +128,14 @@
/* clear any connection related authentication details */
void
-AuthNegotiateUserRequest::onConnectionClose(ConnStateData *conn)
+Auth::Negotiate::UserRequest::onConnectionClose(ConnStateData *conn)
{
assert(conn != NULL);
- debugs(29, 8, "AuthNegotiateUserRequest::onConnectionClose: closing connection '" << conn << "' (this is '" << this << "')");
+ debugs(29, 8, HERE << "closing connection '" << conn << "' (this is '" << this << "')");
if (conn->auth_user_request == NULL) {
- debugs(29, 8, "AuthNegotiateUserRequest::onConnectionClose: no auth_user_request");
+ debugs(29, 8, HERE << "no auth_user_request");
return;
}
@@ -148,7 +148,7 @@
}
void
-AuthNegotiateUserRequest::authenticate(HttpRequest * aRequest, ConnStateData * conn, http_hdr_type type)
+Auth::Negotiate::UserRequest::authenticate(HttpRequest * aRequest, ConnStateData * conn, http_hdr_type type)
{
assert(this);
@@ -218,7 +218,7 @@
break;
case Auth::Ok:
- fatal("AuthNegotiateUserRequest::authenticate: unexpected auth state DONE! Report a bug to the squid developers.\n");
+ fatal("Auth::Negotiate::UserRequest::authenticate: unexpected auth state DONE! Report a bug to the squid developers.\n");
break;
case Auth::Failed:
@@ -229,7 +229,7 @@
}
void
-AuthNegotiateUserRequest::HandleReply(void *data, void *lastserver, char *reply)
+Auth::Negotiate::UserRequest::HandleReply(void *data, void *lastserver, char *reply)
{
Auth::StateData *r = static_cast(data);
@@ -248,10 +248,10 @@
reply = (char *)"BH Internal error";
}
- AuthUserRequest::Pointer auth_user_request = r->auth_user_request;
+ Auth::UserRequest::Pointer auth_user_request = r->auth_user_request;
assert(auth_user_request != NULL);
- AuthNegotiateUserRequest *lm_request = dynamic_cast(auth_user_request.getRaw());
+ Auth::Negotiate::UserRequest *lm_request = dynamic_cast(auth_user_request.getRaw());
assert(lm_request != NULL);
assert(lm_request->waiting);
@@ -365,7 +365,7 @@
}
void
-AuthNegotiateUserRequest::addAuthenticationInfoHeader(HttpReply * rep, int accel)
+Auth::Negotiate::UserRequest::addAuthenticationInfoHeader(HttpReply * rep, int accel)
{
http_hdr_type type;
diff -u -r -N squid-3.2.0.14/src/auth/negotiate/UserRequest.h squid-3.2.0.15/src/auth/negotiate/UserRequest.h
--- squid-3.2.0.14/src/auth/negotiate/UserRequest.h 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/src/auth/negotiate/UserRequest.h 2012-02-06 04:52:31.000000000 +1300
@@ -9,18 +9,23 @@
class HttpRequest;
class helper_stateful_server;
+namespace Auth
+{
+namespace Negotiate
+{
+
/// \ingroup AuthNegotiateAPI
-class AuthNegotiateUserRequest : public AuthUserRequest
+class UserRequest : public Auth::UserRequest
{
public:
- MEMPROXY_CLASS(AuthNegotiateUserRequest);
+ MEMPROXY_CLASS(Auth::Negotiate::UserRequest);
- AuthNegotiateUserRequest();
- virtual ~AuthNegotiateUserRequest();
+ UserRequest();
+ virtual ~UserRequest();
virtual int authenticated() const;
virtual void authenticate(HttpRequest * request, ConnStateData * conn, http_hdr_type type);
- virtual Auth::Direction module_direction();
+ virtual Direction module_direction();
virtual void onConnectionClose(ConnStateData *);
virtual void module_start(RH *, void *);
@@ -50,6 +55,9 @@
static HLPSCB HandleReply;
};
-MEMPROXY_CLASS_INLINE(AuthNegotiateUserRequest);
+} // namespace Negotiate
+} // namespace Auth
+
+MEMPROXY_CLASS_INLINE(Auth::Negotiate::UserRequest);
#endif /* _SQUID_SRC_AUTH_NEGOTIATE_USERREQUEST_H */
diff -u -r -N squid-3.2.0.14/src/auth/ntlm/auth_ntlm.cc squid-3.2.0.15/src/auth/ntlm/auth_ntlm.cc
--- squid-3.2.0.14/src/auth/ntlm/auth_ntlm.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/src/auth/ntlm/auth_ntlm.cc 2012-02-06 04:52:31.000000000 +1300
@@ -37,7 +37,7 @@
* See acl.c for access control and client_side.c for auditing */
-#include "squid.h"
+#include "squid-old.h"
#include "auth/Gadgets.h"
#include "auth/ntlm/auth_ntlm.h"
#include "auth/ntlm/Scheme.h"
@@ -200,7 +200,7 @@
/* NTLM Scheme */
void
-Auth::Ntlm::Config::fixHeader(AuthUserRequest::Pointer auth_user_request, HttpReply *rep, http_hdr_type hdrType, HttpRequest * request)
+Auth::Ntlm::Config::fixHeader(Auth::UserRequest::Pointer auth_user_request, HttpReply *rep, http_hdr_type hdrType, HttpRequest * request)
{
if (!authenticateProgram)
return;
@@ -219,7 +219,7 @@
request->flags.proxy_keepalive = 0;
}
} else {
- AuthNTLMUserRequest *ntlm_request = dynamic_cast(auth_user_request.getRaw());
+ Auth::Ntlm::UserRequest *ntlm_request = dynamic_cast(auth_user_request.getRaw());
assert(ntlm_request != NULL);
switch (ntlm_request->user()->credentials()) {
@@ -267,11 +267,11 @@
* Decode a NTLM [Proxy-]Auth string, placing the results in the passed
* Auth_user structure.
*/
-AuthUserRequest::Pointer
+Auth::UserRequest::Pointer
Auth::Ntlm::Config::decode(char const *proxy_auth)
{
Auth::Ntlm::User *newUser = new Auth::Ntlm::User(Auth::Config::Find("ntlm"));
- AuthUserRequest::Pointer auth_user_request = new AuthNTLMUserRequest();
+ Auth::UserRequest::Pointer auth_user_request = new Auth::Ntlm::UserRequest();
assert(auth_user_request->user() == NULL);
auth_user_request->user(newUser);
diff -u -r -N squid-3.2.0.14/src/auth/ntlm/auth_ntlm.h squid-3.2.0.15/src/auth/ntlm/auth_ntlm.h
--- squid-3.2.0.14/src/auth/ntlm/auth_ntlm.h 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/src/auth/ntlm/auth_ntlm.h 2012-02-06 04:52:31.000000000 +1300
@@ -27,11 +27,11 @@
Config();
virtual bool active() const;
virtual bool configured() const;
- virtual AuthUserRequest::Pointer decode(char const *proxy_auth);
+ virtual Auth::UserRequest::Pointer decode(char const *proxy_auth);
virtual void done();
virtual void rotateHelpers();
virtual void dump(StoreEntry *, const char *, Auth::Config *);
- virtual void fixHeader(AuthUserRequest::Pointer, HttpReply *, http_hdr_type, HttpRequest *);
+ virtual void fixHeader(Auth::UserRequest::Pointer, HttpReply *, http_hdr_type, HttpRequest *);
virtual void init(Auth::Config *);
virtual void parse(Auth::Config *, int, char *);
virtual void registerWithCacheManager(void);
diff -u -r -N squid-3.2.0.14/src/auth/ntlm/Scheme.cc squid-3.2.0.15/src/auth/ntlm/Scheme.cc
--- squid-3.2.0.14/src/auth/ntlm/Scheme.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/src/auth/ntlm/Scheme.cc 2012-02-06 04:52:31.000000000 +1300
@@ -30,7 +30,7 @@
*
*/
-#include "config.h"
+#include "squid.h"
#include "auth/ntlm/auth_ntlm.h"
#include "auth/ntlm/Scheme.h"
#include "helper.h"
diff -u -r -N squid-3.2.0.14/src/auth/ntlm/User.cc squid-3.2.0.15/src/auth/ntlm/User.cc
--- squid-3.2.0.14/src/auth/ntlm/User.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/src/auth/ntlm/User.cc 2012-02-06 04:52:31.000000000 +1300
@@ -1,4 +1,4 @@
-#include "config.h"
+#include "squid.h"
#include "auth/Config.h"
#include "auth/ntlm/User.h"
#include "Debug.h"
diff -u -r -N squid-3.2.0.14/src/auth/ntlm/UserRequest.cc squid-3.2.0.15/src/auth/ntlm/UserRequest.cc
--- squid-3.2.0.14/src/auth/ntlm/UserRequest.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/src/auth/ntlm/UserRequest.cc 2012-02-06 04:52:31.000000000 +1300
@@ -1,4 +1,4 @@
-#include "config.h"
+#include "squid.h"
#include "auth/ntlm/auth_ntlm.h"
#include "auth/ntlm/UserRequest.h"
#include "auth/State.h"
@@ -6,7 +6,7 @@
#include "HttpRequest.h"
#include "SquidTime.h"
-AuthNTLMUserRequest::AuthNTLMUserRequest()
+Auth::Ntlm::UserRequest::UserRequest()
{
waiting=0;
client_blob=0;
@@ -15,7 +15,7 @@
request=NULL;
}
-AuthNTLMUserRequest::~AuthNTLMUserRequest()
+Auth::Ntlm::UserRequest::~UserRequest()
{
assert(RefCountCount()==0);
safe_free(server_blob);
@@ -30,13 +30,13 @@
}
const char *
-AuthNTLMUserRequest::connLastHeader()
+Auth::Ntlm::UserRequest::connLastHeader()
{
return NULL;
}
int
-AuthNTLMUserRequest::authenticated() const
+Auth::Ntlm::UserRequest::authenticated() const
{
if (user() != NULL && user()->credentials() == Auth::Ok) {
debugs(29, 9, HERE << "user authenticated.");
@@ -48,9 +48,9 @@
}
Auth::Direction
-AuthNTLMUserRequest::module_direction()
+Auth::Ntlm::UserRequest::module_direction()
{
- /* null auth_user is checked for by AuthUserRequest::direction() */
+ /* null auth_user is checked for by Auth::UserRequest::direction() */
if (waiting || client_blob)
return Auth::CRED_LOOKUP; /* need helper response to continue */
@@ -77,7 +77,7 @@
}
void
-AuthNTLMUserRequest::module_start(RH * handler, void *data)
+Auth::Ntlm::UserRequest::module_start(RH * handler, void *data)
{
static char buf[MAX_AUTHTOKEN_LEN];
@@ -101,7 +101,7 @@
waiting = 1;
safe_free(client_blob);
- helperStatefulSubmit(ntlmauthenticators, buf, AuthNTLMUserRequest::HandleReply,
+ helperStatefulSubmit(ntlmauthenticators, buf, Auth::Ntlm::UserRequest::HandleReply,
new Auth::StateData(this, handler, data), authserver);
}
@@ -110,7 +110,7 @@
* for this request connections use.
*/
void
-AuthNTLMUserRequest::releaseAuthServer()
+Auth::Ntlm::UserRequest::releaseAuthServer()
{
if (authserver) {
debugs(29, 6, HERE << "releasing NTLM auth server '" << authserver << "'");
@@ -121,14 +121,14 @@
}
void
-AuthNTLMUserRequest::onConnectionClose(ConnStateData *conn)
+Auth::Ntlm::UserRequest::onConnectionClose(ConnStateData *conn)
{
assert(conn != NULL);
- debugs(29, 8, "AuthNTLMUserRequest::onConnectionClose: closing connection '" << conn << "' (this is '" << this << "')");
+ debugs(29, 8, HERE << "closing connection '" << conn << "' (this is '" << this << "')");
if (conn->auth_user_request == NULL) {
- debugs(29, 8, "AuthNTLMUserRequest::onConnectionClose: no auth_user_request");
+ debugs(29, 8, HERE << "no auth_user_request");
return;
}
@@ -141,7 +141,7 @@
}
void
-AuthNTLMUserRequest::authenticate(HttpRequest * aRequest, ConnStateData * conn, http_hdr_type type)
+Auth::Ntlm::UserRequest::authenticate(HttpRequest * aRequest, ConnStateData * conn, http_hdr_type type)
{
assert(this);
@@ -212,7 +212,7 @@
break;
case Auth::Ok:
- fatal("AuthNTLMUserRequest::authenticate: unexpect auth state DONE! Report a bug to the squid developers.\n");
+ fatal("Auth::Ntlm::UserRequest::authenticate: unexpect auth state DONE! Report a bug to the squid developers.\n");
break;
case Auth::Failed:
@@ -223,7 +223,7 @@
}
void
-AuthNTLMUserRequest::HandleReply(void *data, void *lastserver, char *reply)
+Auth::Ntlm::UserRequest::HandleReply(void *data, void *lastserver, char *reply)
{
Auth::StateData *r = static_cast(data);
char *blob;
@@ -241,10 +241,10 @@
reply = (char *)"BH Internal error";
}
- AuthUserRequest::Pointer auth_user_request = r->auth_user_request;
+ Auth::UserRequest::Pointer auth_user_request = r->auth_user_request;
assert(auth_user_request != NULL);
- AuthNTLMUserRequest *lm_request = dynamic_cast(auth_user_request.getRaw());
+ Auth::Ntlm::UserRequest *lm_request = dynamic_cast(auth_user_request.getRaw());
assert(lm_request != NULL);
assert(lm_request->waiting);
diff -u -r -N squid-3.2.0.14/src/auth/ntlm/UserRequest.h squid-3.2.0.15/src/auth/ntlm/UserRequest.h
--- squid-3.2.0.14/src/auth/ntlm/UserRequest.h 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/src/auth/ntlm/UserRequest.h 2012-02-06 04:52:31.000000000 +1300
@@ -10,14 +10,19 @@
class HttpRequest;
class helper_stateful_server;
-class AuthNTLMUserRequest : public AuthUserRequest
+namespace Auth
+{
+namespace Ntlm
+{
+
+class UserRequest : public Auth::UserRequest
{
public:
- MEMPROXY_CLASS(AuthNTLMUserRequest);
+ MEMPROXY_CLASS(Auth::Ntlm::UserRequest);
- AuthNTLMUserRequest();
- virtual ~AuthNTLMUserRequest();
+ UserRequest();
+ virtual ~UserRequest();
virtual int authenticated() const;
virtual void authenticate(HttpRequest * request, ConnStateData * conn, http_hdr_type type);
virtual Auth::Direction module_direction();
@@ -30,9 +35,6 @@
helper_stateful_server *authserver;
void releaseAuthServer(void); ///< Release authserver NTLM helpers properly when finished or abandoning.
- /* what connection is this associated with */
-// ConnStateData * conn;
-
/* our current blob to pass to the client */
char *server_blob;
@@ -49,6 +51,9 @@
static HLPSCB HandleReply;
};
-MEMPROXY_CLASS_INLINE(AuthNTLMUserRequest);
+} // namespace Ntlm
+} // namespace Auth
+
+MEMPROXY_CLASS_INLINE(Auth::Ntlm::UserRequest);
#endif /* _SQUID_SRC_AUTH_NTLM_USERREQUEST_H */
diff -u -r -N squid-3.2.0.14/src/auth/Scheme.cc squid-3.2.0.15/src/auth/Scheme.cc
--- squid-3.2.0.14/src/auth/Scheme.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/src/auth/Scheme.cc 2012-02-06 04:52:31.000000000 +1300
@@ -33,7 +33,7 @@
* Copyright (c) 2004, Robert Collins
*/
-#include "squid.h"
+#include "squid-old.h"
#include "auth/Scheme.h"
#include "auth/Gadgets.h"
#include "auth/Config.h"
diff -u -r -N squid-3.2.0.14/src/auth/State.cc squid-3.2.0.15/src/auth/State.cc
--- squid-3.2.0.14/src/auth/State.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/src/auth/State.cc 2012-02-06 04:52:31.000000000 +1300
@@ -1,4 +1,4 @@
-#include "config.h"
+#include "squid.h"
#if USE_AUTH
#include "auth/State.h"
diff -u -r -N squid-3.2.0.14/src/auth/State.h squid-3.2.0.15/src/auth/State.h
--- squid-3.2.0.14/src/auth/State.h 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/src/auth/State.h 2012-02-06 04:52:31.000000000 +1300
@@ -15,7 +15,7 @@
class StateData
{
public:
- StateData(const AuthUserRequest::Pointer &r, RH *h, void *d) :
+ StateData(const UserRequest::Pointer &r, RH *h, void *d) :
data(cbdataReference(d)),
auth_user_request(r),
handler(h) {}
@@ -26,7 +26,7 @@
}
void *data;
- AuthUserRequest::Pointer auth_user_request;
+ UserRequest::Pointer auth_user_request;
RH *handler;
private:
diff -u -r -N squid-3.2.0.14/src/auth/Type.cc squid-3.2.0.15/src/auth/Type.cc
--- squid-3.2.0.14/src/auth/Type.cc 2011-12-13 01:29:28.000000000 +1300
+++ squid-3.2.0.15/src/auth/Type.cc 2012-02-06 06:02:47.000000000 +1300
@@ -1,7 +1,7 @@
/*
* Auto-Generated File. Changes will be destroyed.
*/
-#include "config.h"
+#include "squid.h"
#include "auth/Type.h"
namespace Auth
{
diff -u -r -N squid-3.2.0.14/src/auth/User.cc squid-3.2.0.15/src/auth/User.cc
--- squid-3.2.0.14/src/auth/User.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/src/auth/User.cc 2012-02-06 04:52:31.000000000 +1300
@@ -33,7 +33,7 @@
* Copyright (c) 2003, Robert Collins
*/
-#include "squid.h"
+#include "squid-old.h"
#include "auth/User.h"
#include "auth/UserRequest.h"
#include "auth/Config.h"
diff -u -r -N squid-3.2.0.14/src/auth/UserRequest.cc squid-3.2.0.15/src/auth/UserRequest.cc
--- squid-3.2.0.14/src/auth/UserRequest.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/src/auth/UserRequest.cc 2012-02-06 04:52:31.000000000 +1300
@@ -39,15 +39,11 @@
* They DO NOT perform access control or auditing.
* See acl.c for access control and client_side.c for auditing */
-#include "squid.h"
-#include "auth/UserRequest.h"
-#include "auth/User.h"
-/*#include "auth/Gadgets.h"
-#include "acl/Acl.h"
-#include "client_side.h"
-*/
+#include "squid-old.h"
#include "auth/Config.h"
#include "auth/Scheme.h"
+#include "auth/UserRequest.h"
+#include "auth/User.h"
#include "comm/Connection.h"
#include "HttpReply.h"
#include "HttpRequest.h"
@@ -55,7 +51,7 @@
/* Generic Functions */
char const *
-AuthUserRequest::username() const
+Auth::UserRequest::username() const
{
if (user() != NULL)
return user()->username();
@@ -67,18 +63,18 @@
/* send the initial data to an authenticator module */
void
-AuthUserRequest::start(RH * handler, void *data)
+Auth::UserRequest::start(RH * handler, void *data)
{
assert(handler);
assert(data);
- debugs(29, 9, "authenticateStart: auth_user_request '" << this << "'");
+ debugs(29, 9, HERE << "auth_user_request '" << this << "'");
module_start(handler, data);
}
bool
-AuthUserRequest::valid() const
+Auth::UserRequest::valid() const
{
- debugs(29, 9, HERE << "Validating AuthUserRequest '" << this << "'.");
+ debugs(29, 9, HERE << "Validating Auth::UserRequest '" << this << "'.");
if (user() == NULL) {
debugs(29, 4, HERE << "No associated Auth::User data");
@@ -98,35 +94,35 @@
/* any other sanity checks that we need in the future */
/* finally return ok */
- debugs(29, 5, HERE << "Validated. AuthUserRequest '" << this << "'.");
+ debugs(29, 5, HERE << "Validated. Auth::UserRequest '" << this << "'.");
return true;
}
void *
-AuthUserRequest::operator new (size_t byteCount)
+Auth::UserRequest::operator new (size_t byteCount)
{
- fatal ("AuthUserRequest not directly allocatable\n");
+ fatal("Auth::UserRequest not directly allocatable\n");
return (void *)1;
}
void
-AuthUserRequest::operator delete (void *address)
+Auth::UserRequest::operator delete (void *address)
{
- fatal ("AuthUserRequest child failed to override operator delete\n");
+ fatal("Auth::UserRequest child failed to override operator delete\n");
}
-AuthUserRequest::AuthUserRequest():
+Auth::UserRequest::UserRequest():
_auth_user(NULL),
message(NULL),
lastReply(AUTH_ACL_CANNOT_AUTHENTICATE)
{
- debugs(29, 5, "AuthUserRequest::AuthUserRequest: initialised request " << this);
+ debugs(29, 5, HERE << "initialised request " << this);
}
-AuthUserRequest::~AuthUserRequest()
+Auth::UserRequest::~UserRequest()
{
assert(RefCountCount()==0);
- debugs(29, 5, "AuthUserRequest::~AuthUserRequest: freeing request " << this);
+ debugs(29, 5, HERE << "freeing request " << this);
if (user() != NULL) {
/* release our references to the user credentials */
@@ -137,20 +133,20 @@
}
void
-AuthUserRequest::setDenyMessage(char const *aString)
+Auth::UserRequest::setDenyMessage(char const *aString)
{
safe_free(message);
message = xstrdup(aString);
}
char const *
-AuthUserRequest::getDenyMessage()
+Auth::UserRequest::getDenyMessage()
{
return message;
}
char const *
-AuthUserRequest::denyMessage(char const * const default_message)
+Auth::UserRequest::denyMessage(char const * const default_message)
{
if (this == NULL || getDenyMessage() == NULL) {
return default_message;
@@ -160,7 +156,7 @@
}
static void
-authenticateAuthUserRequestSetIp(AuthUserRequest::Pointer auth_user_request, Ip::Address &ipaddr)
+authenticateAuthUserRequestSetIp(Auth::UserRequest::Pointer auth_user_request, Ip::Address &ipaddr)
{
Auth::User::Pointer auth_user = auth_user_request->user();
@@ -171,7 +167,7 @@
}
void
-authenticateAuthUserRequestRemoveIp(AuthUserRequest::Pointer auth_user_request, Ip::Address const &ipaddr)
+authenticateAuthUserRequestRemoveIp(Auth::UserRequest::Pointer auth_user_request, Ip::Address const &ipaddr)
{
Auth::User::Pointer auth_user = auth_user_request->user();
@@ -182,14 +178,14 @@
}
void
-authenticateAuthUserRequestClearIp(AuthUserRequest::Pointer auth_user_request)
+authenticateAuthUserRequestClearIp(Auth::UserRequest::Pointer auth_user_request)
{
if (auth_user_request != NULL)
auth_user_request->user()->clearIp();
}
int
-authenticateAuthUserRequestIPCount(AuthUserRequest::Pointer auth_user_request)
+authenticateAuthUserRequestIPCount(Auth::UserRequest::Pointer auth_user_request)
{
assert(auth_user_request != NULL);
assert(auth_user_request->user() != NULL);
@@ -201,7 +197,7 @@
* authenticateUserAuthenticated: is this auth_user structure logged in ?
*/
int
-authenticateUserAuthenticated(AuthUserRequest::Pointer auth_user_request)
+authenticateUserAuthenticated(Auth::UserRequest::Pointer auth_user_request)
{
if (auth_user_request == NULL || !auth_user_request->valid())
return 0;
@@ -210,7 +206,7 @@
}
Auth::Direction
-AuthUserRequest::direction()
+Auth::UserRequest::direction()
{
if (user() == NULL)
return Auth::CRED_ERROR; // No credentials. Should this be a CHALLENGE instead?
@@ -222,21 +218,21 @@
}
void
-AuthUserRequest::addAuthenticationInfoHeader(HttpReply * rep, int accelerated)
+Auth::UserRequest::addAuthenticationInfoHeader(HttpReply * rep, int accelerated)
{}
void
-AuthUserRequest::addAuthenticationInfoTrailer(HttpReply * rep, int accelerated)
+Auth::UserRequest::addAuthenticationInfoTrailer(HttpReply * rep, int accelerated)
{}
void
-AuthUserRequest::onConnectionClose(ConnStateData *)
+Auth::UserRequest::onConnectionClose(ConnStateData *)
{}
const char *
-AuthUserRequest::connLastHeader()
+Auth::UserRequest::connLastHeader()
{
- fatal("AuthUserRequest::connLastHeader should always be overridden by conn based auth schemes");
+ fatal("Auth::UserRequest::connLastHeader should always be overridden by conn based auth schemes");
return NULL;
}
@@ -247,15 +243,15 @@
* This is basically a handle approach.
*/
static void
-authenticateAuthenticateUser(AuthUserRequest::Pointer auth_user_request, HttpRequest * request, ConnStateData * conn, http_hdr_type type)
+authenticateAuthenticateUser(Auth::UserRequest::Pointer auth_user_request, HttpRequest * request, ConnStateData * conn, http_hdr_type type)
{
assert(auth_user_request.getRaw() != NULL);
auth_user_request->authenticate(request, conn, type);
}
-static AuthUserRequest::Pointer
-authTryGetUser(AuthUserRequest::Pointer auth_user_request, ConnStateData * conn, HttpRequest * request)
+static Auth::UserRequest::Pointer
+authTryGetUser(Auth::UserRequest::Pointer auth_user_request, ConnStateData * conn, HttpRequest * request)
{
if (auth_user_request != NULL)
return auth_user_request;
@@ -289,7 +285,7 @@
* Caller is responsible for locking and unlocking their *auth_user_request!
*/
AuthAclState
-AuthUserRequest::authenticate(AuthUserRequest::Pointer * auth_user_request, http_hdr_type headertype, HttpRequest * request, ConnStateData * conn, Ip::Address &src_addr)
+Auth::UserRequest::authenticate(Auth::UserRequest::Pointer * auth_user_request, http_hdr_type headertype, HttpRequest * request, ConnStateData * conn, Ip::Address &src_addr)
{
const char *proxy_auth;
assert(headertype != 0);
@@ -355,7 +351,7 @@
Auth::Config * scheme = Auth::Config::Find(proxy_auth);
if (conn->auth_user_request->user() == NULL || conn->auth_user_request->user()->config != scheme) {
- debugs(29, 1, "WARNING: Unexpected change of authentication scheme from '" <<
+ debugs(29, DBG_IMPORTANT, "WARNING: Unexpected change of authentication scheme from '" <<
conn->auth_user_request->user()->config->type() <<
"' to '" << proxy_auth << "' (client " <<
src_addr << ")");
@@ -455,14 +451,14 @@
}
AuthAclState
-AuthUserRequest::tryToAuthenticateAndSetAuthUser(AuthUserRequest::Pointer * auth_user_request, http_hdr_type headertype, HttpRequest * request, ConnStateData * conn, Ip::Address &src_addr)
+Auth::UserRequest::tryToAuthenticateAndSetAuthUser(Auth::UserRequest::Pointer * aUR, http_hdr_type headertype, HttpRequest * request, ConnStateData * conn, Ip::Address &src_addr)
{
- /* If we have already been called, return the cached value */
- AuthUserRequest::Pointer t = authTryGetUser(*auth_user_request, conn, request);
+ // If we have already been called, return the cached value
+ Auth::UserRequest::Pointer t = authTryGetUser(*aUR, conn, request);
if (t != NULL && t->lastReply != AUTH_ACL_CANNOT_AUTHENTICATE && t->lastReply != AUTH_ACL_HELPER) {
- if (*auth_user_request == NULL)
- *auth_user_request = t;
+ if (*aUR == NULL)
+ *aUR = t;
if (request->auth_user_request == NULL && t->lastReply == AUTH_AUTHENTICATED) {
request->auth_user_request = t;
@@ -470,10 +466,11 @@
return t->lastReply;
}
- /* ok, call the actual authenticator routine. */
- AuthAclState result = authenticate(auth_user_request, headertype, request, conn, src_addr);
+ // ok, call the actual authenticator routine.
+ AuthAclState result = authenticate(aUR, headertype, request, conn, src_addr);
- t = authTryGetUser(*auth_user_request, conn, request);
+ // auth process may have changed the UserRequest we are dealing with
+ t = authTryGetUser(*aUR, conn, request);
if (t != NULL && result != AUTH_ACL_CANNOT_AUTHENTICATE && result != AUTH_ACL_HELPER)
t->lastReply = result;
@@ -482,7 +479,7 @@
}
void
-AuthUserRequest::addReplyAuthHeader(HttpReply * rep, AuthUserRequest::Pointer auth_user_request, HttpRequest * request, int accelerated, int internal)
+Auth::UserRequest::addReplyAuthHeader(HttpReply * rep, Auth::UserRequest::Pointer auth_user_request, HttpRequest * request, int accelerated, int internal)
/* send the auth types we are configured to support (and have compiled in!) */
{
http_hdr_type type;
@@ -506,7 +503,7 @@
break;
}
- debugs(29, 9, "authenticateFixHeader: headertype:" << type << " authuser:" << auth_user_request);
+ debugs(29, 9, HERE << "headertype:" << type << " authuser:" << auth_user_request);
if (((rep->sline.status == HTTP_PROXY_AUTHENTICATION_REQUIRED)
|| (rep->sline.status == HTTP_UNAUTHORIZED)) && internal)
@@ -525,7 +522,7 @@
if (scheme->active())
scheme->fixHeader(NULL, rep, type, request);
else
- debugs(29, 4, "authenticateFixHeader: Configured scheme " << scheme->type() << " not Active");
+ debugs(29, 4, HERE << "Configured scheme " << scheme->type() << " not Active");
}
}
@@ -542,22 +539,24 @@
}
}
+// TODO remove wrapper.
void
-authenticateFixHeader(HttpReply * rep, AuthUserRequest::Pointer auth_user_request, HttpRequest * request, int accelerated, int internal)
+authenticateFixHeader(HttpReply * rep, Auth::UserRequest::Pointer auth_user_request, HttpRequest * request, int accelerated, int internal)
{
- AuthUserRequest::addReplyAuthHeader(rep, auth_user_request, request, accelerated, internal);
+ Auth::UserRequest::addReplyAuthHeader(rep, auth_user_request, request, accelerated, internal);
}
/* call the active auth module and allow it to add a trailer to the request */
+// TODO remove wrapper
void
-authenticateAddTrailer(HttpReply * rep, AuthUserRequest::Pointer auth_user_request, HttpRequest * request, int accelerated)
+authenticateAddTrailer(HttpReply * rep, Auth::UserRequest::Pointer auth_user_request, HttpRequest * request, int accelerated)
{
if (auth_user_request != NULL)
auth_user_request->addAuthenticationInfoTrailer(rep, accelerated);
}
Auth::Scheme::Pointer
-AuthUserRequest::scheme() const
+Auth::UserRequest::scheme() const
{
return Auth::Scheme::Find(user()->config->type());
}
diff -u -r -N squid-3.2.0.14/src/auth/UserRequest.h squid-3.2.0.15/src/auth/UserRequest.h
--- squid-3.2.0.14/src/auth/UserRequest.h 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/src/auth/UserRequest.h 2012-02-06 04:52:31.000000000 +1300
@@ -32,8 +32,8 @@
*
*/
-#ifndef SQUID_AUTHUSERREQUEST_H
-#define SQUID_AUTHUSERREQUEST_H
+#ifndef SQUID_AUTH_USERREQUEST_H
+#define SQUID_AUTH_USERREQUEST_H
#if USE_AUTH
@@ -77,19 +77,22 @@
CRED_LOOKUP = -1, ///< Credentials need to be validated with the backend helper
CRED_ERROR = -2 ///< ERROR in the auth module. Cannot determine the state of this request.
};
-} // namespace Auth
/**
- \ingroup AuthAPI
* This is a short lived structure is the visible aspect of the authentication framework.
*
* It and its children hold the state data while processing authentication for a client request.
* The AuthenticationStateData object is merely a CBDATA wrapper for one of these.
*/
-class AuthUserRequest : public RefCountable
+class UserRequest : public RefCountable
{
public:
- typedef RefCount Pointer;
+ typedef RefCount Pointer;
+
+ UserRequest();
+ virtual ~UserRequest();
+ void *operator new(size_t byteCount);
+ void operator delete(void *address);
public:
/**
@@ -97,7 +100,7 @@
* it has request specific data, and links to user specific data
* the user
*/
- Auth::User::Pointer _auth_user;
+ User::Pointer _auth_user;
/**
* Used by squid to determine what the next step in performing authentication for a given scheme is.
@@ -111,7 +114,7 @@
* Squid will return the appropriate status code (401 or 407) and call the registered
* FixError function to allow the auth module to insert it's challenge.
*/
- Auth::Direction direction();
+ Direction direction();
/**
* Used by squid to determine whether the auth scheme has successfully authenticated the user request.
@@ -136,7 +139,7 @@
virtual void authenticate(HttpRequest * request, ConnStateData * conn, http_hdr_type type) = 0;
/* template method - what needs to be done next? advertise schemes, challenge, handle error, nothing? */
- virtual Auth::Direction module_direction() = 0;
+ virtual Direction module_direction() = 0;
/* add the [Proxy-]Authentication-Info header */
virtual void addAuthenticationInfoHeader(HttpReply * rep, int accel);
@@ -155,20 +158,33 @@
*/
virtual void module_start(RH *handler, void *data) = 0;
- virtual Auth::User::Pointer user() {return _auth_user;}
+ // User credentials object this UserRequest is managing
+ virtual User::Pointer user() {return _auth_user;}
+ virtual const User::Pointer user() const {return _auth_user;}
+ virtual void user(User::Pointer aUser) {_auth_user=aUser;}
- virtual const Auth::User::Pointer user() const {return _auth_user;}
-
- virtual void user(Auth::User::Pointer aUser) {_auth_user=aUser;}
-
- static AuthAclState tryToAuthenticateAndSetAuthUser(AuthUserRequest::Pointer *, http_hdr_type, HttpRequest *, ConnStateData *, Ip::Address &);
- static void addReplyAuthHeader(HttpReply * rep, AuthUserRequest::Pointer auth_user_request, HttpRequest * request, int accelerated, int internal);
-
- AuthUserRequest();
+ /**
+ * Locate user credentials in one of several locations. Begin authentication if needed.
+ *
+ * Credentials may be found in one of the following locations (listed by order of preference):
+ * - the source passed as parameter aUR
+ * - cached in the HttpRequest parameter from a previous authentication of this request
+ * - cached in the ConnStateData paremeter from a previous authentication of this connection
+ * (only applies to some situations. ie NTLM, Negotiate, Kerberos auth schemes,
+ * or decrypted SSL requests from inside an authenticated CONNECT tunnel)
+ * - cached in the user credentials cache from a previous authentication of the same credentials
+ * (only applies to cacheable authentication methods, ie Basic auth)
+ * - new credentials created from HTTP headers in this request
+ *
+ * The found credentials are returned in aUR and if successfully authenticated
+ * may now be cached in one or more of the above locations.
+ *
+ * \return Some AUTH_ACL_* state
+ */
+ static AuthAclState tryToAuthenticateAndSetAuthUser(UserRequest::Pointer *aUR, http_hdr_type, HttpRequest *, ConnStateData *, Ip::Address &);
- virtual ~AuthUserRequest();
- void *operator new(size_t byteCount);
- void operator delete(void *address);
+ /// Add the appropriate [Proxy-]Authenticate header to the given reply
+ static void addReplyAuthHeader(HttpReply * rep, UserRequest::Pointer auth_user_request, HttpRequest * request, int accelerated, int internal);
void start( RH * handler, void *data);
char const * denyMessage(char const * const default_message = NULL);
@@ -189,13 +205,13 @@
*/
char const *username() const;
- Auth::Scheme::Pointer scheme() const;
+ Scheme::Pointer scheme() const;
virtual const char * connLastHeader();
private:
- static AuthAclState authenticate(AuthUserRequest::Pointer * auth_user_request, http_hdr_type headertype, HttpRequest * request, ConnStateData * conn, Ip::Address &src_addr);
+ static AuthAclState authenticate(UserRequest::Pointer * auth_user_request, http_hdr_type headertype, HttpRequest * request, ConnStateData * conn, Ip::Address &src_addr);
/** return a message on the 407 error pages */
char *message;
@@ -208,23 +224,25 @@
AuthAclState lastReply;
};
+} // namespace Auth
+
/* AuthUserRequest */
/// \ingroup AuthAPI
-extern void authenticateFixHeader(HttpReply *, AuthUserRequest::Pointer, HttpRequest *, int, int);
+extern void authenticateFixHeader(HttpReply *, Auth::UserRequest::Pointer, HttpRequest *, int, int);
/// \ingroup AuthAPI
-extern void authenticateAddTrailer(HttpReply *, AuthUserRequest::Pointer, HttpRequest *, int);
+extern void authenticateAddTrailer(HttpReply *, Auth::UserRequest::Pointer, HttpRequest *, int);
/// \ingroup AuthAPI
-extern void authenticateAuthUserRequestRemoveIp(AuthUserRequest::Pointer, Ip::Address const &);
+extern void authenticateAuthUserRequestRemoveIp(Auth::UserRequest::Pointer, Ip::Address const &);
/// \ingroup AuthAPI
-extern void authenticateAuthUserRequestClearIp(AuthUserRequest::Pointer);
+extern void authenticateAuthUserRequestClearIp(Auth::UserRequest::Pointer);
/// \ingroup AuthAPI
-extern int authenticateAuthUserRequestIPCount(AuthUserRequest::Pointer);
+extern int authenticateAuthUserRequestIPCount(Auth::UserRequest::Pointer);
/// \ingroup AuthAPI
-/// See AuthUserRequest::authenticated()
-extern int authenticateUserAuthenticated(AuthUserRequest::Pointer);
+/// See Auth::UserRequest::authenticated()
+extern int authenticateUserAuthenticated(Auth::UserRequest::Pointer);
#endif /* USE_AUTH */
#endif /* SQUID_AUTHUSERREQUEST_H */
diff -u -r -N squid-3.2.0.14/src/AuthReg.cc squid-3.2.0.15/src/AuthReg.cc
--- squid-3.2.0.14/src/AuthReg.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/src/AuthReg.cc 2012-02-06 04:52:31.000000000 +1300
@@ -1,4 +1,4 @@
-#include "config.h"
+#include "squid.h"
#if USE_AUTH
diff -u -r -N squid-3.2.0.14/src/base/AsyncCall.cc squid-3.2.0.15/src/base/AsyncCall.cc
--- squid-3.2.0.14/src/base/AsyncCall.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/src/base/AsyncCall.cc 2012-02-06 04:52:31.000000000 +1300
@@ -2,7 +2,7 @@
* $Id$
*/
-#include "squid.h"
+#include "squid-old.h"
#include "base/AsyncCall.h"
#include "base/AsyncCallQueue.h"
#include "cbdata.h"
diff -u -r -N squid-3.2.0.14/src/base/AsyncCallQueue.cc squid-3.2.0.15/src/base/AsyncCallQueue.cc
--- squid-3.2.0.14/src/base/AsyncCallQueue.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/src/base/AsyncCallQueue.cc 2012-02-06 04:52:31.000000000 +1300
@@ -6,7 +6,7 @@
*
*/
-#include "config.h"
+#include "squid.h"
#include "base/AsyncCallQueue.h"
#include "base/AsyncCall.h"
diff -u -r -N squid-3.2.0.14/src/base/AsyncCallQueue.h squid-3.2.0.15/src/base/AsyncCallQueue.h
--- squid-3.2.0.14/src/base/AsyncCallQueue.h 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/src/base/AsyncCallQueue.h 2012-02-06 04:52:31.000000000 +1300
@@ -7,7 +7,7 @@
#ifndef SQUID_ASYNCCALLQUEUE_H
#define SQUID_ASYNCCALLQUEUE_H
-#include "squid.h"
+#include "squid-old.h"
#include "base/AsyncCall.h"
//class AsyncCall;
diff -u -r -N squid-3.2.0.14/src/base/AsyncJob.cc squid-3.2.0.15/src/base/AsyncJob.cc
--- squid-3.2.0.14/src/base/AsyncJob.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/src/base/AsyncJob.cc 2012-02-06 04:52:31.000000000 +1300
@@ -2,7 +2,7 @@
* DEBUG: section 93 ICAP (RFC 3507) Client
*/
-#include "squid.h"
+#include "squid-old.h"
#include "base/AsyncCall.h"
#include "base/AsyncJob.h"
#include "base/AsyncJobCalls.h"
diff -u -r -N squid-3.2.0.14/src/base/RunnersRegistry.cc squid-3.2.0.15/src/base/RunnersRegistry.cc
--- squid-3.2.0.14/src/base/RunnersRegistry.cc 2011-12-13 00:08:18.000000000 +1300
+++ squid-3.2.0.15/src/base/RunnersRegistry.cc 2012-02-06 04:52:31.000000000 +1300
@@ -1,4 +1,4 @@
-#include "config.h"
+#include "squid.h"
#include "base/RunnersRegistry.h"
#include
#include