]> git.ipfire.org Git - thirdparty/squid.git/log
thirdparty/squid.git
16 years agoRenamed ICAP source files from icap/ICAPFoo.{cc,h} to icap/Foo.{cc,h}.
Alex Rousskov [Fri, 20 Feb 2009 19:08:58 +0000 (12:08 -0700)] 
Renamed ICAP source files from icap/ICAPFoo.{cc,h} to icap/Foo.{cc,h}.

Placed ICAP names into Adaptation::Icap namespace, renaming ICAPFoo to
Adaptation::Icap::Foo.

16 years agoUse newly added CBDATA_NAMESPACED_CLASS_INIT.
Alex Rousskov [Fri, 20 Feb 2009 18:53:22 +0000 (11:53 -0700)] 
Use newly added CBDATA_NAMESPACED_CLASS_INIT.

16 years agoAdded CBDATA_NAMESPACED_CLASS_INIT to define static members of classes that
Alex Rousskov [Fri, 20 Feb 2009 18:48:56 +0000 (11:48 -0700)] 
Added CBDATA_NAMESPACED_CLASS_INIT to define static members of classes that
live in a namespace.

The alternative was to change CBDATA_CLASS_* macros so that the static member
name does not depend on the type. That may have been better, but perhaps there
are some, unknown to me, low-level reasons why unique member names are
required for class cbdata code to work.

16 years agoMerged from trunk.
Alex Rousskov [Fri, 20 Feb 2009 00:14:30 +0000 (17:14 -0700)] 
Merged from trunk.

16 years agoBuild ip before icmp because icmp tests require ip/libip
Alex Rousskov [Thu, 19 Feb 2009 22:55:24 +0000 (15:55 -0700)] 
Build ip before icmp because icmp tests require ip/libip
This bug was found by test-builds.sh.

16 years agoMoved src/ICAP into src/adaptation/icap.
Alex Rousskov [Thu, 19 Feb 2009 22:35:50 +0000 (15:35 -0700)] 
Moved src/ICAP into src/adaptation/icap.
Moved src/eCAP into src/adaptation/ecap.

As a side effect, eCAP now tests its headers. MessageRep.h needed to include
config.h to pass the tests, which probably indicates a bug in some other
header (possibly enums.h).

ICAP source file names still need to be changed.

16 years agoMerged from trunk.
Alex Rousskov [Thu, 19 Feb 2009 20:42:45 +0000 (13:42 -0700)] 
Merged from trunk.

16 years agoUse Common.am and TestHeaders.am instead of replicating their code.
Alex Rousskov [Thu, 19 Feb 2009 20:38:18 +0000 (13:38 -0700)] 
Use Common.am and TestHeaders.am instead of replicating their code.

16 years agotestheaders.sh do not require the source directory to end with a slash (/).
Alex Rousskov [Thu, 19 Feb 2009 20:36:37 +0000 (13:36 -0700)] 
testheaders.sh do not require the source directory to end with a slash (/).

16 years agoFixed default -I options: there are no headers in $(top_builddir)/lib/ but
Alex Rousskov [Thu, 19 Feb 2009 20:28:48 +0000 (13:28 -0700)] 
Fixed default -I options: there are no headers in $(top_builddir)/lib/ but
there is autoconf.h in $(top_builddir)/include/

Fixed hard-coded OBJS dependencies: autoconf.h is in $(top_builddir)/include/
The bug apparently did not bother anyobody too much, adding to my suspicion
that we do not really need these hard-coded OBJS dependencies.

16 years agoMerged from trunk.
Alex Rousskov [Thu, 19 Feb 2009 19:17:16 +0000 (12:17 -0700)] 
Merged from trunk.

16 years agoUse automake comments in automake makefiles.
Alex Rousskov [Thu, 19 Feb 2009 19:16:18 +0000 (12:16 -0700)] 
Use automake comments in automake makefiles.

16 years agoSourceLayout: src/base, take 0 with tweaks
Alex Rousskov [Thu, 19 Feb 2009 19:00:01 +0000 (12:00 -0700)] 
SourceLayout: src/base, take 0 with tweaks

Added src/base directory for fundamental, commonly-used code pieces that are
not large enough to warrant their own directories. Currently base/ contains
the beginning of AsyncCalls hierarchy, which may eventually get its own
directory.

