]> git.ipfire.org Git - thirdparty/squid.git/log
thirdparty/squid.git
19 years agotestURL needs referer.cc and useragent.cc
serassio [Mon, 5 Jun 2006 00:45:47 +0000 (00:45 +0000)] 
testURL needs referer.cc and useragent.cc

19 years agoForward port of Irix related changes from 2.6
serassio [Mon, 5 Jun 2006 00:43:34 +0000 (00:43 +0000)] 
Forward port of Irix related changes from 2.6

19 years agoFixed typo
serassio [Mon, 5 Jun 2006 00:36:34 +0000 (00:36 +0000)] 
Fixed typo

19 years agoAdded .cvsignore
serassio [Mon, 5 Jun 2006 00:35:06 +0000 (00:35 +0000)] 
Added .cvsignore

19 years agoBootstrapped
serassio [Mon, 5 Jun 2006 00:32:39 +0000 (00:32 +0000)] 
Bootstrapped

19 years agotest_http_range needs referer.cc and useragent.cc
serassio [Mon, 5 Jun 2006 00:31:37 +0000 (00:31 +0000)] 
test_http_range needs referer.cc and useragent.cc

19 years agoBootstrapped
hno [Sat, 3 Jun 2006 06:10:50 +0000 (06:10 +0000)] 
Bootstrapped

19 years agoBootstrapped
serassio [Fri, 2 Jun 2006 22:44:26 +0000 (22:44 +0000)] 
Bootstrapped

19 years agoAdded reference to squid_session man page
serassio [Fri, 2 Jun 2006 22:37:00 +0000 (22:37 +0000)] 
Added reference to squid_session man page

19 years agoAdded Windows info to squid man page
serassio [Fri, 2 Jun 2006 22:35:05 +0000 (22:35 +0000)] 
Added Windows info to squid man page

19 years agoDerive package version automatically from configure
serassio [Fri, 2 Jun 2006 22:31:45 +0000 (22:31 +0000)] 
Derive package version automatically from configure

19 years agoDon't make snapshots of Squid-HEAD. These are already made as 3.0
hno [Fri, 2 Jun 2006 14:16:03 +0000 (14:16 +0000)] 
Don't make snapshots of Squid-HEAD. These are already made as 3.0

19 years agoBug #1395: Add extra tracing to squid_ldap_auth in debug/verbose mode.
hno [Fri, 2 Jun 2006 06:38:23 +0000 (06:38 +0000)] 
Bug #1395: Add extra tracing to squid_ldap_auth in debug/verbose mode.
Correct example on how to connect to MS AD.

19 years agobug #1465: assertion failed: mem_node.cc:65: "n->write_pending"
wessels [Wed, 31 May 2006 23:47:53 +0000 (23:47 +0000)] 
bug #1465: assertion failed: mem_node.cc:65: "n->write_pending"

This assertion was traced to bugs in UFSStoreState code when using aufs
storage.  The primary problem was that UFSStoreState was aggressive
in closing swapout files.  They could be closed before any I/Os had
time to complete.  The assertion seemed to be caused by a "double
callback" whereby memNodeWriteComplete would get called twice.

Additionally, writes were executed out-of-order in cases where a
write was placed on the pending queue because open hadn't completed
yet.  A subsequent write would be given priority even though
the first write was in the pending queue.

Now all writes go into the pending queue.  This sucks a little bit,
especially for synchronous storage shcemes such as UFS and cases
where UFSStoreState gets one write request at a time and queueing
is unnecessary.

See additional comments in fs/ufs/store_io_ufs.cc dated 2006-05-24

19 years agomake Squid compile again with --disable-internal-dns after recent
wessels [Wed, 31 May 2006 23:29:00 +0000 (23:29 +0000)] 
make Squid compile again with --disable-internal-dns after recent
CacheManager changes.

19 years agocosmetic: a few updates/changes to debugging messages and assertions
wessels [Wed, 31 May 2006 23:25:41 +0000 (23:25 +0000)] 
cosmetic: a few updates/changes to debugging messages and assertions

19 years agominor: now that we're passing StoreIOState to these callbacks again,
wessels [Wed, 31 May 2006 23:24:23 +0000 (23:24 +0000)] 
minor: now that we're passing StoreIOState to these callbacks again,
we can replace the assertion that "mem->swapout.sio == sio".

