]> git.ipfire.org Git - thirdparty/squid.git/log
thirdparty/squid.git
16 years agoMerge from trunk
Amos Jeffries [Tue, 13 Jan 2009 09:19:54 +0000 (22:19 +1300)] 
Merge from trunk

16 years agoBug 2556: HTCP fails without icp_port
Amos Jeffries [Tue, 13 Jan 2009 06:17:33 +0000 (19:17 +1300)] 
Bug 2556: HTCP fails without icp_port

Removes requirement for ICP port to be open for peer UDP queries to take
place.

TODO: Some work still needs to be done to separate the timeout from
icp_timeout and break ICP specific query logics out into icp code files.
But that is just cleanup for later.

16 years agoSourceLayout: migrate IPAddress into lipip.la
Amos Jeffries [Tue, 13 Jan 2009 05:29:13 +0000 (18:29 +1300)] 
SourceLayout: migrate IPAddress into lipip.la

This also makes some small changes to other API inside libip to allow
libbip.la to be built first as a POD library before anything src/ gets built.

Anything added to it from this point on MUST NOT require linkage outside
of libip.la or the planned libcompat.

16 years agoMerge from trunk
Amos Jeffries [Tue, 13 Jan 2009 05:28:23 +0000 (18:28 +1300)] 
Merge from trunk

16 years agoAutoDoc and improve debugs in a fair bit of reply logic
Amos Jeffries [Mon, 12 Jan 2009 16:15:39 +0000 (05:15 +1300)] 
AutoDoc and improve debugs in a fair bit of reply logic

16 years agoBug 2564: logformat '%tl' field not working as advertised
Amos Jeffries [Mon, 12 Jan 2009 13:44:31 +0000 (02:44 +1300)] 
Bug 2564: logformat '%tl' field not working as advertised

16 years agoCoverity scan found a few bad lines.
Amos Jeffries [Sat, 10 Jan 2009 15:37:49 +0000 (04:37 +1300)] 
Coverity scan found a few bad lines.

16 years agoAutoDoc the refresh_pattern algorithm.
Amos Jeffries [Sat, 10 Jan 2009 03:54:11 +0000 (16:54 +1300)] 
AutoDoc the refresh_pattern algorithm.

Also throws in some extra assertions to draw out bug 2491 earlier.

16 years agoSMB_LM: replace assertion with clean error report
Amos Jeffries [Sat, 10 Jan 2009 03:18:00 +0000 (16:18 +1300)] 
SMB_LM: replace assertion with clean error report

16 years agoFix build errors in layer-02
Amos Jeffries [Sat, 10 Jan 2009 03:04:47 +0000 (16:04 +1300)] 
Fix build errors in layer-02

16 years agoFix all build errors non-ZPH builds
Amos Jeffries [Fri, 9 Jan 2009 13:12:24 +0000 (02:12 +1300)] 
Fix all build errors non-ZPH builds

16 years agoPconn not being used when they should.
Amos Jeffries [Thu, 8 Jan 2009 13:45:29 +0000 (02:45 +1300)] 
Pconn not being used when they should.

A slight misalignment between the keys generated for push and pop of
connections to the waiting pool caused new connections never to match
any of the existing connections.

This patch makes several alterations to achieve a fix:
 - reduces the FwdState push logics down into a simple selection in
   pconnPush function which previously was a dumb wrapper.
 - adds a dump of current hash keys to the cacheManager pconn report
 - adds uch better debugging to the pconn process at level 48,3 and 48,6
 - adds some additional documentation of code to the related call tree

  Pconn API after this patch :

The Pconn KEY takes several parameters (host, port, domain, client-ip).

For HTTP requests this is normally generated from the request data of
same name with domain being optional since it may be ientical to host.

However for peer-sourced requests this alters slightly and the host:port
fields become the peer NAME and HTTP-PORT.

This means the pconn key in abstract becomes a key to the TCP remote-end of
the link with an optional anchor on the domain being requested.

16 years agoconvert IpAddress.h to ip/IpAddress.h includes
Amos Jeffries [Wed, 7 Jan 2009 11:24:40 +0000 (00:24 +1300)] 
convert IpAddress.h to ip/IpAddress.h includes

16 years agoConvert many IPAddress to IpAddress
Amos Jeffries [Wed, 7 Jan 2009 10:52:18 +0000 (23:52 +1300)] 
Convert many IPAddress to IpAddress

