]> git.ipfire.org Git - thirdparty/squid.git/log
thirdparty/squid.git
15 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

15 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

15 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

15 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

15 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)

15 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.

15 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

15 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

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

15 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()

15 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

15 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

15 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

15 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

15 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.

15 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.

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

15 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.

15 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

15 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.

15 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.

15 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".

15 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.

15 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

15 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.

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

15 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

15 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.

15 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++

15 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.

15 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

15 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.

15 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

15 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

15 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

15 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

15 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.

15 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.

15 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.

15 years agoOnly set Keep-alive once
Amos Jeffries [Tue, 20 Jan 2009 08:36:00 +0000 (21:36 +1300)] 
Only set Keep-alive once

Enact the TODO of same.

Some re-arrangement has been done to move setting cases which need
functions to be evaluated a lower priority than those which can be set
purely from flags.

15 years agoLanguage: Finnish
Amos Jeffries [Mon, 19 Jan 2009 05:13:17 +0000 (18:13 +1300)] 
Language: Finnish

15 years agoLanguage: Finnish
Amos Jeffries [Mon, 19 Jan 2009 04:58:10 +0000 (17:58 +1300)] 
Language: Finnish

15 years agoLanguage Updates: Add Romanian. Legacy files to UTF-8
Amos Jeffries [Sun, 18 Jan 2009 08:29:24 +0000 (21:29 +1300)] 
Language Updates: Add Romanian. Legacy files to UTF-8

15 years agoLanguage: Romanian
Amos Jeffries [Sun, 18 Jan 2009 08:19:51 +0000 (21:19 +1300)] 
Language: Romanian

Thanks to Rosetta Project and Petre MierluÅ£iu
for the bulk of translation.

15 years agoRemove FTP listing experiment. Will continue in other branch
Amos Jeffries [Sun, 18 Jan 2009 04:59:55 +0000 (17:59 +1300)] 
Remove FTP listing experiment. Will continue in other branch

15 years agoMerge from trunk
Amos Jeffries [Sun, 18 Jan 2009 04:44:20 +0000 (17:44 +1300)] 
Merge from trunk

15 years agoLanguage Updates: correct az.po attribution
Amos Jeffries [Sun, 18 Jan 2009 04:42:35 +0000 (17:42 +1300)] 
Language Updates: correct az.po attribution

15 years agoCorrect attribution on az.po
Amos Jeffries [Sun, 18 Jan 2009 04:39:13 +0000 (17:39 +1300)] 
Correct attribution on az.po

15 years agoLanguage Updates: Russian, Japanese, Azerbaijani
Amos Jeffries [Sun, 18 Jan 2009 04:33:12 +0000 (17:33 +1300)] 
Language Updates: Russian, Japanese, Azerbaijani

15 years agoLanguage: Azerbaijani
Amos Jeffries [Sun, 18 Jan 2009 04:27:22 +0000 (17:27 +1300)] 
Language: Azerbaijani

15 years agoUpdates Russian and Japanese
Amos Jeffries [Fri, 16 Jan 2009 10:43:06 +0000 (23:43 +1300)] 
Updates Russian and Japanese

15 years agoBoost debugs for WCCPv2 startup actions
Amos Jeffries [Fri, 16 Jan 2009 09:49:43 +0000 (22:49 +1300)] 
Boost debugs for WCCPv2 startup actions

15 years agoAuthor: Reinhard Sojka <reinhard.sojka@parlament.gv.at>
Amos Jeffries [Fri, 16 Jan 2009 07:39:45 +0000 (20:39 +1300)] 
Author: Reinhard Sojka <reinhard.sojka@parlament.gv.at>
Bug 2533: Solaris (sparc) with gcc/g++ doe not accept -xarch=generic64

15 years agoLanguage: Czech and updates
Amos Jeffries [Thu, 15 Jan 2009 01:51:04 +0000 (14:51 +1300)] 
Language: Czech and updates

15 years agoMakefile changes
Amos Jeffries [Thu, 15 Jan 2009 01:38:10 +0000 (14:38 +1300)] 
Makefile changes

15 years agoLangauge: Czech
Amos Jeffries [Thu, 15 Jan 2009 01:37:27 +0000 (14:37 +1300)] 
Langauge: Czech

15 years agoLanguage Updates and Translator credits
Amos Jeffries [Wed, 14 Jan 2009 21:31:59 +0000 (10:31 +1300)] 
Language Updates and Translator credits

