]>
git.ipfire.org Git - thirdparty/squid.git/log
Amos Jeffries [Sun, 23 Aug 2009 03:08:22 +0000 (21:08 -0600)]
SourceFormat: report broken file and continue after errors.
Amos Jeffries [Sun, 23 Aug 2009 02:43:26 +0000 (20:43 -0600)]
SourceFormat: mswin_sspi helper
Amos Jeffries [Sat, 22 Aug 2009 13:10:36 +0000 (01:10 +1200)]
Silence rm -v again
Amos Jeffries [Sat, 22 Aug 2009 11:15:34 +0000 (23:15 +1200)]
Remove bashism from testHeaders.sh
Amos Jeffries [Sat, 22 Aug 2009 10:48:26 +0000 (22:48 +1200)]
Revert rev 9922 - grep arguments not portable
Amos Jeffries [Sat, 22 Aug 2009 10:43:54 +0000 (22:43 +1200)]
Bug 2745: Invalid response error on small reads
Also adds extra unit-tests for these cases.
Amos Jeffries [Fri, 21 Aug 2009 03:21:19 +0000 (15:21 +1200)]
Display full version in bootstrap output and quieten rm
Amos Jeffries [Fri, 21 Aug 2009 02:22:45 +0000 (14:22 +1200)]
Always display auto-tools versions on bootstrap.
This will better help us identify from build-farm results if we broke a
particular auto-tool support or if its the specific OS implementation /
environment.
Henrik Nordstrom [Thu, 20 Aug 2009 12:13:35 +0000 (14:13 +0200)]
Bug #2541: Hang in 100% CPU loop while extacting header details using a delimiter other than comma (external_acl_type, access_log_format, external_refresh_check)
strListGetItem() could get stuck in a 100% loop if called with a delimiter
other than ',' and the parsed string contains ','.
This change makes it properly detect ',' as a delimiter even if called
with another delimiter argument like intended. The reason why ',' is always
a delimiter is because this is the delimiter between merged values of a
multi-valued header, and must always be supported as delimiter even if
Cookie uses ';' instead.
Henrik Nordstrom [Wed, 19 Aug 2009 20:29:33 +0000 (22:29 +0200)]
Revert an evil optimization from the memcache change
Amos Jeffries [Wed, 19 Aug 2009 06:59:28 +0000 (18:59 +1200)]
Fix comm_local_port for split-stack
Calling this function had the unfortunate side-effect of resetting the
port flags to indicate it was an IPv6 port. Badly wrong for a supposedly
read-only operation.
This complete the DNS fixes for split-stack.
TODO: test and fix regular port usage with split-stack.
Amos Jeffries [Wed, 19 Aug 2009 05:46:30 +0000 (17:46 +1200)]
Document --disable-caps option
Amos Jeffries [Wed, 19 Aug 2009 03:50:54 +0000 (15:50 +1200)]
Bug 2718: FTP sends EPSV2 on ipv4 connection
Switch EPSV attempts based on the FTP control/data Channel IP type.
Also adds better debugging trace of what is being performed.
Henrik Nordstrom [Tue, 18 Aug 2009 23:25:02 +0000 (01:25 +0200)]
Bug #2747: Compile errors on Solaris 10 with 3.1.0.13
need to include sys/resource.h
Henrik Nordstrom [Tue, 18 Aug 2009 18:58:28 +0000 (20:58 +0200)]
Improve chroot directive documentation slightly
the directive takes a directory argument, but this wasn't mentioned anywhere..
Amos Jeffries [Mon, 17 Aug 2009 12:40:10 +0000 (00:40 +1200)]
Fox off-by-1 errors in new FTP login parse
Amos Jeffries [Mon, 17 Aug 2009 03:11:44 +0000 (15:11 +1200)]
Undo revno 9911. Not quite doable yet.
Amos Jeffries [Sun, 16 Aug 2009 12:21:57 +0000 (00:21 +1200)]
Enable IpAddress debugs. remove unused method
Amos Jeffries [Sun, 16 Aug 2009 12:20:00 +0000 (00:20 +1200)]
Fix release notes dist
Amos Jeffries [Sun, 16 Aug 2009 04:06:51 +0000 (16:06 +1200)]
Drop obsolete include/squid_mswin.h
It has been located at compat/os/mswin.h for some time now.
Amos Jeffries [Sun, 16 Aug 2009 01:01:10 +0000 (13:01 +1200)]
Dist most recent release notes instead of 3.0 notes
Henrik Nordstrom [Sat, 15 Aug 2009 12:56:39 +0000 (14:56 +0200)]
Add 0.0.0.0 as an to_localhost address
Many TCP/IP(v4) stacks aliases 0.0.0.0 as 127.0.0.1.
Amos Jeffries [Sat, 15 Aug 2009 09:44:22 +0000 (21:44 +1200)]
Drop old release 3.0/3.1 notes files from 3.2
Amos Jeffries [Sat, 15 Aug 2009 09:42:30 +0000 (21:42 +1200)]
Initial release notes for 3.2
Amos Jeffries [Sat, 15 Aug 2009 02:14:54 +0000 (14:14 +1200)]
Author: Mark Nottingham <mnot@pobox.com>
Bug 2390: New hier_code ACL type
I needed to log only forward requests; forward_log looked interesting, but
isn't flexible like access_log. The easiest thing to do seemed to be to add a
hier_code ACL type.
Adapted to Squid-3 by Amos Jeffries
Henrik Nordstrom [Fri, 14 Aug 2009 22:14:13 +0000 (00:14 +0200)]
Adjust the test stub MemObject to match changes in actual MemObject
Sorry, forgot to run make test in the memcache changes..
Henrik Nordstrom [Fri, 14 Aug 2009 21:52:54 +0000 (23:52 +0200)]
Don't use C++ // comments in C files
Henrik Nordstrom [Fri, 14 Aug 2009 14:35:07 +0000 (16:35 +0200)]
Populate cache_mem again on disk cache hits, moving on-disk objects back
into the hot object pool.
This adds a new squid.conf option for tuning when to keep objects in memory.
Sponsored by: The Measurement Factory
Guido Serassio [Thu, 13 Aug 2009 21:08:35 +0000 (23:08 +0200)]
Windows port: fix mswin_negotiate_auth.exe crash when executing a LocalCall authentication with verbose debug enabled
- Also ran indent
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 [Wed, 12 Aug 2009 10:18:34 +0000 (22:18 +1200)]
Author: Amos Jeffries + Alan Nastac <mrness@gentoo.org>
Better const-correctness on FTP login parse
Also reduces amount of copying done by the parse. The old version
was copying the entire URL into user/password then cropping it down.
This one only copies the required bytes and terminates the copy.
Amos Jeffries [Wed, 12 Aug 2009 09:38:36 +0000 (21:38 +1200)]
Author: Alin Nastac <mrness@gentoo.org>
Add --disable-caps option
Gentoo requires this to pull in libcap dependencies via --enable-caps
which is a non-operation.
Using it to disable libcap usage will explicitly prevent TPROXY which
depends on it from operating while netfilter NAT support remains.
NP: The TPROXY v2 configure tests will not even run with caps disabled.
Amos Jeffries [Tue, 11 Aug 2009 05:24:06 +0000 (17:24 +1200)]
Drop temporary testbed script. obsolete
Amos Jeffries [Tue, 11 Aug 2009 03:14:59 +0000 (15:14 +1200)]
Haxk: fix autoconf 2.64 builds
2.64 requires that the first use of AC_RUN_IFELSE is not wrapped inside
any other macros. Otherwise it will define the setup macros at the wrong
scope level and configure will break during the default type checks.
Amos Jeffries [Mon, 10 Aug 2009 11:51:35 +0000 (23:51 +1200)]
Cleanup: docs and some formatting
Amos Jeffries [Mon, 10 Aug 2009 11:25:23 +0000 (23:25 +1200)]
linux/types.h may also provide types
Amos Jeffries [Sun, 9 Aug 2009 08:13:40 +0000 (20:13 +1200)]
TestBed: chmod for force removal of old garbage
Amos Jeffries [Sun, 9 Aug 2009 07:31:39 +0000 (19:31 +1200)]
Detect broken libcap better
libcap v1 is still common and broken.
some libcap2 may also be.
Amos Jeffries [Sun, 9 Aug 2009 03:00:14 +0000 (15:00 +1200)]
Bump minimum autoconf back to 2.61
Amos Jeffries [Sat, 8 Aug 2009 23:58:53 +0000 (11:58 +1200)]
TestBed: Add bootstrap tests
Test and run bootstrap. This has the side effect of preparing the sources
for further tests even when configure.in and Makefile.am's have changed.
Amos Jeffries [Sat, 8 Aug 2009 22:56:07 +0000 (10:56 +1200)]
Author: Alin Nastac <mrness@gentoo.org>
Cleanup: deprecate ugly hack for sys/capability.h
Needed once to prevent build clashes between libc and sys/capabilility.h
headers. As of libcap2.16 that is no longer the case and in fact prevents
a clean build.
Left in libcompat but removed from active build until its clear whether
full erasure is possible or if some systems still need it.
Henrik Nordstrom [Sat, 8 Aug 2009 22:08:34 +0000 (00:08 +0200)]
Bug #2739: DNS resolver option ndots can't be parsed from resolv.conf
Author: Cloyce <cloyce.spradling@sun.com>
A small logic error (probably a typo) in dns_internal.cc prevents squid from
properly reading the ndots option from resolv.conf.
The attached trivial patch fixes the problem.
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