]> git.ipfire.org Git - thirdparty/squid.git/log
thirdparty/squid.git
16 years agoUpdates auto-save
Amos Jeffries [Mon, 2 Mar 2009 11:04:34 +0000 (00:04 +1300)] 
Updates auto-save

16 years agoLanguage: Uzbek
Amos Jeffries [Sun, 1 Mar 2009 10:14:01 +0000 (23:14 +1300)] 
Language: Uzbek

16 years agoMerge language-specific CSS directly into templates.
Amos Jeffries [Sat, 28 Feb 2009 11:14:03 +0000 (00:14 +1300)] 
Merge language-specific CSS directly into templates.

This makes translated files display non-LTR languages correctly
in Squid without CSS support.

16 years agoUpdates auto-save
Amos Jeffries [Sat, 28 Feb 2009 11:03:51 +0000 (00:03 +1300)] 
Updates auto-save

16 years agoAuthor: Mohsen Saeedi <mohsen.saeedi@gmail.com>
Amos Jeffries [Sat, 28 Feb 2009 10:40:40 +0000 (23:40 +1300)] 
Author: Mohsen Saeedi <mohsen.saeedi@gmail.com>
Add CSS for Persian language display

Temporarily in errorpages.css.

TODO: merge into templates at translation-time for older Squid.

16 years agoLanguage: Greek
Amos Jeffries [Wed, 25 Feb 2009 01:38:45 +0000 (14:38 +1300)] 
Language: Greek

16 years agoLanguage Updates: Latvian
Amos Jeffries [Sun, 22 Feb 2009 04:30:50 +0000 (17:30 +1300)] 
Language Updates: Latvian

16 years agoUpdates auto-save
Amos Jeffries [Thu, 19 Feb 2009 23:02:28 +0000 (12:02 +1300)] 
Updates auto-save

16 years agoUpdates auto-save
Amos Jeffries [Thu, 19 Feb 2009 17:00:33 +0000 (06:00 +1300)] 
Updates auto-save

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