15 years agoA bit slipped out of libip shuffle
Amos Jeffries [Wed, 14 Jan 2009 11:19:42 +0000 (00:19 +1300)] 
A bit slipped out of libip shuffle

15 years agoBuild error in HTCP patch
Amos Jeffries [Wed, 14 Jan 2009 08:24:57 +0000 (21:24 +1300)] 
Build error in HTCP patch

15 years agoPolicy change on half_closed_clients setting
Amos Jeffries [Wed, 14 Jan 2009 03:20:26 +0000 (16:20 +1300)] 
Policy change on half_closed_clients setting

In Accordance with RFC:
http://www.mail-archive.com/squid-users@squid-cache.org/msg58658.html

It is not being removed entirely due to:
http://www.mail-archive.com/squid-dev@squid-cache.org/msg09338.html

15 years agoAuthor: Regardt van de Vyver <squid@vdvyver.net>
Amos Jeffries [Wed, 14 Jan 2009 01:55:03 +0000 (14:55 +1300)] 
Author: Regardt van de Vyver <squid@vdvyver.net>
Bug 2555: Fixes to SNMP-MIB

* Modified imports as Integer32 and TEXTUAL-CONVENTION are external defines to
this MIB, it's a compliance issue for validation

* Updated the order of Revisions as the MIB spec requires them to be in reverse
choronological order

* moved the nlanr define to a valid location as it may not be the first defined
item in a module (the MODULE IDENTITY must be)

* Modified various "ACCESS" statements to "MAX-ACCESS" due to changes in the
MIB spec requiring the change of defines.

* Modified various interative table entries to "not-accessible". This is due to
the fact that the root element should not be directly accessed, rather the
generated table entries matching these values. This is not strictly neccesary
but does make the file validate on severity 3 instead of severity 2.

* Modified cacheMedianTime to have a valid range. Ranges are REQUIRED for any
object used as an INDEX

* Modified cachePeerPortHTTP and cachePeerPortIcp to use a new type
"ValidPort". This is to meet a requirement that we cannot define valid port
ranges in a sequence defenition.

* Created a new define ValidPort so that we can specify a range of valid values
for ports

* In some object defines STATUS was set to mandatory, this is however not a
valid MIB STATUS value and has thus been fixed to current. These items
specifically caused the MIBs to fail compile completely.

* cacheClientEntry had a duplicate oid and after checking the source code I
updated its oid to the correct value.

SIDE NOTE:
Squid-2 and 3.0 have a different structure for cachePeerEnty enum. This may
cause some confusion if the squid3 mib is used with older squid releases.

15 years agoAuthor: Henrik Nordstrom <henrik@henriknordstrom.net>
Amos Jeffries [Tue, 13 Jan 2009 11:02:26 +0000 (00:02 +1300)] 
Author: Henrik Nordstrom <henrik@henriknordstrom.net>
Port the squidclient -V and -j options from 2.7

Also adds the ability to test legacy 0.9 special case of missing HTTP/
version string. Bugs in handling of these have been seen in the wild.

Attributed to Henrik Nordstrom as the original author of the 2.7 code
across several commits.

15 years agoUndo 9429. Bad atribution
Amos Jeffries [Tue, 13 Jan 2009 10:27:30 +0000 (23:27 +1300)] 
Undo 9429. Bad atribution

15 years agoMerge from trunk
Amos Jeffries [Tue, 13 Jan 2009 09:19:54 +0000 (22:19 +1300)] 
Merge from trunk

15 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.

15 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.

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

15 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

15 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

15 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.

15 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.

15 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

15 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

15 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

15 years agoMerge from trunk
Amos Jeffries [Fri, 9 Jan 2009 09:52:03 +0000 (22:52 +1300)] 
Merge from trunk

15 years agoUpdates: Russian
Amos Jeffries [Fri, 9 Jan 2009 09:50:20 +0000 (22:50 +1300)] 
Updates: Russian

15 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.

15 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

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

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

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

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

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

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

15 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.

15 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.

15 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

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

15 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.

15 years agoUpdates auto-save
Amos Jeffries [Mon, 5 Jan 2009 05:00:32 +0000 (18:00 +1300)] 
Updates auto-save

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

15 years agoMerge from trunk
Amos Jeffries [Mon, 5 Jan 2009 03:33:13 +0000 (16:33 +1300)] 
Merge from trunk

15 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.

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

15 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.

15 years agoUpdates auto-save
Amos Jeffries [Sat, 27 Dec 2008 17:00:24 +0000 (06:00 +1300)] 
Updates auto-save

15 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).

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

15 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).

15 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