16 years agoConvert many IPAddress to IpAddress
Amos Jeffries [Wed, 7 Jan 2009 10:50:12 +0000 (23:50 +1300)] 
Convert many IPAddress to IpAddress

16 years agoConvert many IPAddress to IpAddress
Amos Jeffries [Wed, 7 Jan 2009 10:49:48 +0000 (23:49 +1300)] 
Convert many IPAddress to IpAddress

16 years agoConvert many IPAddress to IpAddress
Amos Jeffries [Wed, 7 Jan 2009 10:49:14 +0000 (23:49 +1300)] 
Convert many IPAddress to IpAddress

16 years agoMove IPAddress to libip.la
Amos Jeffries [Wed, 7 Jan 2009 10:46:03 +0000 (23:46 +1300)] 
Move IPAddress to libip.la

16 years agomerge from trunk
Amos Jeffries [Wed, 7 Jan 2009 06:26:28 +0000 (19:26 +1300)] 
merge from trunk

16 years agoDrop -V option obsolete since 2.6.
Amos Jeffries [Wed, 7 Jan 2009 05:00:58 +0000 (18:00 +1300)] 
Drop -V option obsolete since 2.6.

16 years agoUntangle CacheManager reports from log_fqdn
Amos Jeffries [Tue, 6 Jan 2009 13:13:44 +0000 (02:13 +1300)] 
Untangle CacheManager reports from log_fqdn

The fqdnFromAddr() call depends on log_fqdn to generate the FQDN. But
CacheManager needs to always display it whenever available. This removes
the call indirection, dependency and makes Name: field only display when
a name is available.

see Bug 2557 for more details.

16 years agoSourceLayout: move IPInterception into libip.la
Amos Jeffries [Tue, 6 Jan 2009 07:24:49 +0000 (20:24 +1300)] 
SourceLayout: move IPInterception into libip.la

16 years agoShuffle IPInterception into ip/
Amos Jeffries [Tue, 6 Jan 2009 07:23:07 +0000 (20:23 +1300)] 
Shuffle IPInterception into ip/

16 years agoIP-Change Monitor routines only work in windows.
Amos Jeffries [Mon, 5 Jan 2009 14:38:58 +0000 (03:38 +1300)] 
IP-Change Monitor routines only work in windows.

Make squid.conf show that requirement.

16 years agoLanguage Updates
Amos Jeffries [Mon, 5 Jan 2009 03:38:25 +0000 (16:38 +1300)] 
Language Updates

16 years agoFix pinger immediate shutdowns
Amos Jeffries [Sun, 4 Jan 2009 12:49:16 +0000 (01:49 +1300)] 
Fix pinger immediate shutdowns

pinger runs okay when started manually, but shuts down after a sucessful
startup when run by Squid. This was due to the last_request timer being
left at zero/epoch.

Initialize the last_check timer base correctly.

16 years agoAuto-Document ZPH QoS code
Amos Jeffries [Sun, 4 Jan 2009 12:46:08 +0000 (01:46 +1300)] 
Auto-Document ZPH QoS code

16 years agoFix some QoS update build errors.
Amos Jeffries [Sun, 4 Jan 2009 11:57:57 +0000 (00:57 +1300)] 
Fix some QoS update build errors.

Also re-enables testbed testing of the QoS Features which prevented these
being caught earlier.

16 years agoAuthor: Alexander Lukyanov <lav@yar.ru>
Amos Jeffries [Wed, 24 Dec 2008 13:59:42 +0000 (02:59 +1300)] 
Author: Alexander Lukyanov <lav@yar.ru>
Bug 2330: allow keep-alive+chunked; don't add max-age for no-cache

Attached patch enables keep-alive for chunked transfer-encoding, as such
encoding allows to determine reply body end.

Also the patch disables adding of max-age to requests with no-cache flag. It
saves a few bytes and also makes less difference between the incoming and
outgoing requests. Max-age is obviously not useful for no-cache requests.

NP: amended after bug discussion to also skip adding of no-cache on
    internal calculation from local state which may not be correct
    down the line in other caches. (nocache includes local config settings).

16 years agoDocumentation updates
Amos Jeffries [Wed, 24 Dec 2008 13:35:21 +0000 (02:35 +1300)] 
Documentation updates