Removed src/ip from the top-level SUBDIRS list. Made cf_gen compile without
libip.

Started building makefile includes, to be used in subdir makefiles:
src/Common.am and src/TestHeaders.am.

16 years agotestHeaders is not a program that needs to be built. It is a phony target.
Alex Rousskov [Thu, 19 Feb 2009 18:35:32 +0000 (11:35 -0700)] 
testHeaders is not a program that needs to be built. It is a phony target.

Polished comments.

16 years agoMoved header testing from Common.am to TestHeaders.am. Not all makefiles
Alex Rousskov [Thu, 19 Feb 2009 18:19:37 +0000 (11:19 -0700)] 
Moved header testing from Common.am to TestHeaders.am. Not all makefiles
using Common.am will use a standardized header test, at least for now.
We have makefiles that test headers in subdirectories, for example.

16 years agoRenamed common.am to Common.am to better blend with Makefile.am and sources
Alex Rousskov [Thu, 19 Feb 2009 17:40:19 +0000 (10:40 -0700)] 
Renamed common.am to Common.am to better blend with Makefile.am and sources
naming scheme.

16 years agoCorrect parsing of syslog:... log files. Was destroying the configured parameters.
Henrik Nordstrom [Thu, 19 Feb 2009 09:36:01 +0000 (10:36 +0100)] 
Correct parsing of syslog:... log files. Was destroying the configured parameters.

Forward-port from squid-2. Detected by GCC-4.4.

16 years agoMerged from trunk.
Alex Rousskov [Thu, 19 Feb 2009 07:19:01 +0000 (00:19 -0700)] 
Merged from trunk.

16 years agoMoved src/ICAP/AsyncJob.* to src/base/ to prepare for the src/ICAP move to
Alex Rousskov [Thu, 19 Feb 2009 07:17:31 +0000 (00:17 -0700)] 
Moved src/ICAP/AsyncJob.* to src/base/ to prepare for the src/ICAP move to
src/adaptation/icap.

16 years agoAdded src/base directory for fundamental, commonly-used code pieces that are
Alex Rousskov [Thu, 19 Feb 2009 07:16:14 +0000 (00:16 -0700)] 
Added src/base directory for fundamental, commonly-used code pieces that are
not large enough to warrant their own directories. Currently base/ contains
the beginning of AsyncCalls hierarchy, which may eventually get its own
directory.

Reduced cf_gen dependencies so that it can be built before subdirectories,
as, apparently, required by BUILT_SOURCES.

Moved some libraries that are used by virtually all executables to COMMON_LIBS.
The list will probably grow as we try to reduce the insane complexity of the
current Makefile.am.

16 years agoAdded src/base directory for fundamental, commonly-used code pieces that are
Alex Rousskov [Thu, 19 Feb 2009 07:15:47 +0000 (00:15 -0700)] 
Added src/base directory for fundamental, commonly-used code pieces that are
not large enough to warrant their own directories. Currently base/ contains
the beginning of AsyncCalls hierarchy, which may eventually get its own
directory.

16 years agoCopied common Makefile.am stuff seen in a few Makefile.ams to a single
Alex Rousskov [Thu, 19 Feb 2009 07:14:08 +0000 (00:14 -0700)] 
Copied common Makefile.am stuff seen in a few Makefile.ams to a single
Makefile "header". This avoids evil code duplication. This file should be
included by most Makefile.ams inside src/. Needs more work as some of the
copied code is questionable and more code can probably be extracted here. See
XXXs.

TODO: The .h dependency test script part seems pretty universal, but if
many subdirs need to customize it, we may want to put it into a separate
Makefile "header".

16 years agoRemoved src/ip from the top-level SUBDIRS list. That directory is not
Alex Rousskov [Thu, 19 Feb 2009 07:11:38 +0000 (00:11 -0700)] 
Removed src/ip from the top-level SUBDIRS list. That directory is not
a top-level subdirectory and it is already listed in src/Makefile.am.

The commit message introducing the change talked about libip being a "POD
library". I do not know what that is, but, hopefully, we do not really need to
make this kind of exceptions for any src/ libraries.