19 years agocosmetic: don't need to use getRaw() when checking for NULL pointer
wessels [Wed, 31 May 2006 23:23:02 +0000 (23:23 +0000)] 
cosmetic: don't need to use getRaw() when checking for NULL pointer

19 years agoMake access_log.cc compile again with --enable-forw-via-db after
wessels [Wed, 31 May 2006 22:34:36 +0000 (22:34 +0000)] 
Make access_log.cc compile again with --enable-forw-via-db after
CacheManager changes.

19 years agoRemoved comm_accept_check_event() and related code since we have
wessels [Wed, 31 May 2006 03:15:58 +0000 (03:15 +0000)] 
Removed comm_accept_check_event() and related code since we have
the AcceptLimiter class which does a better job of deferring new
connections when we start to run out of FDs.

19 years agoBug #1554: HTCP RFC compliance
hno [Tue, 30 May 2006 23:31:23 +0000 (23:31 +0000)] 
Bug #1554: HTCP RFC compliance

Fix field order to comply with the RFC. Bump minor version to 1 to
make migration easier. New cache-peer option to support old Squid HTCP
implementaitons.

19 years agoBootstrapped
hno [Tue, 30 May 2006 06:10:53 +0000 (06:10 +0000)] 
Bootstrapped

19 years agoSuspend 2.5 snapshot releases, hopefully for good.
hno [Tue, 30 May 2006 05:08:25 +0000 (05:08 +0000)] 
Suspend 2.5 snapshot releases, hopefully for good.

19 years agosnapshot 2.6 releases
hno [Tue, 30 May 2006 05:07:26 +0000 (05:07 +0000)] 
snapshot 2.6 releases

19 years agoMove clientCachable logic onto HttpRequest, as all the used fields in the
robertc [Tue, 30 May 2006 03:44:18 +0000 (03:44 +0000)] 
Move clientCachable logic onto HttpRequest, as all the used fields in the
function where on the HttpRequest object.

Apply Gonzalo Aranas bugfix for the replacement to cachemgrRegister,
as having some options disabled/changed did not compile.

19 years agoRemove obsolete stub file.
robertc [Tue, 30 May 2006 03:40:10 +0000 (03:40 +0000)] 
Remove obsolete stub file.

19 years agoBug #1536: Finding out what word in acl list is blocked
serassio [Tue, 30 May 2006 01:05:26 +0000 (01:05 +0000)] 
Bug #1536: Finding out what word in acl list is blocked

19 years agoAdd a CacheManager class which provides the cachemanager menu registration facility...
robertc [Mon, 29 May 2006 06:14:59 +0000 (06:14 +0000)] 
Add a CacheManager class which provides the cachemanager menu registration facility, and remove all compile time dependencies upon cachemgrRegister from squid outside of main.cc. This allows much simpler tests, as modules exporting cache mgr information no longer drag in all of squid via cache_manager.cc.

19 years agoForward port of latest 2.6 changes
serassio [Sun, 28 May 2006 22:11:38 +0000 (22:11 +0000)] 
Forward port of latest 2.6 changes

19 years agoInclude getopt.h
serassio [Sun, 28 May 2006 22:04:59 +0000 (22:04 +0000)] 
Include getopt.h

19 years agoBootstrapped
hno [Sun, 28 May 2006 06:10:51 +0000 (06:10 +0000)] 
Bootstrapped

19 years agoUse ccpunit-config to get information about the system installed ccpunit
hno [Sat, 27 May 2006 06:58:15 +0000 (06:58 +0000)] 
Use ccpunit-config to get information about the system installed ccpunit
instead of hardwired probes

19 years agounbreak testStore testcase.
robertc [Sat, 27 May 2006 06:35:05 +0000 (06:35 +0000)] 
unbreak testStore testcase.

19 years agoFixed TestSwapDir test after I changed StoreIOState.
wessels [Sat, 27 May 2006 05:52:14 +0000 (05:52 +0000)] 
Fixed TestSwapDir test after I changed StoreIOState.