16 years agoAuthor: Christos Tsantilas <chtsanti@users.sourceforge.net>
Amos Jeffries [Wed, 24 Dec 2008 12:29:38 +0000 (01:29 +1300)] 
Author: Christos Tsantilas <chtsanti@users.sourceforge.net>
Bug 2542: squid fails to resume dowload (and breaks content) when any ICAP filter is attached

In the case the icap client is enabled, the
ServerStateData::handleMoreAdaptedBodyAvailable called to handle the incoming
data from the ICAP server. Inside this function a StoreIOBuffer created to pass
the data to the related StoreEntry.

The bug is that the offset passed to the StoreIOBuffer did not count the 206
response offsets.
This patch uses the ServerStateData::currentOffset to compute the correct
offset (which also used in the case the icap client is not enabled).

16 years agoRelease Notes update for ZPH polish. pt2
Amos Jeffries [Wed, 24 Dec 2008 07:34:20 +0000 (20:34 +1300)] 
Release Notes update for ZPH polish. pt2

16 years agoRelease Notes update for ZPH polish.
Amos Jeffries [Wed, 24 Dec 2008 07:17:45 +0000 (20:17 +1300)] 
Release Notes update for ZPH polish.

16 years agoPolish ZPH configuration interface
Amos Jeffries [Wed, 24 Dec 2008 06:42:47 +0000 (19:42 +1300)] 
Polish ZPH configuration interface

This completes the ZPH patch merge for Squid 3.1. It makes significant
changes to the squid.conf options previously used.

ZPH controls are now formally called "qos_flows" with a set of options
to set individual output flow TOS based on the flow source. see squid.conf
documentation for details.

Since this is new IP-layer code it also places the new QoS code in a
directory src/ip/ and library libip.la inline with the planned source
layout model.

16 years agoMerge from trunk
Amos Jeffries [Wed, 24 Dec 2008 06:39:52 +0000 (19:39 +1300)] 
Merge from trunk

16 years agoBug 2537: ZPH support fails to build in FreeBSD
Amos Jeffries [Wed, 24 Dec 2008 06:39:17 +0000 (19:39 +1300)] 
Bug 2537: ZPH support fails to build in FreeBSD

16 years agoLanguage: Armenian
Amos Jeffries [Wed, 17 Dec 2008 12:24:33 +0000 (01:24 +1300)] 
Language: Armenian

16 years agoSmart pthread library linkage
Amos Jeffries [Wed, 17 Dec 2008 06:07:03 +0000 (19:07 +1300)] 
Smart pthread library linkage

Fixes linkage errors caused on some systes by a clash between the
DiskIO library not being in src/ directly and impicit linkage used
previously used by the auto-tools chain.

* Only link it to objects linking DiskIO which need it explicitly.

* Produce a fatal error message if its required but missing.

16 years agoAuthor: Christos Tsantilas <chtsanti@users.sourceforge.net>
Amos Jeffries [Sun, 14 Dec 2008 05:16:32 +0000 (18:16 +1300)] 
Author: Christos Tsantilas <chtsanti@users.sourceforge.net>
Bug 2550: assertion comm.cc:350 !fd_table[fd].closing()

The tunnel.cc code when a connection (the server or client) is  closed set its
filedescriptor to "-1", and check if the filedescriptor is "-1" to decide if
the socket is still valid or not. This is not correct because maybe the socket
had closed but the comm_close handler was not called yet (The related AsyncCall
scheduled but not executed yet)
To check if a file descriptor "fd" is closed the fd_table[fd].closing() also
should checked.

16 years agoAuthor: Christos Tsantilas <chtsanti@users.sourceforge.net>
Amos Jeffries [Sun, 14 Dec 2008 05:10:43 +0000 (18:10 +1300)] 
Author: Christos Tsantilas <chtsanti@users.sourceforge.net>
Bug 2508: comm.cc:2035 assertion fd_table[fd].closing()

The bug here is that the filedescriptor is not passed with the other
parameters to the asyncCall. If the filedescriptor closed before the asyncCall
scheduled the execution of the asyncCall will not canceled and the
ICAPXaction::noteCommConnected will try to read/write on a closed socket.

AYJ: Not entirely certain this fix and bug go together, but they appear
to and it definately fixes a different related assertion.

16 years agoLanguage: Turkish
Amos Jeffries [Sat, 13 Dec 2008 10:16:12 +0000 (23:16 +1300)] 
Language: Turkish

