]> git.ipfire.org Git - thirdparty/squid.git/log
thirdparty/squid.git
17 years agoAdd cachemgr.conf.default for easier maintenance
Amos Jeffries [Tue, 13 May 2008 14:51:16 +0000 (08:51 -0600)] 
Add cachemgr.conf.default for easier maintenance

cachemgr.conf has for a long while been created conditionally if none
already existed, but no current new default file was added to compare
for new configuration options.

This patch adds a file named cachemgr.conf.default next to the cachemgr.conf

cachemgr.conf.default file is replaces unconditionally so that it remains
current with the most recently installed build.
cachemgr.conf itself is only created if not already present so as not to
loose local configuration changes.

17 years agoBootstrapped
Amos Jeffries [Mon, 12 May 2008 03:31:52 +0000 (21:31 -0600)] 
Bootstrapped

17 years agoAuthor: Thomas-Martin Seck <tmseck@netcologne.de>
Amos Jeffries [Mon, 12 May 2008 02:33:52 +0000 (14:33 +1200)] 
Author: Thomas-Martin Seck <tmseck@netcologne.de>
Bug 2346: fix the passing of C(XX)FLAGS for cachemgr.cgi

cachemgr.cgi should now locate its default config file properly

17 years agoAuthor: Finn Thain <fthain@telegraphics.com.au>
Amos Jeffries [Mon, 12 May 2008 02:31:23 +0000 (14:31 +1200)] 
Author: Finn Thain <fthain@telegraphics.com.au>
Bug 2332: segfault in tunnelConnectTimeout()

Fixes at least one race condition.

If tunnelConnectTimeout() is called before tunnelPeerSelectComplete(), then
tunnelState->servers will be NULL.

17 years agoAuthor: Finn Thain <fthain@telegraphics.com.au>
Amos Jeffries [Mon, 12 May 2008 02:28:21 +0000 (14:28 +1200)] 
Author: Finn Thain <fthain@telegraphics.com.au>
Bug 2339: segfault in MemBuf::append()

This segfault was caused by a buffer overrun in Range header processing.
The fix re-arranges the length calculations to make sense.

17 years agoAuthor: Finn Thain <fthain@telegraphics.com.au>
Amos Jeffries [Mon, 12 May 2008 02:22:52 +0000 (14:22 +1200)] 
Author: Finn Thain <fthain@telegraphics.com.au>
Bug 2323: basic auth leaks memory

- Several fixes resolving bad logic and leaks in basic auth.

17 years agoBug 2206: Build error caused by incorrect configure include file detection
Amos Jeffries [Mon, 12 May 2008 01:51:12 +0000 (13:51 +1200)] 
Bug 2206: Build error caused by incorrect configure include file detection

Adds type-definitions for the *BSD family networking OS header files which
depend on them without including the necessary definition headers themselves.

Completes fix for Bug 2196 detailed files.

17 years agoBug 2196: configure: net*/*.h present but cannot be compiled
Amos Jeffries [Mon, 12 May 2008 01:48:26 +0000 (13:48 +1200)] 
Bug 2196: configure: net*/*.h present but cannot be compiled