19 years agoFix that strange looking "Notice: Short Strings is 36 bytes instead of requested...
hno [Sat, 27 May 2006 05:43:07 +0000 (05:43 +0000)] 
Fix that strange looking "Notice: Short Strings is 36 bytes instead of requested 36 bytes"
message to say what it meant to say..

19 years agoThere is still code relying on fd_set so we must keep the FD_SETSIZE
hno [Sat, 27 May 2006 05:35:44 +0000 (05:35 +0000)] 
There is still code relying on fd_set so we must keep the FD_SETSIZE
filedescriptor limit for a while still...

19 years agoRename no_cache to cache to better reflect the logics of the directive
hno [Sat, 27 May 2006 04:33:24 +0000 (04:33 +0000)] 
Rename no_cache to cache to better reflect the logics of the directive
(no_cache kept as an alias)

19 years agocosmetic: The debug message "WARNING! Your cache is running out of
wessels [Sat, 27 May 2006 01:58:37 +0000 (01:58 +0000)] 
cosmetic: The debug message "WARNING! Your cache is running out of
filedescriptors" appears in two places.  I changed it to debugs()
macro with HERE argument to differentiate the two messages.

19 years agonitpick: This "Fc = &fdc_table[fd]" optimization seems like a waste here.
wessels [Sat, 27 May 2006 01:53:18 +0000 (01:53 +0000)] 
nitpick: This "Fc = &fdc_table[fd]" optimization seems like a waste here.

19 years agocosmetic change: rename doCallback to doCloseCallback to clarify
wessels [Wed, 24 May 2006 21:25:04 +0000 (21:25 +0000)] 
cosmetic change: rename doCallback to doCloseCallback to clarify
what this function does.

19 years agoRemove redundant newline in cache.log
hno [Wed, 24 May 2006 08:13:27 +0000 (08:13 +0000)] 
Remove redundant newline in cache.log

patch by Pawel Worach

19 years agoBootstrapped
hno [Wed, 24 May 2006 06:10:48 +0000 (06:10 +0000)] 
Bootstrapped

19 years agoBlock copy constructor. Not safe.
hno [Wed, 24 May 2006 02:30:48 +0000 (02:30 +0000)] 
Block copy constructor. Not safe.

Should also block the assignment constructor, but it is currently in use
(privately) as part of the reset method.

19 years agocleanup of how the Vary marker object is created
hno [Wed, 24 May 2006 02:29:04 +0000 (02:29 +0000)] 
cleanup of how the Vary marker object is created
to look more like a normal object creation, not violating layers too much

19 years agoFix NULL pointer access with asyncio when Squid starts up over the disk
wessels [Wed, 24 May 2006 00:24:41 +0000 (00:24 +0000)] 
Fix NULL pointer access with asyncio when Squid starts up over the disk
space limit.

We used to call squidaio_init() from DiskThreadsDiskFile::operator new.
But this only gets called when opening a file.  If the first transaction
is to unlink a file, squidaio will be uninitialized.

I didn't see any other good places to call squidaio_init().  For now
I am calling it from within the squidaio module itself at the
start of each open, unlink/truncate, and stat call.

19 years ago-mc command line option to disable memory pools
hno [Tue, 23 May 2006 22:24:55 +0000 (22:24 +0000)] 
-mc command line option to disable memory pools

19 years agoFix a memory corruption when building the magic Vary marker object headers
hno [Tue, 23 May 2006 22:22:34 +0000 (22:22 +0000)] 
Fix a memory corruption when building the magic Vary marker object headers

somehow this cast made things go very bad. Luckily it isn't needed as
we already hold a reference to the reply a few lines earlier.

19 years agoFix --disable-carp
hno [Tue, 23 May 2006 19:33:58 +0000 (19:33 +0000)] 
Fix --disable-carp

19 years agoStoreIOState typedef fixes for Null storage scheme
wessels [Tue, 23 May 2006 06:48:13 +0000 (06:48 +0000)] 
StoreIOState typedef fixes for Null storage scheme

19 years agoBootstrapped
hno [Tue, 23 May 2006 06:44:38 +0000 (06:44 +0000)] 
Bootstrapped

19 years agoStoreIOState updates for COSS
wessels [Tue, 23 May 2006 06:39:32 +0000 (06:39 +0000)] 
StoreIOState updates for COSS