16 years agoLanguage Updates: Japanese
Amos Jeffries [Sat, 13 Dec 2008 05:44:01 +0000 (18:44 +1300)] 
Language Updates: Japanese

16 years agoLanguage Update: Serbian
Amos Jeffries [Sat, 13 Dec 2008 03:03:23 +0000 (16:03 +1300)] 
Language Update: Serbian

16 years agoMerge from trunk
Amos Jeffries [Fri, 12 Dec 2008 08:02:30 +0000 (21:02 +1300)] 
Merge from trunk

16 years agoOne more compile fix
Amos Jeffries [Fri, 12 Dec 2008 08:01:12 +0000 (21:01 +1300)] 
One more compile fix

16 years agoMake src/ip/ objects build.
Amos Jeffries [Fri, 12 Dec 2008 01:11:43 +0000 (14:11 +1300)] 
Make src/ip/ objects build.

16 years agoSourceFormat Update
Amos Jeffries [Fri, 12 Dec 2008 00:17:10 +0000 (13:17 +1300)] 
SourceFormat Update

16 years agoAuthor: Christos Tsantilas <chtsanti@users.sourceforge.net>
Amos Jeffries [Thu, 11 Dec 2008 22:49:52 +0000 (11:49 +1300)] 
Author: Christos Tsantilas <chtsanti@users.sourceforge.net>
Bug 2545: Segmentation fault when squid with icap server use a cache peer.

16 years agoMerge from trunk
Amos Jeffries [Thu, 11 Dec 2008 22:12:59 +0000 (11:12 +1300)] 
Merge from trunk

16 years agoAuthor: Johnathan Conley <johnathan.conley@gmail.com>
Amos Jeffries [Thu, 11 Dec 2008 00:09:16 +0000 (13:09 +1300)] 
Author: Johnathan Conley <johnathan.conley@gmail.com>
Bug 2547: ipv6 compile error in OSX

16 years agoLanguage Updates
Amos Jeffries [Wed, 10 Dec 2008 23:37:29 +0000 (12:37 +1300)] 
Language Updates

16 years agoAdd back missing dependency on built DiskIOModules_gen.cc for make check
Henrik Nordstrom [Wed, 10 Dec 2008 20:40:01 +0000 (21:40 +0100)] 
Add back missing dependency on built DiskIOModules_gen.cc for make check

16 years agoVarious make dist/clean/distclean fixes. No code changes.
Henrik Nordstrom [Wed, 10 Dec 2008 20:19:50 +0000 (21:19 +0100)] 
Various make dist/clean/distclean fixes. No code changes.

- Workaround for src ../test-suite/test_tools.cc dependency crashing
  make distclean. Automatically copy the file to src to compile.
- "make dist" fixes to not include generated files. Mainly involves
  moving them to a suitable nodist_..._SOURCES variable.
- "make clean" fixes to remove generated files
- Always recurse configure into sub-projects. make dist fails othewise.
- Removed fatal error from squid_kerb_auth configure if no kerberos
  lib found (also a fatal error at build time)

16 years agoAuthor: Johnathan Conley <johnathan.conley@gmail.com>
Amos Jeffries [Wed, 10 Dec 2008 05:16:58 +0000 (18:16 +1300)] 
Author: Johnathan Conley <johnathan.conley@gmail.com>
Bug 2548: OSX compile error (duplicate symbol ACLStrategised)

16 years agoLanguage Updates
Amos Jeffries [Wed, 10 Dec 2008 04:51:03 +0000 (17:51 +1300)] 
Language Updates

16 years agoTypo in squid_kerb_auth fix
Amos Jeffries [Fri, 5 Dec 2008 02:40:27 +0000 (15:40 +1300)] 
Typo in squid_kerb_auth fix

16 years agoRemaining build issues in HEAD tests.
Amos Jeffries [Thu, 4 Dec 2008 23:55:38 +0000 (12:55 +1300)] 
Remaining build issues in HEAD tests.

Several missing symbols added to CommIO stub and extra smart storeio
checks to prevent duplicate object linkages when both async-io and
storeio are enabled.

16 years agoSmall typo in epoll configure.in magics
Henrik Nordstrom [Wed, 3 Dec 2008 18:55:10 +0000 (19:55 +0100)] 
Small typo in epoll configure.in magics

16 years agoAuthor: Andrew Hoying <andrew_hoying@blm.gov>
Amos Jeffries [Wed, 3 Dec 2008 05:21:15 +0000 (18:21 +1300)] 
Author: Andrew Hoying <andrew_hoying@blm.gov>
Bug 2424: filedescriptors being left unnecessary opened