16 years agoAdded forgotten os/ header files in hope to make "make distcheck" work again.
Alex Rousskov [Thu, 19 Feb 2009 06:38:40 +0000 (23:38 -0700)] 
Added forgotten os/ header files in hope to make "make distcheck" work again.

16 years agoFixed gnuregex.h typo to avoid:
Alex Rousskov [Thu, 19 Feb 2009 06:13:18 +0000 (23:13 -0700)] 
Fixed gnuregex.h typo to avoid:
No rule to make target `gnuregex.h', needed by `distdir'
errors.

16 years agoCorrect libcompat.la reference in helpers/
Henrik Nordstrom [Wed, 18 Feb 2009 12:26:04 +0000 (13:26 +0100)] 
Correct libcompat.la reference in helpers/

16 years agoSupport libtool2
Henrik Nordstrom [Wed, 18 Feb 2009 12:18:04 +0000 (13:18 +0100)] 
Support libtool2

16 years agoAuthor: Francesco Chemolli <kinkie@squid-cache.org>
Amos Jeffries [Wed, 18 Feb 2009 10:58:53 +0000 (23:58 +1300)] 
Author: Francesco Chemolli <kinkie@squid-cache.org>
String NG : basic SquidString updates pt 2

- finished the analysis of raw buffer exporting, divided among c-sting
and raw-buf access clients
- general sanitization
- reversal of some wrongly-renamed variables and comments
- implementation of SQUIDSTRINGPRINT and SQUIDSTRINGPH (placeholder) macros and
    psize() function for printf-style calls
- implementation of, and migration to, String::size_type and String::npos
- de-inlining of pos(), rpos(), find() and rfind() calls
- implementation and use of a proper substr() call

16 years agoSourceLayout: setup libcompat.la for portability primitives
Amos Jeffries [Wed, 18 Feb 2009 09:45:46 +0000 (22:45 +1300)] 
SourceLayout: setup libcompat.la for portability primitives

This library forms an underlayer which intends to be seamless for the rest
of Squid.

For code to be eligible for inclusion at this lowest layer it must be
emulating or wrapping a piece of OS-provided API for use on other OS
where it is not provided.

Shared code which is unique to Squid is not portability.