19 years agodbopen configure test typo
hno [Tue, 23 May 2006 06:39:05 +0000 (06:39 +0000)] 
dbopen configure test typo

19 years agoAdded "self" refcounted Pointer parameters to StoreIOState's STRCB, STFNCB,
wessels [Tue, 23 May 2006 06:30:21 +0000 (06:30 +0000)] 
Added "self" refcounted Pointer parameters to StoreIOState's STRCB, STFNCB,
and STIOCB callback functions.  This is so that the StoreIOState
refcount doesn't go to zero during one of these callbacks.

19 years agoDo the dbopen compile test proper to see if -ldb is needed
hno [Tue, 23 May 2006 06:28:14 +0000 (06:28 +0000)] 
Do the dbopen compile test proper to see if -ldb is needed

19 years agoMoved STRCB, STFNCB, STIOCB typdefs to inside StoreIOState class itself.
wessels [Tue, 23 May 2006 06:21:47 +0000 (06:21 +0000)] 
Moved STRCB, STFNCB, STIOCB typdefs to inside StoreIOState class itself.
This should allow us to use these types as parameters in the callbacks.

19 years agoFix COSS so it works with my recent StoreIOState changes.
wessels [Tue, 23 May 2006 06:17:47 +0000 (06:17 +0000)] 
Fix COSS so it works with my recent StoreIOState changes.

19 years agoBootstrapped
hno [Tue, 23 May 2006 03:25:00 +0000 (03:25 +0000)] 
Bootstrapped

19 years agoDo a full compile test of dbopen to see if -ldb is needed
hno [Tue, 23 May 2006 03:22:05 +0000 (03:22 +0000)] 
Do a full compile test of dbopen to see if -ldb is needed

19 years agoFrom 2.5: Properly quote wbinfo arguments, just in case.
hno [Tue, 23 May 2006 02:35:21 +0000 (02:35 +0000)] 
From 2.5: Properly quote wbinfo arguments, just in case.

2.5 commit log reads "Minor fix for Samba-3", but later changes made it
work anyway..

19 years agoMerged storeIOState and StoreIOState into a single StoreIOState
wessels [Tue, 23 May 2006 01:58:51 +0000 (01:58 +0000)] 
Merged storeIOState and StoreIOState into a single StoreIOState
class.  Previously, StoreIOState was just a refcounted storeIOState.

I had concerns that mixed use of refcounted and non-refcounted
StoreIOState may be leading to cases where the object gets referenced
via the old-style pointer after the refcounted version had its count
go to zero and the memory was freed.  This came about while
investigating bugzilla #1465.

removed StoreIOState-related prototypes from protos.h, and removed
some typedefs from typedefs.h.

Modified STFNCB (storeSwapInFileNotify, storeSwapOutFileNotify) and
STIOCB (storeSwapOutFileClosed, storeSwapInFileClosed) so that they
no longer take StoreIOState arguments.  Their "data" arguments
easily lead to the corresponding StoreIOState.  The only thing we
really lose here is the ability to assert that "data->sio" equals
the passed StoreIOState.

19 years agotemporary hack to handle case where body_reader becomes NULL
wessels [Tue, 23 May 2006 01:45:47 +0000 (01:45 +0000)] 
temporary hack to handle case where body_reader becomes NULL
in http module before sendRequestEntity gets called.

19 years agoBootstrapped
hno [Mon, 22 May 2006 06:10:58 +0000 (06:10 +0000)] 
Bootstrapped

19 years agoFix http_range test to run again.
robertc [Sun, 21 May 2006 20:35:11 +0000 (20:35 +0000)] 
Fix http_range test to run again.