16 years agoVarious link errors in testDiskIO
Amos Jeffries [Tue, 2 Dec 2008 14:03:13 +0000 (03:03 +1300)] 
Various link errors in testDiskIO

TODO:
   Fix undefined reference to CommIO members
   discover whether any of the calls now stub'ed need to be used
   may need to pull CommIO out of comm.cc

16 years agoBug 2395: FTP auth errors not displayed
Amos Jeffries [Mon, 1 Dec 2008 11:56:34 +0000 (00:56 +1300)] 
Bug 2395: FTP auth errors not displayed

I appears to be the StoreEntry reporting an error on zero-length objects. This
somehow overrides the FTP reported error and aborts the reply page.

Add an extra check to prevent StoreEntry::complete() being called too
early on error responses.

16 years agoRollback rev 9253 from 3.1
Amos Jeffries [Mon, 1 Dec 2008 11:32:52 +0000 (00:32 +1300)] 
Rollback rev 9253 from 3.1

This change to StoreIO overlooked the signedness of the StoreIO* length
parameter. It may have resulted in objects that should not have been
store making their way into the cache.

Caches created by 3.1.0.2 and earlier releases are known to contain many
invalid entries. Whether or not these entries are fatal to Squid is still
unknown. It is currently expected that they will be erased properly, but
cause a lot of cache.log warnings while that is happening.
It may be worth purging caches on upgrade out of these versions.

16 years agoBug 2526: default ALLOW when no list specified.
Amos Jeffries [Mon, 1 Dec 2008 11:19:28 +0000 (00:19 +1300)] 
Bug 2526: default ALLOW when no list specified.

The expected behavior of ACL checking should cause an implicit default
deny state to be reached unless a terminating denial causes a state to
flip to allow.

A small logic flaw means that completely explicitly absent access control
list was flipped to ALLOW state.

It is believed that most security controls which have explicitly coded
defaults in ther configuration are not impacted by the bug or its fix.
Only empty delay pools and ICAP re*mods may have any change in behavior
as a result.

16 years agoKill useless use of goto
Amos Jeffries [Mon, 1 Dec 2008 05:08:54 +0000 (18:08 +1300)] 
Kill useless use of goto

16 years agoKill useless use of goto
Amos Jeffries [Mon, 1 Dec 2008 05:01:24 +0000 (18:01 +1300)] 
Kill useless use of goto

16 years agoCorrect LINUX_CAPABILITY actions on non-Linux
Amos Jeffries [Mon, 1 Dec 2008 04:46:44 +0000 (17:46 +1300)] 
Correct LINUX_CAPABILITY actions on non-Linux

non-Linux should not set transparency OFF, just because they dont have
Linux syscap.

Also kill bad use of goto. Should have been an if-else sequence.

16 years agoBetter error reporting and detection for kqueue support
Amos Jeffries [Sun, 30 Nov 2008 12:29:35 +0000 (01:29 +1300)] 
Better error reporting and detection for kqueue support

This only appears when built on Linux.

16 years agoMerge from trunk
Amos Jeffries [Sun, 30 Nov 2008 12:23:06 +0000 (01:23 +1300)] 
Merge from trunk

16 years agoMany small fixes uncovered by the testbed layer #02
Amos Jeffries [Sun, 30 Nov 2008 09:08:48 +0000 (02:08 -0700)] 
Many small fixes uncovered by the testbed layer #02

 - failover recovery for valgrind support
 - better error reporting and detection for epoll support
 - better dependency detection and handling for ESI support
 - ARP build error on FreeBSD
 - hack: silence build error on ZPH QoS support (TODO fix)

TODO:
 - fix ZPH support for BSD (Bug 2537)
 - comm symbol duplication failures under gcc 4.3.2

16 years agoReal fix build errors in squid_kerb_auth
Amos Jeffries [Sun, 30 Nov 2008 05:29:55 +0000 (22:29 -0700)] 
Real fix build errors in squid_kerb_auth

Seems my configure hack overlooked some auto-conf magic side-effects.
This moves most squid compat hacks into squid_compat.h for now.
Really fixes the current build issues in squid_kerb_auth with Squid.

16 years agoFix build errors in squid_kerb_auth
Amos Jeffries [Sun, 30 Nov 2008 03:45:39 +0000 (20:45 -0700)] 
Fix build errors in squid_kerb_auth