API mappings which are OS-specific are all defined for their particular
OS in the os/* files.

API mappings which are provided by multiple OS or support libraries
are mapped in compat/*

Emulators are acceptable, though the aim should be to inline or template
most of the code so only .h are really needed.

16 years agoFixed typo in DelayTaggedBucket::stats.
Francesco Chemolli [Wed, 18 Feb 2009 09:45:32 +0000 (10:45 +0100)] 
Fixed typo in DelayTaggedBucket::stats.
Added comments.
String.cci doesn't need to include squid.h, config.h is enough
In errorpage.cc there is no need to drop to char* land, we can work with String.

16 years agoLanguage Updates
Amos Jeffries [Wed, 18 Feb 2009 05:26:54 +0000 (18:26 +1300)] 
Language Updates

16 years agoLanguage Updates
Amos Jeffries [Wed, 18 Feb 2009 05:25:32 +0000 (18:25 +1300)] 
Language Updates

16 years agoLanguage Updates
Amos Jeffries [Wed, 18 Feb 2009 05:07:40 +0000 (18:07 +1300)] 
Language Updates

16 years agoMerge from trunk
Amos Jeffries [Wed, 18 Feb 2009 05:06:24 +0000 (18:06 +1300)] 
Merge from trunk

16 years agoUpdates auto-save
Amos Jeffries [Wed, 18 Feb 2009 05:00:30 +0000 (18:00 +1300)] 
Updates auto-save

16 years agoSync updates from Rosetta Project
Amos Jeffries [Wed, 18 Feb 2009 04:59:44 +0000 (17:59 +1300)] 
Sync updates from Rosetta Project

16 years agoRemove duplicate assert.h, and bad includes of compat/* headers.
Amos Jeffries [Wed, 18 Feb 2009 00:18:43 +0000 (13:18 +1300)] 
Remove duplicate assert.h, and bad includes of compat/* headers.

16 years agoMerged from trunk
Francesco Chemolli [Tue, 17 Feb 2009 08:40:45 +0000 (09:40 +0100)] 
Merged from trunk

16 years agoBug fix: When an AccessRule for a service group exist in AccessRules
Christos Tsantilas [Mon, 16 Feb 2009 23:33:48 +0000 (01:33 +0200)] 
Bug fix: When an AccessRule for a service group exist in AccessRules
list do not add it again in the list.

16 years agoRegression Fix: Bug #2586: adaptation memory leaks on reconfigure
Christos Tsantilas [Mon, 16 Feb 2009 21:24:39 +0000 (23:24 +0200)] 
Regression Fix: Bug #2586: adaptation memory leaks on reconfigure
The patch is wrong: on shutdown calls Adaptation::Config::DestroyConfig,
twice causing segmentation fault.

16 years agoObsolete: dependency on nss_common.h and nss.h
Amos Jeffries [Mon, 16 Feb 2009 02:20:50 +0000 (15:20 +1300)] 
Obsolete: dependency on nss_common.h and nss.h

Squid-3 currently make no internal reference to any of its symbols.

Squid appears to build and run just fine despite this header being
detected as 'broken' during Squid build tests for some time.

16 years agoMerge from trunk
Amos Jeffries [Sat, 14 Feb 2009 13:19:07 +0000 (02:19 +1300)] 
Merge from trunk

16 years agoShuffle squid-compat to compat/
Amos Jeffries [Sat, 14 Feb 2009 13:18:34 +0000 (02:18 +1300)] 
Shuffle squid-compat to compat/

16 years agoBug 2593: Compile errors on Solaris 10
Amos Jeffries [Fri, 13 Feb 2009 11:23:13 +0000 (00:23 +1300)] 
Bug 2593: Compile errors on Solaris 10

16 years agoBug 2287: Send a 505 on requests with unsupported HTTP versions
Amos Jeffries [Fri, 13 Feb 2009 04:32:34 +0000 (17:32 +1300)] 
Bug 2287: Send a 505 on requests with unsupported HTTP versions

Squid currenty accepts requests with well-formed 0.9, 1.0, and 1.1 versions
and one special case of mising version (assumed to be 0.9 legacy requests)

All others including well-formed 0.x < 0.9 are now aborted with a
HTTP 1.1 compliant 505 Version Not Supported error.

16 years agoMerged from trunk
Francesco Chemolli [Thu, 12 Feb 2009 16:09:11 +0000 (17:09 +0100)] 
Merged from trunk

16 years agoMigrated *printf's to SQUIDSTRINGPH and SQUIDSTRINGPRINT macros
Francesco Chemolli [Thu, 12 Feb 2009 16:06:20 +0000 (17:06 +0100)] 
Migrated *printf's to SQUIDSTRINGPH and SQUIDSTRINGPRINT macros
de-inlined String::{find,rfind,pos,rpos}

16 years agoImplemented String::npos to parametrize 'search not found' results
Francesco Chemolli [Thu, 12 Feb 2009 11:17:16 +0000 (12:17 +0100)] 
Implemented String::npos to parametrize 'search not found' results
Converted some printf to macro-based.

16 years agounsafeBuf is no more.
Francesco Chemolli [Thu, 12 Feb 2009 10:46:08 +0000 (11:46 +0100)] 
unsafeBuf is no more.
Reverted shortening of size_type to unisgned int, due to issue with std::string::npos.

16 years agobug 2591: adaptation_access does not work
Christos Tsantilas [Wed, 11 Feb 2009 19:11:36 +0000 (21:11 +0200)] 
bug 2591: adaptation_access does not work

An access checklist required for each service set, so we need only one
AccessRule object for each adaptation service set
This patch:
  - When parses a adaptation_access line checks if an AccessRule object exist
for the service set and if yes append the access checklist to this object else
creates a new AccessRule object for this service set
  - The AccessRule constructor takes as argument now the reference service set
name (groupId)
  - The new Adaptation::FindRuleByGroupId method created. This method returns
the AccessRule object for a service set using its name (groupId)

16 years agodefined printf-helping macros,
Francesco Chemolli [Wed, 11 Feb 2009 17:08:24 +0000 (18:08 +0100)] 
defined printf-helping macros,
reverted some unnecessary renamings
further unsafeBuf conversions.

16 years agoImplemented printf-specific String::psize()
Francesco Chemolli [Wed, 11 Feb 2009 15:28:22 +0000 (16:28 +0100)] 
Implemented printf-specific String::psize()
Fixed unit tests.

16 years agoParser should talk about auth_param not authparam
Amos Jeffries [Wed, 11 Feb 2009 11:10:32 +0000 (00:10 +1300)] 
Parser should talk about auth_param not authparam

16 years agoCleanup malloc stats display
Amos Jeffries [Wed, 11 Feb 2009 11:07:53 +0000 (00:07 +1300)] 
Cleanup malloc stats display

16 years agoConverted more unsafeBuf users.
Francesco Chemolli [Tue, 10 Feb 2009 11:02:53 +0000 (12:02 +0100)] 
Converted more unsafeBuf users.

16 years agoHacked in delayed initialization of constants, to avoid asserts in mempools at shutdo...
Francesco Chemolli [Tue, 10 Feb 2009 09:17:18 +0000 (10:17 +0100)] 
Hacked in delayed initialization of constants, to avoid asserts in mempools at shutdown time.

16 years agoImplemented String.psize() (for printf())
Francesco Chemolli [Mon, 9 Feb 2009 15:47:31 +0000 (16:47 +0100)] 
Implemented String.psize() (for printf())
Changed String storage size from 'unsigned short int' to size_t
Implemented String.rfind()
Implemented String.substr() and related tests
Made String.set() private, it's ready to be removed unless there's any dissent
Converted ftp.cc to use rfind in place of rpos

16 years agoMerged from trunk
Francesco Chemolli [Mon, 9 Feb 2009 13:40:41 +0000 (14:40 +0100)] 
Merged from trunk

16 years agoBuild error
Amos Jeffries [Mon, 9 Feb 2009 10:52:15 +0000 (23:52 +1300)] 
Build error

16 years agoMerge from trunk
Amos Jeffries [Mon, 9 Feb 2009 08:53:49 +0000 (21:53 +1300)] 
Merge from trunk

16 years agoFinal build error
Amos Jeffries [Mon, 9 Feb 2009 08:49:31 +0000 (21:49 +1300)] 
Final build error

16 years agoBug 419: Hop by Hop headers MUST NOT be forwarded (attempt 2)
Amos Jeffries [Mon, 9 Feb 2009 05:33:18 +0000 (18:33 +1300)] 
Bug 419: Hop by Hop headers MUST NOT be forwarded (attempt 2)

This attempt builds on Henriks re-work of the client-request to
server-request cloning done since the last attempt was made at closing
this bug.

Adds all RFC 2616 listed Hop-by-hop headers to the clone selection test
as 'ignore' cases unless otherwise handled already.

The test for whether they exist in Connection: is moved to the default
case as an inline. Which reduces the code a fair bit and prevents the
side case where a specially handled header gets ignored because the
client explicitly added it to Connection: when it did not have to.

This method sets up a background default of not passing the hop-by-hop
headers while allowing any code which explicitly sets or copies the
headers across to operate as before without interference.

16 years agoMissing file commit
Francesco Chemolli [Sun, 8 Feb 2009 20:58:01 +0000 (21:58 +0100)] 
Missing file commit

16 years agoRemoved unused String::set
Francesco Chemolli [Sun, 8 Feb 2009 20:57:09 +0000 (21:57 +0100)] 
Removed unused String::set

16 years agorename libsquid-compat directory to squid-compat
Amos Jeffries [Sun, 8 Feb 2009 11:52:11 +0000 (00:52 +1300)] 
rename libsquid-compat directory to squid-compat

16 years agorename compat lib to libcompat.la since we use full path to link
Amos Jeffries [Sun, 8 Feb 2009 11:49:29 +0000 (00:49 +1300)] 
rename compat lib to libcompat.la since we use full path to link

16 years agoTestBed: silence warnings from make on clean directory
Amos Jeffries [Sun, 8 Feb 2009 05:57:17 +0000 (18:57 +1300)] 
TestBed: silence warnings from make on clean directory

16 years agoTestBed: public branch name not always available. use checkout instead.
Amos Jeffries [Sun, 8 Feb 2009 05:47:22 +0000 (18:47 +1300)] 
TestBed: public branch name not always available. use checkout instead.

16 years agoMerge from trunk
Amos Jeffries [Sun, 8 Feb 2009 05:20:15 +0000 (18:20 +1300)] 
Merge from trunk

16 years agoTestBed: tweak script
Amos Jeffries [Sun, 8 Feb 2009 04:56:58 +0000 (21:56 -0700)] 
TestBed: tweak script

16 years agoTestBed: paths are not portable
Amos Jeffries [Sun, 8 Feb 2009 04:34:34 +0000 (21:34 -0700)] 
TestBed: paths are not portable

16 years agoTestBed: add slave tester script
Amos Jeffries [Sun, 8 Feb 2009 03:26:04 +0000 (16:26 +1300)] 
TestBed: add slave tester script

This is draft #2 of the multi-machine script. I have it running locally.

As an intermediary step to kick wider testing until we get something
better going.  This script can be run by cron and sends an email to
noc@squid-cache.org detailing the local system OS, CPU, and build results.

Requires:
    sendmail or mailer providing sendmail API
    bzr with checkout of (trunk, SQUID_3_1, or SQUID_3_0)

TODO:
    check that the binaries called are portable

16 years agoMemory leak on PconnPools
Amos Jeffries [Sun, 8 Feb 2009 00:23:36 +0000 (13:23 +1300)] 
Memory leak on PconnPools

Need to free the Pconn hash table properly.
constructor/desctructor are both required.

16 years agoAuthor: Francesco Chemolli <kinkie@squid-cache.org>
Amos Jeffries [Sun, 8 Feb 2009 00:02:47 +0000 (13:02 +1300)] 
Author: Francesco Chemolli <kinkie@squid-cache.org>
Cleanups: Remove code handling K&R-style varargs.

It should be a safe enough bet that any C++ compiler can handle STDC-style varargs.
This patch removes all the (mostly spaghetti) code which used to handle K&R-style varargs calls.

16 years agoMerged from trunk
Francesco Chemolli [Sat, 7 Feb 2009 22:24:50 +0000 (23:24 +0100)] 
Merged from trunk

16 years agoTrim squid_ from compat filenames
Amos Jeffries [Sat, 7 Feb 2009 13:59:04 +0000 (02:59 +1300)] 
Trim squid_ from compat filenames

16 years agorollout r9485. I was mistaken.
Amos Jeffries [Sat, 7 Feb 2009 11:34:55 +0000 (00:34 +1300)] 
rollout r9485. I was mistaken.

16 years agoRequire full path to compat when included
Amos Jeffries [Sat, 7 Feb 2009 11:28:44 +0000 (00:28 +1300)] 
Require full path to compat when included

16 years agoInclude compat files with full path
Amos Jeffries [Sat, 7 Feb 2009 03:14:20 +0000 (16:14 +1300)] 
Include compat files with full path

16 years agoAuthor: Brad Smith <brad@comstyle.com>
Amos Jeffries [Sat, 7 Feb 2009 02:17:17 +0000 (15:17 +1300)] 
Author: Brad Smith <brad@comstyle.com>
Bug 2592: pt 1: correct autoconf requirements

16 years agoUpdates auto-save
Amos Jeffries [Fri, 6 Feb 2009 11:10:41 +0000 (00:10 +1300)] 
Updates auto-save

16 years agoMerged from trunk
Francesco Chemolli [Fri, 6 Feb 2009 09:46:39 +0000 (10:46 +0100)] 
Merged from trunk

16 years agoAuthor: Francesco Chemolli <kinkie@squid-cache.org>
Amos Jeffries [Fri, 6 Feb 2009 07:54:05 +0000 (20:54 +1300)] 
Author: Francesco Chemolli <kinkie@squid-cache.org>
String NG : fixes initial merge, take 2

Compared to the retired first attempt it:
 - fixes the issues Tsantilas Christos found out about
 - implements String::find
 - some more users analyzed and fixed.

16 years agoBuilds
Amos Jeffries [Fri, 6 Feb 2009 07:50:01 +0000 (20:50 +1300)] 
Builds

16 years agomore String fixups
Francesco Chemolli [Fri, 6 Feb 2009 00:59:06 +0000 (01:59 +0100)] 
more String fixups

16 years agoMerged from trunk
Francesco Chemolli [Thu, 5 Feb 2009 10:59:06 +0000 (11:59 +0100)] 
Merged from trunk

16 years agoSupport HTTP/0.9 in accelerator mode
Henrik Nordstrom [Thu, 5 Feb 2009 10:43:39 +0000 (11:43 +0100)] 
Support HTTP/0.9 in accelerator mode

HTTP/0.9 requests do not have a HTTP header, fruitless to try to parse
a non-existing header.

Also send the right error page if header parsing fails (ERR_INVALID_REQ, not _URL)

16 years agoBug 2588: coredump in rDNS lookup
Amos Jeffries [Thu, 5 Feb 2009 07:50:56 +0000 (20:50 +1300)] 
Bug 2588: coredump in rDNS lookup

Handle rDNS of invalid IP gracefully.

16 years agoFixed more previously-uncaught build errors.
Francesco Chemolli [Wed, 4 Feb 2009 23:25:42 +0000 (00:25 +0100)] 
Fixed more previously-uncaught build errors.

16 years agoFixed some compilation problems caught by Tsantilas Christos.
Francesco Chemolli [Wed, 4 Feb 2009 22:39:55 +0000 (23:39 +0100)] 
Fixed some compilation problems caught by Tsantilas Christos.

16 years agoexternal_acl_type %<{ and %USER_CERT_ / %CA_CERT_ parsing brokenness
Henrik Nordstrom [Wed, 4 Feb 2009 20:21:36 +0000 (21:21 +0100)] 
external_acl_type %<{ and %USER_CERT_ / %CA_CERT_ parsing brokenness

The parsing of external_acl_type formats was sligtly broken, destroying
%<{ (request header) if SSL was enabled and never able to parse %USER_CERT_
or %CA_CERT_..

Also clarified request/reply header syntax slightly

16 years agoMerged from trunk
Francesco Chemolli [Wed, 4 Feb 2009 13:48:24 +0000 (14:48 +0100)] 
Merged from trunk

16 years agoBug 2526: pt 2: default ALLOW when no list specified.
Amos Jeffries [Wed, 4 Feb 2009 09:52:20 +0000 (22:52 +1300)] 
Bug 2526: pt 2: default ALLOW when no list specified.

Fallout from audit of access control checks.
 - Some got sensible defaults added
 - many got slightly more optimized defaults
 - documented the ACLChecklist interface and some API cleanups

16 years agoMerged from trunk
Francesco Chemolli [Tue, 3 Feb 2009 23:13:10 +0000 (00:13 +0100)] 
Merged from trunk

16 years agoAuthor: Christos Tsantilas <chtsanti@users.sourceforge.net>
Amos Jeffries [Tue, 3 Feb 2009 23:06:06 +0000 (12:06 +1300)] 
Author: Christos Tsantilas <chtsanti@users.sourceforge.net>
Bug 2586: adaptation memory leaks on reconfigure

16 years agoAuthor: Christos Tsantilas <chtsanti@users.sourceforge.net>
Amos Jeffries [Tue, 3 Feb 2009 23:04:24 +0000 (12:04 +1300)] 
Author: Christos Tsantilas <chtsanti@users.sourceforge.net>
Bug 2586: Memory leaks on reconfigure

16 years agoNeed to kick all deferred reads when a delaypool is updated, otherwise
Henrik Nordstrom [Tue, 3 Feb 2009 21:35:04 +0000 (22:35 +0100)] 
Need to kick all deferred reads when a delaypool is updated, otherwise
things queue up too long.

The chaos SHOULD be addressed by randomizing the order...
(not yet done. XXX comment addded in comm.cc)

16 years agoOnly account for read ftp data in delay pools once, not twice.
Henrik Nordstrom [Tue, 3 Feb 2009 20:53:43 +0000 (21:53 +0100)] 
Only account for read ftp data in delay pools once, not twice.

The same data was accounted for twice in the delay pools resulting in
half of the expected rate.

16 years agoAccidental typo in previous squidclient change
Henrik Nordstrom [Tue, 3 Feb 2009 20:14:26 +0000 (21:14 +0100)] 
Accidental typo in previous squidclient change

16 years agoCorret squidclient HTTP/0.9 support
Henrik Nordstrom [Tue, 3 Feb 2009 20:10:30 +0000 (21:10 +0100)] 
Corret squidclient HTTP/0.9 support