19 years agoMinor cleanup of the meta TLV format to not add the incorrect STORE_META_END
hno [Sat, 20 May 2006 19:15:14 +0000 (19:15 +0000)] 
Minor cleanup of the meta TLV format to not add the incorrect STORE_META_END
at the end of the list (list ends by it's size). STORE_META_END has changed
a number of times over the history, and we have never cared about it but some
external tools (i.e. purge) apparently beleives what they read in the docs..

19 years agoMade stream outputting more consistent in Mem::PoolReport. Use a
wessels [Sat, 20 May 2006 06:11:59 +0000 (06:11 +0000)] 
Made stream outputting more consistent in Mem::PoolReport.  Use a
const char * for the column delimiter instead of repeating "\t "
on each line.  Always put the delimiter at the end of the (source code) line.

19 years agoTry to clean up cachemgr 'mem' output. Don't need to double up on
wessels [Sat, 20 May 2006 06:05:02 +0000 (06:05 +0000)] 
Try to clean up cachemgr 'mem' output.  Don't need to double up on
'%' now that we're not using printf.  Use std::setprecision() on some
fields so they don't show up as "1e+01" etc.

19 years agostruct lock_ctrl_t and callback type SIH seem to be unused anywhere
wessels [Sat, 20 May 2006 05:10:20 +0000 (05:10 +0000)] 
struct lock_ctrl_t and callback type SIH seem to be unused anywhere
in the code.

19 years agoConverted storeRelease() to a StoreEntry method.
wessels [Sat, 20 May 2006 02:22:56 +0000 (02:22 +0000)] 
Converted storeRelease() to a StoreEntry method.

19 years agoFully deprecated storeLockObject(). Everything now directly calls the
wessels [Fri, 19 May 2006 23:19:09 +0000 (23:19 +0000)] 
Fully deprecated storeLockObject().  Everything now directly calls the
StoreEntry->lock() method.

19 years agoFully deprecated storeUnlockObject(). Now everything directly uses
wessels [Fri, 19 May 2006 23:05:18 +0000 (23:05 +0000)] 
Fully deprecated storeUnlockObject().  Now everything directly uses
the StoreEntry unlock() method.

19 years agoput correct function names in debugging statements
wessels [Fri, 19 May 2006 22:49:13 +0000 (22:49 +0000)] 
put correct function names in debugging statements

19 years agoThis debugging statement should not be at level 0.
wessels [Fri, 19 May 2006 03:51:10 +0000 (03:51 +0000)] 
This debugging statement should not be at level 0.

19 years agoThe patch for bug #1499 included debugging statments where printf tokens
wessels [Fri, 19 May 2006 02:31:12 +0000 (02:31 +0000)] 
The patch for bug #1499 included debugging statments where printf tokens
did not match time_t type on FreeBSD.  The time_t variables are now cast
in debugging calls.

19 years agoBug #1475: Squid does not need to be limited by FD_SETSIZE when using kqueue/epoll.
hno [Wed, 17 May 2006 03:06:06 +0000 (03:06 +0000)] 
Bug #1475: Squid does not need to be limited by FD_SETSIZE when using kqueue/epoll.

Technically poll doesn't need to be limited either, but is due to the delay
pool hooks still using fd_set...

Inspired by the patch by Gonzalo Arana

19 years agoBug #1501: ftp downloads may last up to read_timeout
hno [Tue, 16 May 2006 22:05:08 +0000 (22:05 +0000)] 
Bug #1501: ftp downloads may last up to read_timeout
by Gonzalo Arana

19 years agoBug #1499: external acls are somewhat broken
hno [Tue, 16 May 2006 11:49:44 +0000 (11:49 +0000)] 
Bug #1499: external acls are somewhat broken
by Gonzalo Arana

19 years agoGive I/O threads a smaller stack.
hno [Mon, 15 May 2006 19:39:57 +0000 (19:39 +0000)] 
Give I/O threads a smaller stack.

19 years agoAdded usage of configure results
serassio [Sun, 14 May 2006 23:07:45 +0000 (23:07 +0000)] 
Added usage of configure results

19 years agoSyslog is not available on all platforms
serassio [Sun, 14 May 2006 22:52:02 +0000 (22:52 +0000)] 
Syslog is not available on all platforms

19 years agoNeed SquidTime for squid_curtime
serassio [Sun, 14 May 2006 22:42:43 +0000 (22:42 +0000)] 
Need SquidTime for squid_curtime

19 years agoBug #1489: add syslog priority and facility to access_log
serassio [Sun, 14 May 2006 17:52:51 +0000 (17:52 +0000)] 
Bug #1489: add syslog priority and facility to access_log

Patch provided by Gonzalo Arana: Thanks !

19 years agoBug# 1430: feature: multi-line directives in squid.conf
serassio [Sun, 14 May 2006 16:19:40 +0000 (16:19 +0000)] 
Bug# 1430: feature: multi-line directives in squid.conf

Patch provided by Gonzalo Arana. Thanks !

19 years agoBug #1347: Modify squid MIB to incorporate squid.conf visible_hostname
serassio [Sun, 14 May 2006 15:22:35 +0000 (15:22 +0000)] 
Bug #1347: Modify squid MIB to incorporate squid.conf visible_hostname

Patch provided by John Horne, thanks !

19 years agoDon't disable assert on PURIFY
hno [Sat, 13 May 2006 03:52:24 +0000 (03:52 +0000)] 
Don't disable assert on PURIFY

19 years agoBug #1553: Memleak in HTCP client code
serassio [Sat, 13 May 2006 01:27:11 +0000 (01:27 +0000)] 
Bug #1553: Memleak in HTCP client code

Forward port of 2.5 changes.

19 years agoFix Cygwin build errors.
serassio [Sat, 13 May 2006 01:14:31 +0000 (01:14 +0000)] 
Fix Cygwin build errors.

19 years agoBug #1532: Mime icons are not displayed when viewing ftp sites when
serassio [Sat, 13 May 2006 01:06:10 +0000 (01:06 +0000)] 
Bug #1532: Mime icons are not displayed when viewing ftp sites when
visible_hostname is a short hostname (without domain).

Forward port of 2.5 changes.

19 years agoBug #1558 (cosmetic): cachmgr leaks a stdio buffer
hno [Fri, 12 May 2006 22:05:10 +0000 (22:05 +0000)] 
Bug #1558 (cosmetic): cachmgr leaks a stdio buffer

19 years agoBootstrapped
hno [Fri, 12 May 2006 06:10:55 +0000 (06:10 +0000)] 
Bootstrapped

19 years agobug: ICAPAccessCheck should use cbdataReference and cbdataReferenceValidDone
wessels [Fri, 12 May 2006 05:53:13 +0000 (05:53 +0000)] 
bug: ICAPAccessCheck should use cbdataReference and cbdataReferenceValidDone
in case the upstream ClientRequestContext goes away during processing.

19 years agoneed to include <netinet/in.h> on FreeBSD for definition of sockaddr_in
wessels [Fri, 12 May 2006 03:41:50 +0000 (03:41 +0000)] 
need to include <netinet/in.h> on FreeBSD for definition of sockaddr_in

19 years agoRefcount::Pointers don't need getRaw() when comparing to NULL
wessels [Fri, 12 May 2006 03:29:02 +0000 (03:29 +0000)] 
Refcount::Pointers don't need getRaw() when comparing to NULL

19 years agobug: clientAbortBody should not try to close the connection
wessels [Fri, 12 May 2006 03:28:29 +0000 (03:28 +0000)] 
bug: clientAbortBody should not try to close the connection
if it is already being closed.

19 years agoNeed config.h before any system heaers
hno [Fri, 12 May 2006 01:59:07 +0000 (01:59 +0000)] 
Need config.h before any system heaers

19 years agoBootstrapped
serassio [Fri, 12 May 2006 01:28:56 +0000 (01:28 +0000)] 
Bootstrapped

19 years agoForgotten to dist SquidTime.h
serassio [Fri, 12 May 2006 01:21:12 +0000 (01:21 +0000)] 
Forgotten to dist SquidTime.h

19 years agoFix copy-paste install dependenices when separating cachemgr & squidclient
hno [Thu, 11 May 2006 18:25:39 +0000 (18:25 +0000)] 
Fix copy-paste install dependenices when separating cachemgr & squidclient
from src

19 years agoBootstrapped
hno [Thu, 11 May 2006 07:41:01 +0000 (07:41 +0000)] 
Bootstrapped

19 years agoMove squidclient and cachemgr from src to tools
hno [Thu, 11 May 2006 07:36:57 +0000 (07:36 +0000)] 
Move squidclient and cachemgr from src to tools

19 years agoNeed SquidTime for squid_curtime
hno [Thu, 11 May 2006 07:14:58 +0000 (07:14 +0000)] 
Need SquidTime for squid_curtime