Some autoconf environments re-define macros and cause build errors.
This resolves all known issues with configure in the current package
interactions.

TODO: at least one syntax error in squid_kerb_auth basic code still
      remains to be fixed.

16 years agoRevert configure quoting.
Amos Jeffries [Sat, 29 Nov 2008 14:51:34 +0000 (03:51 +1300)] 
Revert configure quoting.

Turns out the suposedly extraneous quoting is required.

Also append success message to build so testbed can catch it and find
any error without having to enumerate all failure cases.

16 years agoconvert spnegohelp.h to Unix file format
Amos Jeffries [Sat, 29 Nov 2008 04:57:19 +0000 (21:57 -0700)] 
convert spnegohelp.h to Unix file format

16 years agoAuthor: Christos Tsantilas <chtsanti@users.sourceforge.net>
Amos Jeffries [Fri, 28 Nov 2008 11:51:11 +0000 (00:51 +1300)] 
Author: Christos Tsantilas <chtsanti@users.sourceforge.net>
Bug 2527: ICAP compile error with g++ 4.3.2

16 years agoFix various TestBed errors.
Amos Jeffries [Fri, 28 Nov 2008 11:40:59 +0000 (00:40 +1300)] 
Fix various TestBed errors.

Failure to match the error: string properly and some bad options in the
layer-02 script was hiding a few bad configure and compile issues.

TODO: Most of the hidden bugs are also fixed by this patch. At least one
      remains though in the linking of some tests.

17 years agoFix cache_peer forceddomainname when request has a Host header
Henrik Nordstrom [Tue, 25 Nov 2008 12:22:19 +0000 (13:22 +0100)] 
Fix cache_peer forceddomainname when request has a Host header

cache_peer forceddomainname=xxx only worked when the received request
did not have a Host header.

17 years agoBug 2525: invalid encoding of non iso-8859-1 error pages
Amos Jeffries [Wed, 19 Nov 2008 12:00:15 +0000 (01:00 +1300)] 
Bug 2525: invalid encoding of non iso-8859-1 error pages

Translation toolkit was not updating the content-type when bundling
translations. It has since been updated to a version which does 'tidy'
the output HTML.

Also updating the default templates ISO-8859-1 coding to UTF-8
to present a usable backup in case of such future failures.

17 years agoImport initial code
Amos Jeffries [Wed, 19 Nov 2008 06:59:00 +0000 (19:59 +1300)] 
Import initial code

17 years agoDist DiskIO modules.sh script
Amos Jeffries [Mon, 17 Nov 2008 12:01:38 +0000 (01:01 +1300)] 
Dist DiskIO modules.sh script

17 years agoVarious dist problems
Amos Jeffries [Sun, 16 Nov 2008 04:24:43 +0000 (21:24 -0700)] 
Various dist problems

17 years agoFix: no such file spnegohelp.h in squid_kerb_auth helper
Amos Jeffries [Sun, 16 Nov 2008 03:34:52 +0000 (20:34 -0700)] 
Fix: no such file spnegohelp.h in squid_kerb_auth helper

17 years agoChange snapshots build location
Amos Jeffries [Sun, 16 Nov 2008 02:28:49 +0000 (19:28 -0700)] 
Change snapshots build location

/tmp is no longer large enough for the snapshot and test build data
moving to the maintenance account.

17 years agoBug 2523: bad assertion
Amos Jeffries [Sun, 16 Nov 2008 01:08:28 +0000 (14:08 +1300)] 
Bug 2523: bad assertion

17 years agoIgnore ska_config.h.in from squid_kerb_auth
Amos Jeffries [Sat, 15 Nov 2008 03:40:08 +0000 (16:40 +1300)] 
Ignore ska_config.h.in from squid_kerb_auth

17 years agoFix IPAddress not setting sin_len on BSD
Amos Jeffries [Sat, 15 Nov 2008 03:28:44 +0000 (20:28 -0700)] 
Fix IPAddress not setting sin_len on BSD

17 years agoFix assertion in DskIO and Ufs unit tests
Amos Jeffries [Fri, 14 Nov 2008 16:14:29 +0000 (05:14 +1300)] 
Fix assertion in DskIO and Ufs unit tests

Classes whose initialization is implied from the presence of a soliton
do not get initialized when their soliton is hidden away in a library.
Only when the object is linked to a main app.