This moves critical net*/*.h file tests from the general location
and use testign to the *BSD special testing which accounts for
system file dependencies.

TODO: some files are still missing dependencies even with the *BSD test
      their brokenness will be fixed at a later point. (bug 2206)

17 years agoBootstrapped
Henrik Nordstrom [Sat, 10 May 2008 00:13:24 +0000 (18:13 -0600)] 
Bootstrapped

17 years agoAuthor: Henrik Nordstrom <henrik@henriknordstrom.net>
Amos Jeffries [Fri, 9 May 2008 12:18:56 +0000 (06:18 -0600)] 
Author: Henrik Nordstrom <henrik@henriknordstrom.net>
Bug #1784: access_log syslog results in blanks syslog lines
between every access log entry.

Correct earlier forwardport of Squid-2 patch. There must only be
one log call per entry..

17 years agoRemove: ZPH (Zero Penalty Hit) QOS features.
Amos Jeffries [Fri, 9 May 2008 10:35:58 +0000 (22:35 +1200)] 
Remove: ZPH (Zero Penalty Hit) QOS features.

see http://www.squid-cache.org/mail-archive/squid-dev/200805/0029.html

17 years agoBootstrap and Test Fallout
Amos Jeffries [Sun, 4 May 2008 12:36:34 +0000 (06:36 -0600)] 
Bootstrap and Test Fallout

17 years agoAuthor: Henrik Nordstrom <henrik@henriknordstrom.net>
Amos Jeffries [Sun, 4 May 2008 11:53:29 +0000 (23:53 +1200)] 
Author: Henrik Nordstrom <henrik@henriknordstrom.net>
Make --with-large-files try to build 64-bit if possible

--with-large-files for some reason tried to make a 32-bit build with
large file offsets even if the host supports 64-bit applications, making
--with-large-files degrade Squid capabilities on 64-bit OS:es..

17 years agoAuthor: Guido Serassio <serassio@squid-cache.org>
Amos Jeffries [Sun, 4 May 2008 11:08:15 +0000 (23:08 +1200)] 
Author: Guido Serassio <serassio@squid-cache.org>
Windows port: Add support for the Windows machine DNS domain, and also automatically derived default domain

This patch adds the capacity to get the machine DNS domain from the registry, similar to
search but only accepting a single domain.

In addition it adds support for automatically deriving the domain from
the fully qualified hostname.

Also fixed some memory leaks during the DNS configuration parse in the registry.

17 years agoAuthor: Guido Serassio <serassio@squid-cache.org>
Amos Jeffries [Sun, 4 May 2008 11:05:58 +0000 (23:05 +1200)] 
Author: Guido Serassio <serassio@squid-cache.org>
Removed the advertisement clause from BSD license

According to the new revised (3-clause) BSD license:
ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
the advertisement clause (3) of old (4-clause) BSD license can
be deleted.

Also added forgotten reference to lib/strnstr.cc into CREDITS

17 years agoAuthor: Guido Serassio <serassio@squid-cache.org>
Amos Jeffries [Sun, 4 May 2008 11:03:31 +0000 (23:03 +1200)] 
Author: Guido Serassio <serassio@squid-cache.org>
Windows port: Return the effective system pagesize in getpagesize()

17 years agoBootstrapped
Henrik Nordstrom [Sun, 4 May 2008 00:13:12 +0000 (18:13 -0600)] 
Bootstrapped

17 years agoAuthor: Marin Stavrev <mstavrev@gmail.com>
Amos Jeffries [Sat, 3 May 2008 23:37:00 +0000 (11:37 +1200)] 
Author: Marin Stavrev <mstavrev@gmail.com>
ZPH (Zero Penalty Hit) QOS features.

Adds --enable-zph-qos options to turn on the following:

 - Allows you to select a TOS/Diffserv value to mark local hits.

 - Allows you to select a TOS/Diffserv value to mark peer hits.

 - Allows you to selectively set only sibling or sibling+parent requests

 - Allows any HTTP response towards clients will
   have the TOS value of the response comming from the remote
   server masked with the value of zph_preserve_miss_tos_mask.
   For this to work correctly, you will need to patch your linux
   kernel with the TOS preserving ZPH patch.
   The kernel patch can be downloaded from http://zph.bratcheda.org

 - Allows you to mask certain bits in the TOS received from the
   remote server, before copying the value to the TOS send towards
   clients.

17 years agoBootstrap and build-test fallout from earlier patches
Amos Jeffries [Sat, 3 May 2008 06:36:25 +0000 (00:36 -0600)] 
Bootstrap and build-test fallout from earlier patches

17 years agoAuthor: Guido Serassio <serassio@squid-cache.org>
Amos Jeffries [Sat, 3 May 2008 04:48:51 +0000 (22:48 -0600)] 
Author: Guido Serassio <serassio@squid-cache.org>
Import reconfigure cachemgr action from NT Devel branch

This patch add the reconfigure restricted action to Cache Manager.

17 years agoAuthor: Guido Serassio <serassio@squid-cache.org>
Amos Jeffries [Sat, 3 May 2008 04:46:44 +0000 (22:46 -0600)] 
Author: Guido Serassio <serassio@squid-cache.org>
Fix make check error when COSS is enabled

17 years agoAuthor: Alex Rousskov <rousskov@measurement-factory.com>
Amos Jeffries [Fri, 2 May 2008 11:12:10 +0000 (23:12 +1200)] 
Author: Alex Rousskov <rousskov@measurement-factory.com>
Bug 2254: umask support needs porting from 2.6

17 years agoAuthor: Christos Tsantilas <chtsanti@users.sourceforge.net>
Amos Jeffries [Fri, 2 May 2008 11:08:58 +0000 (23:08 +1200)] 
Author: Christos Tsantilas <chtsanti@users.sourceforge.net>
Bug 2308: Segmentation fault in AuthDigestUserRequest::authUser

In this patch:
 - In method AuthDigestConfig::decode just do not delete the digest_request on
errors  but use it as is in the authDigestLogUsername functions.

 - In the method AuthDigestConfig::fixHeader change the line  "int stale = 1;"
to "int stale = 0;" to make squid respond with  "stale=false" in the first
unauthenticated request of web client.

17 years agoAuthor: Peter Hidas <peter.hidas@safeland.hu>
Amos Jeffries [Wed, 30 Apr 2008 12:58:50 +0000 (00:58 +1200)] 
Author: Peter Hidas <peter.hidas@safeland.hu>
Bug 2331: ntlm_auth helper resolves DC hostname to 0.

17 years agoRe-build Release-Notes. Failed to update for Release
Amos Jeffries [Wed, 30 Apr 2008 00:20:53 +0000 (12:20 +1200)] 
Re-build Release-Notes. Failed to update for Release

17 years agoOops. I broke something with strnstr. SQUID_3_0_STABLE5
Amos Jeffries [Tue, 29 Apr 2008 03:17:05 +0000 (21:17 -0600)] 
Oops. I broke something with strnstr.

17 years agoPrep and Bootstrap for STABLE5
Amos Jeffries [Tue, 29 Apr 2008 02:52:30 +0000 (20:52 -0600)] 
Prep and Bootstrap for STABLE5

17 years agoBootstrapped
Henrik Nordstrom [Tue, 29 Apr 2008 00:13:00 +0000 (18:13 -0600)] 
Bootstrapped

17 years agoImport strnstr from FreeBSD sources.
Amos Jeffries [Mon, 28 Apr 2008 14:01:46 +0000 (08:01 -0600)] 
Import strnstr from FreeBSD sources.

Needed for some string-safe operations.

strnstr() is not provided on all OS (Linux with gcc 3.x for one).
And some OS are known to bundle an unsafe version (MacOS X 10.4 has a
buffer overrun)

So code should use the function named squid_strnstr() and auto-tools will
test to see if the OS provided version is usable.

17 years agoAuthor: Alex Rousskov <rousskov@measurement-factory.com>
Amos Jeffries [Fri, 25 Apr 2008 10:54:47 +0000 (22:54 +1200)] 
Author: Alex Rousskov <rousskov@measurement-factory.com>
Bug 2294: Bypassing 403 and 404 status to ICAP using icap_access - Failed

17 years agoBug 2297: file uploads (RFC1867) fail with "error:double-CR"
Amos Jeffries [Fri, 25 Apr 2008 10:39:36 +0000 (22:39 +1200)] 
Bug 2297: file uploads (RFC1867) fail with "error:double-CR"

Uses strnstr instead of strstr to limit the scan area

17 years agoAuthor: Alexander Lukyanov <lav@yar.ru>
Amos Jeffries [Fri, 25 Apr 2008 08:45:27 +0000 (20:45 +1200)] 
Author: Alexander Lukyanov <lav@yar.ru>
Bug 2321: Range tests failing.

17 years agoAuthor: Christos Tsantilas <chtsanti@users.sourceforge.net>
Amos Jeffries [Sun, 20 Apr 2008 06:13:01 +0000 (18:13 +1200)] 
Author: Christos Tsantilas <chtsanti@users.sourceforge.net>
Bug 2311: crashes/restarts when ICAP enabled on respmod for HTTP body size greater than 100kb

17 years agoChangeLog updates
Amos Jeffries [Sat, 19 Apr 2008 03:11:05 +0000 (21:11 -0600)] 
ChangeLog updates

17 years agoKill obsolete .cvsignore files (not used by bzr)
Amos Jeffries [Sat, 19 Apr 2008 02:50:37 +0000 (20:50 -0600)] 
Kill obsolete .cvsignore files (not used by bzr)

17 years agoAdd more auto-generated files to BZR ignore list.
Amos Jeffries [Sat, 19 Apr 2008 02:42:25 +0000 (20:42 -0600)] 
Add more auto-generated files to BZR ignore list.

17 years agoAdd bzr ignore files to 3.0.STABLE
Amos Jeffries [Sat, 19 Apr 2008 02:35:29 +0000 (20:35 -0600)] 
Add bzr ignore files to 3.0.STABLE

17 years agoBootstrapped
Amos Jeffries [Sat, 19 Apr 2008 02:25:39 +0000 (20:25 -0600)] 
Bootstrapped

17 years agoAuthor: Henrik Nordstrom <henrik@henriknordstrom.net>
Amos Jeffries [Sat, 19 Apr 2008 02:09:36 +0000 (20:09 -0600)] 
Author: Henrik Nordstrom <henrik@henriknordstrom.net>
Add support for the resolv.conf domain directive, and also automatically derived default domain

This patch adds the domain resolv.conf directive, similar to search but
only accepting a single domain.

In addition it adds support for automatically deriving the domain from
the fully qualified hostname.

17 years agoAuthor: Henrik Nordstrom <henrik@henriknordstrom.net>
Amos Jeffries [Sat, 19 Apr 2008 02:05:40 +0000 (20:05 -0600)] 
Author: Henrik Nordstrom <henrik@henriknordstrom.net>
Spelling correction

17 years agoAuthor: Henrik Nordstrom <henrik@henriknordstrom.net>
Amos Jeffries [Sat, 19 Apr 2008 02:04:38 +0000 (20:04 -0600)] 
Author: Henrik Nordstrom <henrik@henriknordstrom.net>
Add x86_64 support to XPROF_STATS

17 years agoAuthor: Henrik Nordstrom <henrik@henriknordstrom.net>
Amos Jeffries [Sat, 19 Apr 2008 02:02:49 +0000 (20:02 -0600)] 
Author: Henrik Nordstrom <henrik@henriknordstrom.net>
Bug #2310: Incorrect default time/date log format

The %tl and %tg logformat tags is meant to use the same date format as
Apache/NCSA, but in Squid-3 there was a space instead of : between the
date and time.

17 years agoAuthor: rousskov
Amos Jeffries [Fri, 18 Apr 2008 06:12:01 +0000 (00:12 -0600)] 
Author: rousskov
Bug 2224 fix: reentrant debugging crashes Squid

Reentrant debugging occurs when something being written into the debugging
stream produces its own debugging. For example, a field accessor method may
make cbdata-validation calls, which would produce debugging. Logging such
field would crash Squid if sufficiently high debugging level is enabled.

With this change, the Debug methods detect reentrant calls and mostly ignore
them, allowing the caller to append debugging information to the existing
debug stream. A short debugging label is added before and after the reentrant
debugging message to reduce confusion that overlapping debugging statements
may cause during log analysis.

17 years agoAuthor: Guido Serassio <serassio@squid-cache.org>
Amos Jeffries [Fri, 18 Apr 2008 05:20:48 +0000 (23:20 -0600)] 
Author: Guido Serassio <serassio@squid-cache.org>
Fix build error on Irix.

On Irix the inclusion of sstream defines assert(), so the build fails for
a redefinition error.
Just include Debug.h as last to fix the problem.

AYJ: amendment patch included:
 Troublesome header include was a duplicate of a better sequence in Debug.h
 remove the .cc duplicates.

17 years agoBug 2318 : compilation issue in some compilers
Amos Jeffries [Fri, 18 Apr 2008 05:14:51 +0000 (23:14 -0600)] 
Bug 2318 : compilation issue in some compilers

17 years agoFallout from build-testing the new backports.
Amos Jeffries [Sat, 12 Apr 2008 15:16:27 +0000 (09:16 -0600)] 
Fallout from build-testing the new backports.

17 years agoAuthor: Alex Rousskov <rousskov@measurement-factory.com>
Amos Jeffries [Sat, 12 Apr 2008 14:09:29 +0000 (08:09 -0600)] 
Author: Alex Rousskov <rousskov@measurement-factory.com>
Bug 2186 pt 2: DIRECT/<ip> mixed with DIRECT/<hostname>

17 years agoAuthor: Guido Serassio <serassio@squid-cache.org>
Amos Jeffries [Sat, 12 Apr 2008 14:05:21 +0000 (08:05 -0600)] 
Author: Guido Serassio <serassio@squid-cache.org>
Windows port: Released name of Longhorn Server is Windows Server 2008

17 years agoAuthor: Henrik Nordstrom <henrik@henriknordstrom.net>
Amos Jeffries [Sat, 12 Apr 2008 14:03:26 +0000 (08:03 -0600)] 
Author: Henrik Nordstrom <henrik@henriknordstrom.net>
Fallback on transparent interception mode even if the connection didn't seem to be transparently intercepted

Needed to deal properly with situations where connections to the local host
is intercepted, or when people NAT outside the Squid server but still compile
Squid with support for the NAT/interception method availabe on the host OS..

17 years agoAuthor: Christos Tsantilos <chtsanti@users.sourceforge.net>
Amos Jeffries [Sat, 12 Apr 2008 14:00:53 +0000 (08:00 -0600)] 
Author: Christos Tsantilos <chtsanti@users.sourceforge.net>
Bug 2286: assertion failed: HttpHdrContRange.cc:100: "spec->length >= 0"

Moves the assertion check for spec->length in function
httpHdrRangeRespSpecParseInit  exactly after the spec->length copmuted.

Also Fix of a possible  misuse of errno in httpHeaderParseOffset function
The errno before used with strtol function must set to "0".

17 years agoAuthor: Henrik Nordstrom <hno@squid-cache.org>
Amos Jeffries [Sat, 12 Apr 2008 13:55:42 +0000 (07:55 -0600)] 
Author: Henrik Nordstrom <hno@squid-cache.org>
Removed execute bit from various non-executable source files

17 years agoFix processing of large reply headers
Amos Jeffries [Wed, 9 Apr 2008 12:52:03 +0000 (06:52 -0600)] 
Fix processing of large reply headers
Author: Henrik Nordstrom <hno@squid-cache.org>

17 years agoMerge reply_header_max_size fix from trunk, quite related.
Henrik Nordstrom [Mon, 7 Apr 2008 23:15:53 +0000 (01:15 +0200)] 
Merge reply_header_max_size fix from trunk, quite related.

17 years agoMerged changes from SQUID_3_0
Henrik Nordstrom [Sun, 6 Apr 2008 00:38:49 +0000 (02:38 +0200)] 
Merged changes from SQUID_3_0

17 years agoImport MemBuf::size(size) method from HEAD
Henrik Nordstrom [Sun, 6 Apr 2008 00:35:11 +0000 (02:35 +0200)] 
Import MemBuf::size(size) method from HEAD

17 years agoCorrect and simplify parsing of list headers
Amos Jeffries [Sat, 5 Apr 2008 02:58:42 +0000 (20:58 -0600)] 
Correct and simplify parsing of list headers
Author: Henrik Nordstrom <hno@squid-cache.org>

17 years agoHonor 0x and 0 prefixes as numeric base indication when parsing squid.conf integer...
Amos Jeffries [Sat, 5 Apr 2008 02:53:11 +0000 (20:53 -0600)] 
Honor 0x and 0 prefixes as numeric base indication when parsing squid.conf integer options.
Author: Alex Rousskov <rousskov@measurement-factory.com>

Squid3 parses squid.conf file integers as decimal numbers while Squid2 honors
0 and 0x prefixes (indicating octal and hex numbers). The later functionality
is needed for things like unmask that are traditionally specified using octal
format.

This patch changes Squid3 behavior to match that of Squid2.
Internally, Squid3 uses sscanf and Squid2 uses strtol.

TODO: Squid3::GetInteger should probably use xatol,
and xatol should be fixed to proper verify the result of strtol.

17 years agoBug #2267 - increase MAX_URL to 8192
Amos Jeffries [Sat, 5 Apr 2008 02:48:51 +0000 (20:48 -0600)] 
Bug #2267 - increase MAX_URL to 8192

17 years agoPrep and Bootstrap for STABLE4. SQUID_3_0_STABLE4
Amos Jeffries [Tue, 1 Apr 2008 11:51:41 +0000 (05:51 -0600)] 
Prep and Bootstrap for STABLE4.

17 years agoBug 2288: compile error in dns_internal.cc
Amos Jeffries [Tue, 1 Apr 2008 10:58:55 +0000 (04:58 -0600)] 
Bug 2288: compile error in dns_internal.cc

17 years agoBootstrapped. SQUID_3_0_STABLE3
Amos Jeffries [Mon, 31 Mar 2008 06:19:59 +0000 (00:19 -0600)] 
Bootstrapped.

17 years agoFix release script and update configure for STABLE3
Amos Jeffries [Mon, 31 Mar 2008 06:18:50 +0000 (00:18 -0600)] 
Fix release script and update configure for STABLE3

17 years agoBug #2001: Read full response headers when >4KB
Henrik Nordstrom [Sun, 30 Mar 2008 16:38:00 +0000 (18:38 +0200)] 
Bug #2001: Read full response headers when >4KB

cherrypicked from trunk to complete support for large responses.

17 years agoMerged from SQUID_3_0
Henrik Nordstrom [Sun, 30 Mar 2008 15:28:46 +0000 (17:28 +0200)] 
Merged from SQUID_3_0

17 years agoMerged largeresp
Henrik Nordstrom [Sun, 30 Mar 2008 14:29:57 +0000 (16:29 +0200)] 
Merged largeresp

17 years agoBootstrapped
Amos Jeffries [Sat, 29 Mar 2008 06:56:53 +0000 (00:56 -0600)] 
Bootstrapped

17 years agoPreparation for STABLE3
Amos Jeffries [Sat, 29 Mar 2008 06:51:03 +0000 (18:51 +1200)] 
Preparation for STABLE3

17 years agoMerges from 3-HEAD
Amos Jeffries [Sat, 29 Mar 2008 06:27:18 +0000 (18:27 +1200)] 
Merges from 3-HEAD

17 years agoBug #420: Fails to parse Connection: ,,,Header,,,
Amos Jeffries [Sat, 29 Mar 2008 06:14:27 +0000 (18:14 +1200)] 
Bug #420: Fails to parse Connection: ,,,Header,,,
Author: Henrik Nordstrom

and other list constructs with empty members

17 years agoReplace a goto with do-while
Amos Jeffries [Sat, 29 Mar 2008 06:11:36 +0000 (18:11 +1200)] 
Replace a goto with do-while

17 years agoBug #2278: Cache-Control: max-stale forwarded wrongly as max-stale=-1
Amos Jeffries [Sat, 29 Mar 2008 06:06:45 +0000 (18:06 +1200)] 
Bug #2278: Cache-Control: max-stale forwarded wrongly as max-stale=-1
Author: Henrik Nordstrom

17 years agoBug #2263: Custom log formats fail to log file sizes >2GB properly on 32-bit platforms
Amos Jeffries [Sat, 29 Mar 2008 06:02:24 +0000 (18:02 +1200)] 
Bug #2263: Custom log formats fail to log file sizes >2GB properly on 32-bit platforms
Author: Henrik Nordstrom

Was partially addressed in squid-3, but only for one of several log format codes
involving object sizes..

17 years agoBug #2203: configure {--with-maxfd,--with-filedescriptors} unsets LDFLAGS
Amos Jeffries [Sat, 29 Mar 2008 05:59:02 +0000 (17:59 +1200)] 
Bug #2203: configure {--with-maxfd,--with-filedescriptors} unsets LDFLAGS

Moves LDFLAGS save point to a position which covers all FD test code

17 years agoMake range_offset_limit 0 disable local range processing as documented
Amos Jeffries [Sat, 29 Mar 2008 05:48:42 +0000 (17:48 +1200)] 
Make range_offset_limit 0 disable local range processing as documented
Author: Henrik Nordstrom

was prefetching the object and processing ranges locally if the first
range started at 0 ...

17 years agoAuthor: Massimo Zito <zmax.linkedin at gmail dot com>
Amos Jeffries [Sat, 22 Mar 2008 04:11:35 +0000 (16:11 +1200)] 
Author: Massimo Zito <zmax.linkedin at gmail dot com>
squid_radius_auth failed to process more than 256 requests

The radius request-id field is a unsigned char, but the internal request_id
counter was a integer causing mismatch after 256 queries.

17 years agoAuthor: Golub Mikhail
Amos Jeffries [Fri, 21 Mar 2008 06:59:26 +0000 (18:59 +1200)] 
Author: Golub Mikhail
Strip domain from username for squid 3 and delay_pools class4

auth_param ntlm program /usr/local/libexec/squid/fakeauth_auth -S
And i nave username without domain from ntlm_auth.

17 years agoBug #2275: 3.0 compile failure "ProtoPort.h" missing.
Henrik Nordstrom [Thu, 20 Mar 2008 13:01:28 +0000 (14:01 +0100)] 
Bug #2275: 3.0 compile failure "ProtoPort.h" missing.

ProtoPort.h is only meant to be in 3.HEAD (what will become 3.1).

Resolved merge conflict in backport of bug #2252 Build failure on Mac OSX 10.5.
(rev #8723)

17 years agoBug #1634: no Proxy-Authenticate header in 407 responses
Amos Jeffries [Fri, 14 Mar 2008 04:45:16 +0000 (17:45 +1300)] 
Bug #1634: no Proxy-Authenticate header in 407 responses

This is a temporary fix partially reversing the fix for bug 1923.
It is likely to be superseded in future releases. It is intended only to
restore critical previous behaviour to squid as a short-term measure.

17 years agoBug #2252: Build failure on Mac OSX 10.5
Amos Jeffries [Fri, 14 Mar 2008 04:40:02 +0000 (17:40 +1300)] 
Bug #2252: Build failure on Mac OSX 10.5

17 years agoBootstrapped
Henrik Nordstrom [Thu, 13 Mar 2008 19:53:13 +0000 (13:53 -0600)] 
Bootstrapped

17 years agoBootstrapped
Henrik Nordstrom [Sat, 8 Mar 2008 13:20:28 +0000 (06:20 -0700)] 
Bootstrapped

17 years agobootstrapped. SQUID_3_0_STABLE2
amosjeffries [Tue, 4 Mar 2008 19:30:59 +0000 (19:30 +0000)] 
bootstrapped.

17 years agoSet version number for STABLE2
amosjeffries [Tue, 4 Mar 2008 19:17:04 +0000 (19:17 +0000)] 
Set version number for STABLE2

17 years agoBug 2250: double-freeing memory in http_port name= option code.
amosjeffries [Tue, 4 Mar 2008 19:10:00 +0000 (19:10 +0000)] 
Bug 2250: double-freeing memory in http_port name= option code.

- Seems it was only a strdup / xstrdup problem

17 years agoOptimisation cleanup of fake_auth
amosjeffries [Tue, 4 Mar 2008 19:08:20 +0000 (19:08 +0000)] 
Optimisation cleanup of fake_auth

strlen() is expensive (particularly on large buffers) and is only needed
once here.

17 years agoWindows port: Fix wrong FD read/write CPU profiling.
serassio [Sun, 2 Mar 2008 20:34:06 +0000 (20:34 +0000)] 
Windows port: Fix wrong FD read/write CPU profiling.

17 years agoFix Castings slipped out of back-ported patches from 3.1.
amosjeffries [Sat, 1 Mar 2008 17:45:34 +0000 (17:45 +0000)] 
Fix Castings slipped out of back-ported patches from 3.1.

17 years agoBootstrapped
hno [Thu, 28 Feb 2008 08:13:03 +0000 (08:13 +0000)] 
Bootstrapped

17 years agoRelease Prep: update Change\Log
amosjeffries [Thu, 28 Feb 2008 07:49:19 +0000 (07:49 +0000)] 
Release Prep: update Change\Log

17 years agoRelease Prep: Build doc/release-notes/* files
amosjeffries [Thu, 28 Feb 2008 07:26:31 +0000 (07:26 +0000)] 
Release Prep: Build doc/release-notes/* files

17 years agoUpdate errors/list to match the actual list of error pages used
amosjeffries [Thu, 28 Feb 2008 07:16:11 +0000 (07:16 +0000)] 
Update errors/list to match the actual list of error pages used

17 years agoAuthor: rousskov
amosjeffries [Wed, 27 Feb 2008 18:24:18 +0000 (18:24 +0000)] 
Author: rousskov
Added a CPPUNIT assertion to test whether a failed CPPUNIT test case properly
destructs local objects on exit.

If a previous test case fails for any reason, the new assertion will fail
instead of store_dir.cc aborting.  This may save us from tracking non-existent
StoreController initialization bugs.

17 years agoAuthor: Vitaliy Matytsyn (main) <vm@if.bank.gov.ua>
amosjeffries [Wed, 27 Feb 2008 17:59:37 +0000 (17:59 +0000)] 
Author: Vitaliy Matytsyn (main) <vm@if.bank.gov.ua>
Updated Ukrainan error pages

Copy the english ERR_SECURE_CONNECT_FAIL message to Ukrainian while waiting
for a translation.

(AYJ: sorry, I missed the add before commit)

17 years agoAuthor: Vitaliy Matytsyn (main) <vm@if.bank.gov.ua>
amosjeffries [Wed, 27 Feb 2008 17:55:13 +0000 (17:55 +0000)] 
Author: Vitaliy Matytsyn (main) <vm@if.bank.gov.ua>
Updated Ukrainan error pages

Copy the english ERR_SECURE_CONNECT_FAIL message to Ukrainian while waiting
for a translation.

17 years agoSeveral String fixes.
amosjeffries [Wed, 27 Feb 2008 17:47:59 +0000 (17:47 +0000)] 
Several String fixes.

- Add two missing includes when configured --disable-inline
- SegFault when newly allocated string set to 0-length.
  buf_ may be NULL and buffer overruns on truncate attempt

17 years agoAuthor: rousskov
amosjeffries [Wed, 27 Feb 2008 17:45:50 +0000 (17:45 +0000)] 
Author: rousskov
The connect(2) system call might return "connection ready"
status even for a non-blocking file descriptor. The connection
itself can never be immediately ready in reality because of the
TCP handshake, but I am guessing that in some environments, the
TCP stack fakes/optimizes local connection readiness. We have
seen that for loopback sockets on FreeBSD 6.2, for example, but
the behavior is probably OS- or OS-configuration specific.

If connect(2) is immediately successful, comm module
immediately calls the callback. This means that the callback is
called while the same callback is being registered with comm.
ICAP does not allow this "re-entrance" and other code might not
deal well with it.

The change overwrites connect(2) result so that Squid does not
think that connect(2) was immediately successful. Instead of
calling the callback, Squid then schedules the connection
write-ability check.

The NativeAsyncCall development will fix this and remove the
need to overwrite connect(2) result because comm will always
call callbacks asynchronously.

17 years agoAuthor: Steven Wilton <swilton@q-net.net.au>
amosjeffries [Wed, 27 Feb 2008 17:43:56 +0000 (17:43 +0000)] 
Author: Steven Wilton <swilton@q-net.net.au>
Sort cache list in wccpv2 to ensure a consistent hash allocation across all serv
ices

Under some circumstances different caches were being allocated differnet hash
assignments for different wccpv2 services.  This caused problems when using
TPROXY as the reply traffic was being sent to a different cache than the request
causing problems in browsing web pages.

This patch applied a selection sort algorithm to the cache list to ensure that
as long as the same group of caches are registered for any number of wccpv2
services, they will be allocated the same hash assignments in the router.

17 years agoAuthor: rousskov
amosjeffries [Wed, 27 Feb 2008 17:42:23 +0000 (17:42 +0000)] 
Author: rousskov
Bug 1978: fwdServerClose retries non-idempotent methods

checkRetry is now guaranteed to return false for requests that checkRetriable
previously returned false. This prevents retries of requests with
non-idempotent methods, for example.

17 years agoAuthor: Christos Tsantilas <chtsanti@users.sourceforge.net>
amosjeffries [Wed, 27 Feb 2008 17:41:16 +0000 (17:41 +0000)] 
Author:  Christos Tsantilas <chtsanti@users.sourceforge.net>
Bug 2172: When user fails authentification Squid restarts

Replaced an assertion that there is no auth_user_request, a comment what
to do when there is no auth_user_request, and a comment that there can
be no auth_user_request with what the first comment suggested to do.

17 years agoAuthor: rousskov
amosjeffries [Wed, 27 Feb 2008 17:38:21 +0000 (17:38 +0000)] 
Author: rousskov
Bug 2186: NONE/- due to persistent connections

When reusing a persistent server connection, update hierarchy data even
if _peer is not set. We can get the destination host info from the request.