16 years agoLanguage Updates
Amos Jeffries [Wed, 18 Feb 2009 05:25:32 +0000 (18:25 +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 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 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 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 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 agoBuild error
Amos Jeffries [Mon, 9 Feb 2009 10:52:15 +0000 (23:52 +1300)] 
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 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 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 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 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 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

16 years agoMake squiclient compile again
Henrik Nordstrom [Tue, 3 Feb 2009 19:50:12 +0000 (20:50 +0100)] 
Make squiclient compile again

16 years agoMost configure test programs need stdlib.h for exit()
Henrik Nordstrom [Tue, 3 Feb 2009 19:29:46 +0000 (20:29 +0100)] 
Most configure test programs need stdlib.h for exit()

16 years agoConverted more String.unsafeBuf users
Francesco Chemolli [Tue, 3 Feb 2009 17:36:15 +0000 (18:36 +0100)] 
Converted more String.unsafeBuf users
String.operator[] now returns a copy of a char rather than a reference.
Implemented StringNg-alike String.find() method. Eventual aim is to get rid of users of String.pos()

16 years agoMerged from trunk
Francesco Chemolli [Mon, 2 Feb 2009 23:52:13 +0000 (00:52 +0100)] 
Merged from trunk

16 years agoFixup parsing of invalid version numbers
Amos Jeffries [Mon, 2 Feb 2009 12:50:23 +0000 (01:50 +1300)] 
Fixup parsing of invalid version numbers

16 years agoMove -DDFAULT_SQUID_DATA_DIR & CONFIG_DIR from CFLAGS to DEFS
Henrik Nordstrom [Mon, 2 Feb 2009 12:33:27 +0000 (13:33 +0100)] 
Move -DDFAULT_SQUID_DATA_DIR & CONFIG_DIR from CFLAGS to DEFS

16 years agoMerged from trunk
Francesco Chemolli [Sun, 1 Feb 2009 20:57:31 +0000 (21:57 +0100)] 
Merged from trunk

16 years agoTypo in half_closed_clients documentation
Amos Jeffries [Sun, 1 Feb 2009 06:05:58 +0000 (19:05 +1300)] 
Typo in half_closed_clients documentation

16 years agoAdd --enable-x-accelerator-vary to TestBed
Amos Jeffries [Sun, 1 Feb 2009 01:44:48 +0000 (14:44 +1300)] 
Add --enable-x-accelerator-vary to TestBed

16 years agoVerified and converted more String users.
Francesco Chemolli [Sat, 31 Jan 2009 18:23:44 +0000 (19:23 +0100)] 
Verified and converted more String users.

16 years agoBug 2583: pure virtual method called
Christos Tsantilas [Sat, 31 Jan 2009 17:40:03 +0000 (19:40 +0200)] 
Bug 2583: pure virtual method called

Inside the Adaptation::Initiator::announceInitiatorAbort method the check
x==NULL is not enough. We must also check if the x variable (of type Initiate)
is valid.

16 years agoVerified and converted more String users.
Francesco Chemolli [Sat, 31 Jan 2009 17:23:17 +0000 (18:23 +0100)] 
Verified and converted more String users.

16 years agoVerified and converted more String users.
Francesco Chemolli [Sat, 31 Jan 2009 17:04:05 +0000 (18:04 +0100)] 
Verified and converted more String users.

16 years agoVerified and converted more String users.
Francesco Chemolli [Sat, 31 Jan 2009 16:40:06 +0000 (17:40 +0100)] 
Verified and converted more String users.

16 years agoVerified and converted more String users.
Francesco Chemolli [Sat, 31 Jan 2009 16:20:17 +0000 (17:20 +0100)] 
Verified and converted more String users.

16 years agoVerified and converted more String users.
Francesco Chemolli [Sat, 31 Jan 2009 16:05:18 +0000 (17:05 +0100)] 
Verified and converted more String users.

16 years agoMerged from trunk
Francesco Chemolli [Sat, 31 Jan 2009 14:20:03 +0000 (15:20 +0100)] 
Merged from trunk

16 years agoHandle all unknown HTTP/* as HTTP/0.9
Amos Jeffries [Sat, 31 Jan 2009 12:42:05 +0000 (01:42 +1300)] 
Handle all unknown HTTP/* as HTTP/0.9

Assume that all requests are HTTP/0.9 unless explicity stated otherwise.
Drop assert on missing or overflow numeric cases.

16 years agoLanguage: Arabic
Amos Jeffries [Sat, 31 Jan 2009 12:04:44 +0000 (01:04 +1300)] 
Language: Arabic

16 years agoLanguage: Arabic
Amos Jeffries [Sat, 31 Jan 2009 12:03:17 +0000 (01:03 +1300)] 
Language: Arabic

16 years agoMerge from trunk
Amos Jeffries [Sat, 31 Jan 2009 12:00:32 +0000 (01:00 +1300)] 
Merge from trunk

16 years agoFix link error on ufsdump
Amos Jeffries [Sat, 31 Jan 2009 11:44:58 +0000 (00:44 +1300)] 
Fix link error on ufsdump

It appears that libmiscutil MUST be linked after all used local .la libs
or it's symbols may get dropped.

16 years agoadd content area for CSS of cfgman pages
Amos Jeffries [Sat, 31 Jan 2009 09:05:16 +0000 (02:05 -0700)] 
add content area for CSS of cfgman pages

16 years agoVerified and converted more String users.
Francesco Chemolli [Fri, 30 Jan 2009 14:55:22 +0000 (15:55 +0100)] 
Verified and converted more String users.

16 years agoVerified and converted more String users.
Francesco Chemolli [Fri, 30 Jan 2009 09:54:59 +0000 (10:54 +0100)] 
Verified and converted more String users.

16 years agoVerified and converted String users.
Francesco Chemolli [Thu, 29 Jan 2009 16:14:56 +0000 (17:14 +0100)] 
Verified and converted String users.

16 years agoConverted the String implementation itself
Francesco Chemolli [Thu, 29 Jan 2009 16:14:07 +0000 (17:14 +0100)] 
Converted the String implementation itself

16 years agoRefactoring: renamed String::buf() to unsafeBuf().
Francesco Chemolli [Thu, 29 Jan 2009 14:50:26 +0000 (15:50 +0100)] 
Refactoring: renamed String::buf() to unsafeBuf().
Introduced aliases for it named String::rawBuf() and String::termedBuf().
Introduced String::defined() and String::undefined().

16 years agoThe idnsSentQueryVC function called as AsyncCall. There is the possibility
Christos Tsantilas [Wed, 28 Jan 2009 18:02:36 +0000 (20:02 +0200)] 
The idnsSentQueryVC function called as AsyncCall. There is the possibility
when this function called the fd has start closing but not realy closed yet.
In this case this function will try to do a comm_write (idnsDoSendQueryVC
function) on sockect which closing and an assertion will triggered.
An extra test needed here to test if the socket closing and if yes just return.

16 years agoBug 2505: assertion failed: comm.cc:350: "!fd_table[fd].closing()" (comment #12,bug...
Christos Tsantilas [Tue, 27 Jan 2009 21:53:47 +0000 (23:53 +0200)] 
Bug 2505: assertion failed: comm.cc:350: "!fd_table[fd].closing()" (comment #12,bug 2505)

This patch fixes the bug reported in comment #12 of bug 2505.
In the DeferredReadManager::kickARead method it is possible that the socket in
which refers a DeferredRead object has been closed, but the DeferredReadManager
is not informed yet because the related comm_close handler has not been
executed yet.
This patch checks the socket state and if it is closing just ignore the object.

16 years agoAuthor: Alex Rousskov <rousskov@measurement-factory.com>
Christos Tsantilas [Tue, 27 Jan 2009 21:51:41 +0000 (23:51 +0200)] 
Author: Alex Rousskov <rousskov@measurement-factory.com>
Bug 2505: assertion failed: comm.cc:1727: "p == call"

Do not assert that the close handler being removed must be in
the list because comm_close removes all close handlers before any FD handlers
are fired.

There also seems to be an unrelated(?) problem: comm_remove_close_handler
does not really remove the callback. It only cancels the call. It should
probably remove the callback as well to prevent an unlikely situation where
the close handler list grows "too much".

16 years agoBug 2524: Connection close failed on Partial Content
Christos Tsantilas [Tue, 27 Jan 2009 17:37:32 +0000 (19:37 +0200)] 
Bug 2524: Connection close failed on Partial Content

The method ClientSocketContext::socketState in the case of partial content
request when all the expected bytes received and the proxy_keepalive flag is
not set must return STREAM_UNPLANNED_COMPLETE to inform the caller that the
socket should closed.

16 years agoAuthor: Martin Huter <m.huter@phion.com>
Amos Jeffries [Tue, 27 Jan 2009 11:40:08 +0000 (00:40 +1300)] 
Author: Martin Huter <m.huter@phion.com>
Bug 2563: 99+% CPU Usage on FTP URL

16 years agoFix ESI breaks with --disable-optimizations
Amos Jeffries [Tue, 27 Jan 2009 00:22:12 +0000 (13:22 +1300)] 
Fix ESI breaks with --disable-optimizations

Turns out the libTrie configure script shares some macro handling
which needed a re-sync with the main squid script.

TODO: These should really be made into shared macros.

16 years agoFix libdb detection tests
Amos Jeffries [Mon, 26 Jan 2009 13:37:30 +0000 (02:37 +1300)] 
Fix libdb detection tests

16 years agoFix memory leak from logformat parsing
Amos Jeffries [Mon, 26 Jan 2009 12:04:09 +0000 (01:04 +1300)] 
Fix memory leak from logformat parsing

16 years agoDrop special localhost conversion.
Amos Jeffries [Mon, 26 Jan 2009 08:38:26 +0000 (21:38 +1300)] 
Drop special localhost conversion.

This was done as an experiment. It's now an RFC violation.
With no known uses it can easily die.

16 years agoFix PF_INET6 test under C++
Amos Jeffries [Mon, 26 Jan 2009 08:23:36 +0000 (21:23 +1300)] 
Fix PF_INET6 test under C++

16 years agoMake configure use AC_MSG_NOTICE and AC_MSG_WARN
Amos Jeffries [Mon, 26 Jan 2009 07:39:42 +0000 (20:39 +1300)] 
Make configure use AC_MSG_NOTICE and AC_MSG_WARN

These macros are cleaner on the output than custom echo messages.
Makes quiet build truely quiet for the main squid configure.in.

TODO: sub-configures.

16 years agoMake configure tests use C++ instead of C
Amos Jeffries [Mon, 26 Jan 2009 02:35:17 +0000 (15:35 +1300)] 
Make configure tests use C++ instead of C

16 years agoBug 2571: pt 1: Add DNS failover to use IPv4-only listen when IPv6 fails.
Amos Jeffries [Sat, 24 Jan 2009 00:18:51 +0000 (13:18 +1300)] 
Bug 2571: pt 1: Add DNS failover to use IPv4-only listen when IPv6 fails.

TODO: there are other ports to check for this same behavior.

16 years agoBug 2576: Make translate target obey --disable-auto-locale
Amos Jeffries [Fri, 23 Jan 2009 23:38:10 +0000 (12:38 +1300)] 
Bug 2576: Make translate target obey --disable-auto-locale

16 years agoMove -DDFAULT_SQUID_DATA_DIR & CONFIG_DIR from CFLAGS to DEFS
Henrik Nordstrom [Fri, 23 Jan 2009 23:04:56 +0000 (00:04 +0100)] 
Move -DDFAULT_SQUID_DATA_DIR & CONFIG_DIR from CFLAGS to DEFS

For some reason gcc on OpenBSD does not like having these in CFLAGS
when running configure. However works fine having them expanded in
src/Makefile DEFS variable just like -DDEFAULT_SQUID_CONFIG_FILE

16 years agoTypo. prevent bitrot in dead code too
Amos Jeffries [Fri, 23 Jan 2009 13:58:21 +0000 (02:58 +1300)] 
Typo. prevent bitrot in dead code too

16 years agoAuthor: Adrian Chadd <adrian@creative.net.au>
Amos Jeffries [Fri, 23 Jan 2009 02:07:48 +0000 (15:07 +1300)] 
Author: Adrian Chadd <adrian@creative.net.au>
Bug 2558: pt 1: Connect forwarding setting error too early

This does not appear to be all of the cause of 2558, but its part of the
problem anyway. Request forwarding should not be setting a connection
failed error page until all attempts at making a connection have failed.
This patch does not correct the place its being set, but clears err before
re-trying a connection.

From IRC:
(13:09:03) adri: no idea about v4-only hostnames
but the bug is still valid; you're creating errors on
the connect fail, but not clearing them before the next connect

16 years agoRegression Fix: rollback bug 2395 fix.
Amos Jeffries [Fri, 23 Jan 2009 01:59:29 +0000 (14:59 +1300)] 
Regression Fix: rollback bug 2395 fix.

Fixing bug 2395 uncovered a much more serious bug 2558.
It was not found earlier due to bug 2558 being a slow incremental affect
hidden by already-cached objects.

This rollback is intended as a temporary measure until a good fix can be
found for both bugs.

16 years agoCleanup: zap CVS Id tags
Amos Jeffries [Wed, 21 Jan 2009 03:47:47 +0000 (16:47 +1300)] 
Cleanup: zap CVS Id tags

Bazaar does not need or use these tags so they no longer represent the
true current version of files.

Tags left as default (unset) values so sourceforge mirror can still issue
correctly labeled versions as before.

16 years agoSync autoconf requirements with bootstrap script.
Amos Jeffries [Wed, 21 Jan 2009 03:31:18 +0000 (16:31 +1300)] 
Sync autoconf requirements with bootstrap script.

Squid-3.1+ require at least autoconf 2.61.
Up to 2.63 tested and found working so far.