]>
git.ipfire.org Git - thirdparty/squid.git/log
Henrik Nordstrom [Thu, 13 Aug 2009 10:28:33 +0000 (12:28 +0200)]
Merged from trunk
Henrik Nordstrom [Thu, 13 Aug 2009 10:28:09 +0000 (12:28 +0200)]
Merged from trunk
Amos Jeffries [Fri, 7 Aug 2009 12:44:51 +0000 (00:44 +1200)]
Docs: dstdomain is a 'FAST' group ACL.
Amos Jeffries [Fri, 7 Aug 2009 07:19:33 +0000 (19:19 +1200)]
Polish cache_peer documentation
Amos Jeffries [Fri, 7 Aug 2009 03:37:15 +0000 (15:37 +1200)]
Author: Peter Pramberger <peter@pramberger.at>
Accept-Language: * wildcard support
Also adds proper discard of junk in Accept-Language: headers.
Amos Jeffries [Wed, 5 Aug 2009 06:36:33 +0000 (18:36 +1200)]
Author: Peter Pramberger <peter@pramberger.at>
Languages: many more language dialects
Henrik Nordstrom [Tue, 4 Aug 2009 14:39:10 +0000 (16:39 +0200)]
Bug #2648: stateful helpers stuck in reserved if client disconnects while helper busy
Note: May depend on the other stateful helper cleanups.
Henrik Nordstrom [Tue, 4 Aug 2009 14:09:12 +0000 (16:09 +0200)]
Extended ntlm/negotiate_test to support helper local thinking time/delays
Amos Jeffries [Tue, 4 Aug 2009 10:44:55 +0000 (22:44 +1200)]
Prep for 3.1.0.13
Amos Jeffries [Tue, 4 Aug 2009 02:36:03 +0000 (14:36 +1200)]
Prep for 3.0.STABLE18
Henrik Nordstrom [Tue, 4 Aug 2009 02:35:11 +0000 (04:35 +0200)]
Optimize non-swappable objects slightly
Henrik Nordstrom [Tue, 4 Aug 2009 02:31:27 +0000 (04:31 +0200)]
finetune memory release logics on objects being swapped out
Henrik Nordstrom [Tue, 4 Aug 2009 02:07:56 +0000 (04:07 +0200)]
Unify memory_cache_first/disk into a single memory_cache_mode directive
Henrik Nordstrom [Tue, 4 Aug 2009 02:06:40 +0000 (04:06 +0200)]
Don't release memory objects which have not been stored on disk
Henrik Nordstrom [Tue, 4 Aug 2009 01:38:56 +0000 (03:38 +0200)]
Correct flush newly fetched small objects from cache_mem
Henrik Nordstrom [Tue, 4 Aug 2009 01:05:06 +0000 (03:05 +0200)]
Synced with memcache
Henrik Nordstrom [Tue, 4 Aug 2009 01:04:37 +0000 (03:04 +0200)]
Merged from trunk
Henrik Nordstrom [Tue, 4 Aug 2009 01:01:06 +0000 (03:01 +0200)]
Merged from trunk
Henrik Nordstrom [Mon, 3 Aug 2009 13:27:45 +0000 (15:27 +0200)]
Typo when reducing stateful helpers flags.reserved to a boolean
A lost ! kind of reintroduced Bug #2648 again but different.. sorry.
Henrik Nordstrom [Mon, 3 Aug 2009 10:17:22 +0000 (12:17 +0200)]
Reduce stateful helpers flags.reserved to a boolean
this is further cleanup of stateful helper state. With the deferred state
now gone reserved is a boolean with only two possible states (free or reserved)
Henrik Nordstrom [Mon, 3 Aug 2009 10:01:04 +0000 (12:01 +0200)]
Remove support for deferred state in stateful helpers
the deferred state were previously used for the challenge reuse mode
in NTLM, but is since long unused as it was both incompatible with
NTLMv2 and also not very stable for authentication.
Henrik Nordstrom [Mon, 3 Aug 2009 09:51:02 +0000 (11:51 +0200)]
Rename helperStatefulServerKickQueue to helperStatefulServerDone to better reflect it's current functionality
Henrik Nordstrom [Mon, 3 Aug 2009 09:47:18 +0000 (11:47 +0200)]
Resolve merge conflicts
Henrik Nordstrom [Mon, 3 Aug 2009 09:35:08 +0000 (11:35 +0200)]
merged from trunk
Amos Jeffries [Mon, 3 Aug 2009 05:04:46 +0000 (17:04 +1200)]
Convert configure.in run-tests from exit to return for autoconf 2.64
Amos Jeffries [Mon, 3 Aug 2009 01:47:53 +0000 (19:47 -0600)]
Update autoconf macros for configure.in required for autoconf 2.64
Squid-3 has a minimum of 2.62 anyway for several macros.
I'm not sure why it was set back to 2.52!!
Henrik Nordstrom [Sun, 2 Aug 2009 23:09:21 +0000 (01:09 +0200)]
Kill unused helperStatefulReset, redundant with helerStatefulRelease
Henrik Nordstrom [Sun, 2 Aug 2009 23:06:48 +0000 (01:06 +0200)]
Merged changes from trunk
Henrik Nordstrom [Sun, 2 Aug 2009 22:54:14 +0000 (00:54 +0200)]
Cut away the deferred helper state
Amos Jeffries [Sun, 2 Aug 2009 09:42:00 +0000 (21:42 +1200)]
Cleanup: Boost helper shutdown debugs and state display
Henrik Nordstrom [Sun, 2 Aug 2009 00:01:01 +0000 (02:01 +0200)]
Bug #2732: reply_body_max_size smaller than error page loops infinitely until out of memory
Henrik Nordstrom [Sat, 1 Aug 2009 23:26:13 +0000 (01:26 +0200)]
Bug #2648: Reserved helpers not shut down after reconfigure/rotate
The race happens if the helpers are restarted(rotate/reconfigure) while
reserved. Those reserved are then not shut down when the reservation is
released.
This patch cleans this up and a couple of other related races.
Henrik Nordstrom [Sat, 1 Aug 2009 21:29:10 +0000 (23:29 +0200)]
Merged from trunk
Henrik Nordstrom [Sat, 1 Aug 2009 21:28:25 +0000 (23:28 +0200)]
Accept libtool 2.x
Henrik Nordstrom [Sat, 1 Aug 2009 21:21:03 +0000 (23:21 +0200)]
Synced with memcache
Henrik Nordstrom [Sat, 1 Aug 2009 21:20:37 +0000 (23:20 +0200)]
Indented
Henrik Nordstrom [Sat, 1 Aug 2009 21:18:52 +0000 (23:18 +0200)]
Synced with memcache
Henrik Nordstrom [Sat, 1 Aug 2009 21:16:34 +0000 (23:16 +0200)]
Merged from trunk
Henrik Nordstrom [Sat, 1 Aug 2009 21:15:57 +0000 (23:15 +0200)]
Merged from trunk
Amos Jeffries [Sat, 1 Aug 2009 12:20:03 +0000 (00:20 +1200)]
Bug 2462: make check should tell when cppunit is missing
Amos Jeffries [Sat, 1 Aug 2009 09:48:37 +0000 (21:48 +1200)]
Enforce Squid-3 code syles
Bracket when mixing assignment and booleans:
val = (boolean test)
if ((assignment))
if ((val = (boolean test)))
Amos Jeffries [Sat, 1 Aug 2009 08:17:56 +0000 (20:17 +1200)]
Author: Lab10 <lab10@bt-anlagenbau.at>
Bug 2728 regression: assertion failed: http.cc:705: "!eof"
Catch the zero size reply edge case again.
Amos Jeffries [Wed, 29 Jul 2009 09:07:56 +0000 (21:07 +1200)]
Cleanup: shuffle authenticate*ReleaseServer into member methods.
No code change. Just removes some more global functions and castings.
Simplifies the duplicate case checking a bit too.
Henrik Nordstrom [Wed, 29 Jul 2009 08:51:50 +0000 (10:51 +0200)]
merged from trunk
Henrik Nordstrom [Wed, 29 Jul 2009 08:46:52 +0000 (10:46 +0200)]
indented
Henrik Nordstrom [Wed, 29 Jul 2009 08:44:07 +0000 (10:44 +0200)]
Added squid.conf directives for tuning when objects gets cached into memory
Amos Jeffries [Wed, 29 Jul 2009 02:21:06 +0000 (14:21 +1200)]
Language Updates: en-us alias
Henrik Nordstrom [Mon, 27 Jul 2009 22:03:12 +0000 (00:03 +0200)]
Make client attaching while an object is being swapped in disk clients
so they can do the swapin if needed.
Henrik Nordstrom [Mon, 27 Jul 2009 21:51:36 +0000 (23:51 +0200)]
Merged from trunk
Henrik Nordstrom [Mon, 27 Jul 2009 21:50:59 +0000 (23:50 +0200)]
Use typedefs of the relevant enums for store_status, swap_status and ping_status to make debugging easier (symbolic states instead of numbers)
Henrik Nordstrom [Mon, 27 Jul 2009 21:48:18 +0000 (23:48 +0200)]
Correct mem positioning of swapped in data
Henrik Nordstrom [Mon, 27 Jul 2009 21:01:29 +0000 (23:01 +0200)]
Merged from trunk
Amos Jeffries [Mon, 27 Jul 2009 15:08:12 +0000 (03:08 +1200)]
Debugs message about error when headers < minimum size
Amos Jeffries [Mon, 27 Jul 2009 13:06:51 +0000 (01:06 +1200)]
Remove more goto. Fixing one internal profiler error
Henrik Nordstrom [Mon, 27 Jul 2009 12:35:50 +0000 (14:35 +0200)]
Make room for data being read in from disk, to avoid overflowing cache_mem
Henrik Nordstrom [Mon, 27 Jul 2009 12:16:51 +0000 (14:16 +0200)]
indented
Henrik Nordstrom [Mon, 27 Jul 2009 12:13:01 +0000 (14:13 +0200)]
Merged from trunk
Amos Jeffries [Mon, 27 Jul 2009 12:03:01 +0000 (00:03 +1200)]
Bug 2725: pconn failure if domain or client_address are unset
Henrik Nordstrom [Mon, 27 Jul 2009 11:34:04 +0000 (13:34 +0200)]
Copy data back into memory as it's being read from disk
Alex Rousskov [Mon, 27 Jul 2009 01:51:24 +0000 (19:51 -0600)]
Polished r9854 "crash on shutdown" changes by removing explicit String
creation. It should be sufficient to just declare TheNullServices as
a constant C string.
When a C string constant is in use, the code becomes less efficient, but
this will be solved when we can go back to using a String class.
Alex Rousskov [Mon, 27 Jul 2009 01:41:02 +0000 (19:41 -0600)]
Bug 2723 fix: enable PURGE requests if PURGE method ACL is present.
PURGE requests were always denied, probably since 2009-06-28 (r9772) changes.
PURGE was denied because Config2.onoff.enable_purge changes done in
ACLMethodData::parse() are lost when Squid memsets Config2 to zero before
interpreting the changes. Config2 is meant for storing values _derived_ from
the primary configuration phase so it is reset after that phase is over.
This patch solves the above problem by storing ACLMethodData::parse() changes
in an ACLMethodData static member. The member is reset before
[re]configuration.
There is probably another problem with r9772 (or earlier) changes. Special
PURGE method processing is enabled whenever a PURGE ACL is detected in the
Squid configuration file, even if the ACL is unused or used in an http_access
option that does not match. This is specifically what r4363 tried to avoid in
year 2000:
users complain that defining an ACL that is never used in
an access list shouldn't trip this flag.
The patch does not solve this other problem. The right solution may be adding
a dedicated "purge" option that will have an ACL that controls what PURGE
requests, if any, are allowed to purge. That option would be in addition to
any http_access controls.
Henrik Nordstrom [Sun, 26 Jul 2009 21:22:41 +0000 (23:22 +0200)]
const violation detected by GCC in how ftp.cc parsed login details
Henrik Nordstrom [Sun, 26 Jul 2009 21:21:51 +0000 (23:21 +0200)]
Update comment to reflect code changed years ago
Amos Jeffries [Sun, 26 Jul 2009 13:04:53 +0000 (01:04 +1200)]
Prep for 3.1.0.12
Amos Jeffries [Sun, 26 Jul 2009 12:15:01 +0000 (00:15 +1200)]
Prep for 3.0.STABLE17
Amos Jeffries [Sun, 26 Jul 2009 11:39:37 +0000 (23:39 +1200)]
Revert configure changes from b9854
Amos Jeffries [Sun, 26 Jul 2009 11:15:35 +0000 (23:15 +1200)]
Hack to resolve crash on shutdown from global String(",null,")
Not even close to the best solution. But it will get us a running
3.1 release which we need right about now.
Amos Jeffries [Sun, 26 Jul 2009 09:24:07 +0000 (21:24 +1200)]
Add Unit-Tests for HttpReply
Just the basics for some needed right now. This needs to be expanded.
Also, required to break some of the mime header parsing calls out into
mime_header.cc in preparation for splitting the icon handling from the
header handling and reduce dependencies on the new tests.
Amos Jeffries [Sun, 26 Jul 2009 09:08:24 +0000 (21:08 +1200)]
Bug 2620: Invalid HTTP response codes causes segfault
Harden the sanity checks to detect negative status and other syntax issues
before they have a chance to become problems. This applies to replies and
responses both in varying ways.
Also document the sanity check logics. sanityCheck* is supposed to fill
out the error status for what it detects with each fail result.
Amos Jeffries [Sun, 26 Jul 2009 04:38:26 +0000 (16:38 +1200)]
Fix: Initialize HopByHop header mask
Amos Jeffries [Sat, 25 Jul 2009 15:35:15 +0000 (03:35 +1200)]
Re-enable unit-tests for src/
Somehow they got disabled earlier.
Amos Jeffries [Sat, 25 Jul 2009 02:50:48 +0000 (14:50 +1200)]
Typo in squidclient.1
Henrik Nordstrom [Fri, 24 Jul 2009 16:30:33 +0000 (18:30 +0200)]
Fix signed/unsigned again when comparing header size
Henrik Nordstrom [Fri, 24 Jul 2009 15:52:18 +0000 (17:52 +0200)]
Fix Via string when leak checking is enabled (valgrind etc)
Henrik Nordstrom [Fri, 24 Jul 2009 15:12:47 +0000 (17:12 +0200)]
Kick any pending *ufs write/close operations alive when the previous write completes
When using uufs only part of the object got written out to the disk,
forgetting to write out the last butes and closing the file.
This should have been seen at least in in diskd as well even if it
for some reason did not seem to show up in simple tests.
Applies all the way down to 3.0.
Amos Jeffries [Fri, 24 Jul 2009 12:58:17 +0000 (00:58 +1200)]
Correct header limit checks. 64KB max is REQUIRED.
This fixes a few issues with too-long URLs or request headers.
Also one issue with too-long reply headers.
TODO: unit-tests to follow.
Amos Jeffries [Fri, 24 Jul 2009 11:21:01 +0000 (23:21 +1200)]
Send fatal error if response header contains a nul-byte
Amos Jeffries [Thu, 23 Jul 2009 12:27:19 +0000 (00:27 +1200)]
Add omitted break
Amos Jeffries [Thu, 23 Jul 2009 12:13:42 +0000 (00:13 +1200)]
Make EPSV selection based on data socket protocol.
* EPSV ALL still sent by preference.
* EPSV 2 only attempted on IPv6 data links
* EPSV 1 only attempted on IPv4 data links
Amos Jeffries [Wed, 22 Jul 2009 10:18:07 +0000 (22:18 +1200)]
Author: Various Translators
Language Updates
Amos Jeffries [Wed, 22 Jul 2009 10:09:58 +0000 (22:09 +1200)]
Author: Various Translators
Language Updates: Italian
Thanks to Launchpad Rosetta Project Translators and Francesco Chemolli
Amos Jeffries [Wed, 22 Jul 2009 09:58:03 +0000 (21:58 +1200)]
Author: Various Translators
Language Updates: Arabic manuals updates.
Thanks to Launchpad Rosetta Project Translators
Amos Jeffries [Wed, 22 Jul 2009 09:25:44 +0000 (21:25 +1200)]
Author: Various Translators
Language Updates: Russian
Thanks to Launchpad Rosetta Translators.
Amos Jeffries [Wed, 22 Jul 2009 09:03:01 +0000 (21:03 +1200)]
Merged from trunk
Amos Jeffries [Wed, 22 Jul 2009 08:06:10 +0000 (20:06 +1200)]
Ensure errors/ always exists for install
Amos Jeffries [Wed, 22 Jul 2009 08:04:04 +0000 (20:04 +1200)]
Fix SF import loop
Amos Jeffries [Tue, 21 Jul 2009 08:15:54 +0000 (20:15 +1200)]
TestBed: tighten some testign procedures.
* only build if bootstrap works
* display last 20 lines of test result on failure
we want to see the real error plus, not just "make Error 1" messages
* use chmod to improve cleanup removal after (un)install test failures
Amos Jeffries [Tue, 21 Jul 2009 08:08:13 +0000 (20:08 +1200)]
Fix NCSA auth helper include sequence and wrapping
Amos Jeffries [Tue, 21 Jul 2009 01:26:04 +0000 (13:26 +1200)]
Install TRANSLATORS and COPYRIGHT in errors/ with other files.
In theory this will fix:
install: ./TRANSLATORS and TRANSLATORS are the same file
*** Error code 64
Amos Jeffries [Tue, 21 Jul 2009 01:22:52 +0000 (13:22 +1200)]
Author: Thomas-Martin Seck <tmseck@netcologne.de>
Missing comma in --disable-translations
Amos Jeffries [Mon, 20 Jul 2009 14:47:53 +0000 (02:47 +1200)]
Fix EPSV negotiation parser.
Amos Jeffries [Mon, 20 Jul 2009 10:09:22 +0000 (22:09 +1200)]
Bug 2716: Fix Signed/Unsigned build error
Patch for chunked-requests ported to 3.0 was still omitted when same was
merged to 3.1.
Amos Jeffries [Sun, 19 Jul 2009 04:40:34 +0000 (16:40 +1200)]
Prep for 3.1.0.11
Amos Jeffries [Sat, 18 Jul 2009 14:08:46 +0000 (02:08 +1200)]
Fix compile error in non-split-stack builds
Amos Jeffries [Sat, 18 Jul 2009 07:51:33 +0000 (19:51 +1200)]
Split-stack: Correct DNS port family, clone http_port
Amos Jeffries [Sat, 18 Jul 2009 04:01:18 +0000 (16:01 +1200)]
Update ChangeLog
Amos Jeffries [Sat, 18 Jul 2009 03:56:06 +0000 (15:56 +1200)]
Author: Isnard <isnardjaquet@gmail.com>
Bug 2080: wbinfo_group.pl - false positive under certain conditions
Amos Jeffries [Sat, 18 Jul 2009 01:49:42 +0000 (19:49 -0600)]
Alter easy packaging of manuals. Shell expansion does not work
Amos Jeffries [Fri, 17 Jul 2009 14:06:01 +0000 (02:06 +1200)]
Prep for 3.1.0.10
Amos Jeffries [Fri, 17 Jul 2009 13:49:00 +0000 (01:49 +1200)]
Add COPYRIGHT file to langpack
* Squid Project lisence without Harvest addendum
* Rosetta Project requires Berkley open distribution lisence
* Squid Translators adopting Berkley open distribution lisence
for compatibility with Squid code lisence and Rosetta lisence