DiskIO modules are such and require a hook to probe the soliton before
initialization kicks off. This patch adds such a hook function which is
called from the manager setup function to probe all built modules and
ensure their existance and registration is done before initializing.

Also adds a lot of function documentation in various places.

17 years agoMake squid_kerb_auth build out of tree along with squid
Amos Jeffries [Fri, 14 Nov 2008 09:43:02 +0000 (22:43 +1300)] 
Make squid_kerb_auth build out of tree along with squid

17 years agoCorrect debugs output on GetDenyInfo
Amos Jeffries [Wed, 12 Nov 2008 04:55:12 +0000 (17:55 +1300)] 
Correct debugs output on GetDenyInfo

deny_info pages are expected to be redirects sometimes.
It's only the particular lookup which can't use them.
Also they may not be a match anyway since test was done after warning.

17 years agoCorrect docs on httpSTatusLinePackInto
Amos Jeffries [Wed, 12 Nov 2008 04:44:01 +0000 (17:44 +1300)] 
Correct docs on httpSTatusLinePackInto

17 years agoRe-enable COSS .h files for testing. .cc remain disabled.
Amos Jeffries [Tue, 11 Nov 2008 10:38:40 +0000 (23:38 +1300)] 
Re-enable COSS .h files for testing. .cc remain disabled.

17 years agoUpdate squid_kerb_auth to 1.0.5
Amos Jeffries [Tue, 11 Nov 2008 10:11:53 +0000 (23:11 +1300)] 
Update squid_kerb_auth to 1.0.5

produces clean errors when headers are missing.
dist spnegohelp files.

17 years agoCorrect configure tests on squid_kerb_auth
Amos Jeffries [Sun, 9 Nov 2008 11:25:31 +0000 (00:25 +1300)] 
Correct configure tests on squid_kerb_auth

17 years agoPrep for 3.1.0.2
Amos Jeffries [Sun, 9 Nov 2008 10:13:26 +0000 (23:13 +1300)] 
Prep for 3.1.0.2

17 years agodist the translations and templates properly
Amos Jeffries [Sun, 9 Nov 2008 04:10:23 +0000 (17:10 +1300)] 
dist the translations and templates properly

17 years agoCOSS removal from Squid-3
Amos Jeffries [Sun, 9 Nov 2008 03:37:11 +0000 (16:37 +1300)] 
COSS removal from Squid-3

I'm expanding the COSS 'removal' from just 3.0 to all Squid-3.
The hoped for work has not yet been presented. When someone is available
they need to revert this patch. - Amos

  We had a vote on this some (several) months before 3.0 got branched, and
  it was decided to drop COSS from the Squid-3.0 branch once branched.
  Then the branching got delayed, and this task was forgotten when it
  finally branched.

  Until COSS gets significantly updated it's counter-productive to ship it
  in STABLE releases. But the current code needs to be kept in trunk as
  reference on how things got refactored for the day the current COSS code
  gets forward ported to Squid-3.

  Regards
  Henrik

17 years agoAuthor: Thomas-Martin Seck <tmseck-lists@netcologne.de>
Amos Jeffries [Sun, 9 Nov 2008 02:08:45 +0000 (15:08 +1300)] 
Author: Thomas-Martin Seck <tmseck-lists@netcologne.de>
Drop som bashism's from configure

17 years agoCorrect execute and write permissions from some files.
Amos Jeffries [Sun, 9 Nov 2008 01:04:23 +0000 (14:04 +1300)] 
Correct execute and write permissions from some files.

17 years agoIPAddress tests and corrections.
Amos Jeffries [Sat, 8 Nov 2008 13:39:39 +0000 (06:39 -0700)] 
IPAddress tests and corrections.

Fixes two cases where GetSockAddr did not set sin*_len properly

Fixes configure tests for sin*_len

TODO: still to find and fix where we are getting on FreeBSD:
 SYS SS_LEN=16
 SQD SS_LEN=0    (should be 16)

17 years agoFix configure syntax error in squid_kerb_ath
Amos Jeffries [Sat, 8 Nov 2008 03:57:49 +0000 (20:57 -0700)] 
Fix configure syntax error in squid_kerb_ath

17 years agoRollback abort, slipped in
Amos Jeffries [Sat, 8 Nov 2008 03:47:14 +0000 (16:47 +1300)] 
Rollback abort, slipped in