]> git.ipfire.org Git - thirdparty/squid.git/log
thirdparty/squid.git
25 years agoDW:
wessels [Sat, 25 Mar 2000 11:58:39 +0000 (11:58 +0000)] 
DW:
 - binary HTTP header logging.  Gives better stats than 'headers'
   from cachemgr.

25 years agoDW:
wessels [Sat, 25 Mar 2000 03:40:29 +0000 (03:40 +0000)] 
DW:
 - Need to assign return value of logfileOpen()!!

25 years agoDW:
wessels [Sat, 25 Mar 2000 03:40:15 +0000 (03:40 +0000)] 
DW:
 - need to call fd_bytes() for writes!

25 years ago2.4.DEVEL3
wessels [Wed, 15 Mar 2000 06:15:08 +0000 (06:15 +0000)] 
2.4.DEVEL3

25 years agoupdate
wessels [Wed, 15 Mar 2000 06:14:45 +0000 (06:14 +0000)] 
update

25 years agonit
wessels [Wed, 15 Mar 2000 06:11:05 +0000 (06:11 +0000)] 
nit

25 years agoDW:
wessels [Wed, 15 Mar 2000 06:07:51 +0000 (06:07 +0000)] 
DW:
 - Use new Logfile module for access,useragent,store logs.

25 years agoadding logfile.c module
wessels [Wed, 15 Mar 2000 06:03:03 +0000 (06:03 +0000)] 
adding logfile.c module

25 years agoadding
wessels [Wed, 15 Mar 2000 06:02:18 +0000 (06:02 +0000)] 
adding

25 years agoDW:
wessels [Wed, 15 Mar 2000 05:59:13 +0000 (05:59 +0000)] 
DW:
 - Added diskd stats to cachemgr.
 - Added config options for diskd magic constants.

25 years agoextra EOF
wessels [Wed, 15 Mar 2000 05:54:32 +0000 (05:54 +0000)] 
extra EOF

25 years agoDW:
wessels [Thu, 9 Mar 2000 11:50:13 +0000 (11:50 +0000)] 
DW:
 - storeMaintainSwapSpace was breaking out of the scan loop if the
   current space was below the HIGH water mark, but the event is
   rescheduled at a small interval when space is near the high water
   mark.  Changed the check to use the low water mark instead.

25 years agoDW:
wessels [Mon, 6 Mar 2000 23:24:56 +0000 (23:24 +0000)] 
DW:
 - We're passing -1 swapfile number to storeDirDiskFull becuse the
   swapfile number got reset earlier.  Need to pass the 'bad' swapfile
   number instead..

25 years agoMerge changes from 2.3 branch. Mostly this is copyright text changes.
wessels [Mon, 6 Mar 2000 23:23:27 +0000 (23:23 +0000)] 
Merge changes from 2.3 branch.  Mostly this is copyright text changes.

25 years agoDW:
wessels [Thu, 3 Feb 2000 15:04:01 +0000 (15:04 +0000)] 
DW:
 - oops, use DEVEL now instead of PRE

25 years agoDW:
wessels [Tue, 1 Feb 2000 12:52:15 +0000 (12:52 +0000)] 
DW:
 - This fixes an ugly and probably old bug with hot objects.  Previously,
   storeSwapOut was too aggressive in freeing lower parts of in-memory
   objects.  It would free up to how ever much was sent to the client,
   or how much had been saved to disk, whichever was lower.  When the
   object response is complete, it is saved in memory only if mem->inmem_lo
   was equal to zero.  Thus, many objects which could potentially be
   held in memory wouldn't be, because the lower part had been freed
   in storeSwapOut.

   This change doesn't free the lower part until the hi-lo gap is
   at least DISK_PAGE_SIZE (8192 bytes).  This means that in-memory
   hot objects should mostly be 8kb or less.  This change makes a
   very significant improvement in memory hit ratio.

25 years agoDW:
wessels [Tue, 1 Feb 2000 12:45:33 +0000 (12:45 +0000)] 
DW:
 - Changed validation process to scan 500 (instead of 50) objects
   per call.  This should be fine because validation does not much
   more than set the ENTRY_VALIDATED flag for each object.

25 years agoDW:
wessels [Tue, 1 Feb 2000 12:43:02 +0000 (12:43 +0000)] 
DW:
 - Changed storeGetMemSpace so that it doesn't immediately exit
   if the store is in rebuilding phase.  Purging memory objects
   should be a "light" activity, so there should be no performance
   penalty.  If we don't purge memory objects during the rebuild
   phase, then memory usage grows without bounds until rebuilding
   is complete.  At high workloads this can cause malloc to fail.

25 years agoDW:
wessels [Tue, 1 Feb 2000 12:17:58 +0000 (12:17 +0000)] 
DW:
 - Sigh, looks like storeLateRelease never worked like it was supposed
  to because we never set RELEASE_REQUEST for those entries.

25 years agoDW:
wessels [Tue, 1 Feb 2000 12:15:26 +0000 (12:15 +0000)] 
DW:
 - fixed byte-order bug for PTR lookups.

25 years agotypo
wessels [Tue, 1 Feb 2000 06:23:04 +0000 (06:23 +0000)] 
typo

25 years agonaughty words
wessels [Tue, 25 Jan 2000 04:57:49 +0000 (04:57 +0000)] 
naughty words

25 years agoDW
wessels [Thu, 20 Jan 2000 04:57:30 +0000 (04:57 +0000)] 
DW
 - http->log_type is getting clobbered here.  This screwed up stats
   for quite a long time probably.

25 years agoDW:
wessels [Sat, 15 Jan 2000 01:33:40 +0000 (01:33 +0000)] 
DW:
 - Change debug level from 0 to 1.

25 years agoDW:
wessels [Sat, 15 Jan 2000 00:34:49 +0000 (00:34 +0000)] 
DW:
 - left some debugging at '0,0'

25 years agoDW:
wessels [Fri, 14 Jan 2000 15:37:03 +0000 (15:37 +0000)] 
DW:
 - Bug fix with Config.onoff.enable_purge flag.  The PURGE method is
   kind of dangerous.  It would be allowed by default for most access
   control configurations because its not mentioned specifically.
   Thus, we don't allow any PURGE requests unless the PURGE method
   is mentioned in the access list configuration.  Before the fix we
   set the enable flag, but it never got cleared upon a reconfigure.
   Also users complain that defining an ACL that is never used in
   an access list shouldn't trip this flag.  With the fix, the PURGE
   method must be referenced in the 'http_access' list, and we make
   sure to clear the flag on reconfigure.

25 years agoDW:
wessels [Fri, 14 Jan 2000 14:24:48 +0000 (14:24 +0000)] 
DW:
 - StoreDigestRebuildPeriod got changed to Config.digest.rebuild_period
   but this case got missed somehow.

25 years agoDW:
wessels [Fri, 14 Jan 2000 14:14:12 +0000 (14:14 +0000)] 
DW:
 - Unused variable 'N'

25 years agoDW:
wessels [Fri, 14 Jan 2000 14:13:16 +0000 (14:13 +0000)] 
DW:
 - These casts to send() and recvfrom() make "incompatible pointer"
   warnings go away on Solaris.

25 years agoadded English versions of missing files
wessels [Thu, 13 Jan 2000 12:59:00 +0000 (12:59 +0000)] 
added English versions of missing files

25 years agoversion.h
wessels [Tue, 11 Jan 2000 13:14:55 +0000 (13:14 +0000)] 
version.h

25 years agoDW:
wessels [Tue, 11 Jan 2000 13:02:54 +0000 (13:02 +0000)] 
DW:
 - Changed swap_file_number assignments to use the new
   storeSwapFileNumberSet function.
 - Also show scanned/removed/high_size stats in storedir cachemgr
   output.

25 years agoDW:
wessels [Tue, 11 Jan 2000 13:01:08 +0000 (13:01 +0000)] 
DW:
 - New storeDirSelectSwapDir function selects SwapDirs on round-robin
   basis.  SwapDirs that are full are skipped.
 - Changed storeDirWriteCleanLogs to use the new SwapDir-attached
   LRU lists.

25 years agoDW:
wessels [Tue, 11 Jan 2000 12:32:56 +0000 (12:32 +0000)] 
DW:
 - Changed global double-linked LRU list to a bunch of LRU lists,
   one for each SwapDir.  This allows us to choose which SwapDir
   cache replacement should occur on.
 - Previously the LRU list links where maintained by storeHashInsert and
   storeHashDelete.  Now they happen in the new storeSwapFileNumberSet
   function.  So entries are added and removed from the list only when
   their swap file numbers are set/cleared.
 - Changed storeMaintainSwapSpace so that it removes objects in
   a round-robin manner.  This should keep the number of unlink
   requests approximately constant across all SwapDir's.
 - Also changed the calculation of 'max_remove' in storeMaintainSwapSpace.
   Now we remove up to the 5 minute average client request rate, with
   a minimum of 10.
 - This new replacement code keeps the disk usage right at the
   high water mark.  Files are agressively removed whenever the
   high water mark is reached.  No files are removed if the usage
   is below the high water mark.  The only purpose for the low water
   mark now is to calculate the time until the next event.
 - Removed the case when we stop opening swapout files because the LRU
   age gets too low.
 - new_StoreEntry now initializes e->swap_file_number to -1.
 -

25 years agoDW:
wessels [Tue, 11 Jan 2000 12:00:29 +0000 (12:00 +0000)] 
DW:
 - Three new functions
 - storeSwapFileNumberSet sets or clears swap_file_number and the
   filemap bit for a StoreEntry.  Replaces much repeated code.
 - storeDirLRUAdd and storeDirLRUAddTail manage the per-SwapDir
   LRU double-linked lists for cache replacement.

25 years agoDW:
wessels [Tue, 11 Jan 2000 11:58:03 +0000 (11:58 +0000)] 
DW:
 - fwdConnectStart should be a lightweight event.  If not, and Squid
   gets really busy, it prevents other critical events from running
   often enough.

25 years agoDW:
wessels [Tue, 11 Jan 2000 11:57:15 +0000 (11:57 +0000)] 
DW:
 - Fixed off-by-one bug in comparison when 'suggestion' exceeds
   fm->max_n_files.
 - Changed file_map_allocate so that it no longer sets the
   available bitmap before returning.  Now its the job of the
   other end to set the bitmap.  "allocate" is probably no longer
   a good descriptive name.

25 years agoDW:
wessels [Tue, 11 Jan 2000 11:37:44 +0000 (11:37 +0000)] 
DW:
 - Set MAX_POLL_TIME back to 10 msec for DISKD.  Better to keep the CPU
   busy than to have delays.

25 years agoDW
wessels [Thu, 6 Jan 2000 06:32:17 +0000 (06:32 +0000)] 
DW
 - User-Agent is taken from HTTP request headers.  It seems silly
   to make it a special case in aclCheck_t and aclCreateChecklist.
   Now acl.c just gets it from request->headers when needed.

25 years agoGlenn
wessels [Thu, 6 Jan 2000 05:44:00 +0000 (05:44 +0000)] 
Glenn
 - Adds counters for disk hits and memory hits.

25 years agogindent
wessels [Wed, 5 Jan 2000 13:26:41 +0000 (13:26 +0000)] 
gindent

25 years agoThis alternate storeDirSelectSwapDir() function is optimized for
wessels [Wed, 5 Jan 2000 13:25:42 +0000 (13:25 +0000)] 
This alternate storeDirSelectSwapDir() function is optimized for
DISKD.  It selects the cache_dir with the fewest outstanding messages
and then uses free space as the tie-breaker.

25 years agoChanged leakFree() to use the __FILE__, __LINE__ macro so we can
wessels [Wed, 5 Jan 2000 13:23:44 +0000 (13:23 +0000)] 
Changed leakFree() to use the __FILE__, __LINE__ macro so we can
print that info when debugging.

25 years agoremove client-side limit on number of idle persistent connections for
wessels [Wed, 5 Jan 2000 13:22:19 +0000 (13:22 +0000)] 
remove client-side limit on number of idle persistent connections for
now; leave a comment in the place where the code was.

25 years agoleakTouch() call from debugging mistakenly got committed
wessels [Wed, 5 Jan 2000 09:20:35 +0000 (09:20 +0000)] 
leakTouch() call from debugging mistakenly got committed

25 years agodefine our assert macro to a NULL function if NODEBUG is defined.
wessels [Tue, 4 Jan 2000 02:39:16 +0000 (02:39 +0000)] 
define our assert macro to a NULL function if NODEBUG is defined.

25 years ago- added storeClientCallback function which replaces a lot of
wessels [Tue, 4 Jan 2000 02:37:47 +0000 (02:37 +0000)] 
- added storeClientCallback function which replaces a lot of
  replicated code with a single call.
- fixed storeClientCopy2 which became severly broken from the
  merge with 2.3 branch.
- reworked the way 'sc->flags.disk_io_pending' is used.  Now
  its only set a cleared in the read/write handlers.

25 years agoRemoved 'mem' as a local variable in storeSwapMetaBuild because
wessels [Tue, 4 Jan 2000 02:33:14 +0000 (02:33 +0000)] 
Removed 'mem' as a local variable in storeSwapMetaBuild because
its only used in an assertion.   If we disable assertions with NODEBUG
then we get 'unused variable' warnings from the compiler.

25 years agoRemoved 'entry' as a local variable in peerGetSomeNeighborReplies because
wessels [Tue, 4 Jan 2000 02:32:33 +0000 (02:32 +0000)] 
Removed 'entry' as a local variable in peerGetSomeNeighborReplies because
its only used in an assertion.   If we disable assertions with NODEBUG
then we get 'unused variable' warnings from the compiler.

25 years agotry 100msec poll time for DISKD
wessels [Tue, 4 Jan 2000 02:25:52 +0000 (02:25 +0000)] 
try 100msec poll time for DISKD

25 years agomerge changes from SQUID_2_3 branch
wessels [Fri, 31 Dec 1999 00:35:47 +0000 (00:35 +0000)] 
merge changes from SQUID_2_3 branch

25 years agoAC_CHECK_TYPE(mtyp_t) needs sys/msg.h
wessels [Mon, 13 Dec 1999 13:01:58 +0000 (13:01 +0000)] 
AC_CHECK_TYPE(mtyp_t) needs sys/msg.h

25 years agochange: stop keeping client connections persistent if we have more than
wessels [Mon, 13 Dec 1999 12:54:54 +0000 (12:54 +0000)] 
change: stop keeping client connections persistent if we have more than
300 client connections open already.

25 years agobug fix: mtype parameter varies in size between different platforms.
wessels [Sun, 12 Dec 1999 00:58:31 +0000 (00:58 +0000)] 
bug fix: mtype parameter varies in size between different platforms.
Digital Unix uses 'mtyp_t' typedef, so we'll try the same.  If not
found, the default is long.

25 years agoSome changes to store hash_table buckets to improve performance.
wessels [Sat, 11 Dec 1999 22:57:42 +0000 (22:57 +0000)] 
Some changes to store hash_table buckets to improve performance.
The default is changed from 50 objects/bucket to 20.  Rewrote
storeKeyHashBuckets() and removed the 64K bucket limit.  Users
report this change makes a very big difference.

25 years agojust alinging DEBUG comment in header
wessels [Sat, 11 Dec 1999 22:56:11 +0000 (22:56 +0000)] 
just alinging DEBUG comment in header

25 years agoFor client-side idle persistent connections, now use the value of
wessels [Sat, 11 Dec 1999 22:55:08 +0000 (22:55 +0000)] 
For client-side idle persistent connections, now use the value of
Config.Timeout.pconn instead of hard-coded 15 seconds.

25 years agomake USE_DISKD configurable in configure script
wessels [Sat, 11 Dec 1999 01:13:47 +0000 (01:13 +0000)] 
make USE_DISKD configurable in configure script

25 years agoAdded a feature so Squid runs a "squid_start" program just before
wessels [Sat, 11 Dec 1999 01:11:02 +0000 (01:11 +0000)] 
Added a feature so Squid runs a "squid_start" program just before
forking the child process in daemon mode.  The "squid_start" script
must be in the same directory as the squid executable.  I'm sure that
will change, however, when people complain.

25 years agodynamic filemap patch from 2.3 branch
wessels [Wed, 1 Dec 1999 11:28:07 +0000 (11:28 +0000)] 
dynamic filemap patch from 2.3 branch
plus print "so far" debug lines more often

25 years agoif errno is unknown (such that there is no string description)
wessels [Wed, 1 Dec 1999 11:25:59 +0000 (11:25 +0000)] 
if errno is unknown (such that there is no string description)
then at least print the errno value.

25 years agomem client fix from 2.3 branch
wessels [Wed, 1 Dec 1999 11:24:27 +0000 (11:24 +0000)] 
mem client fix from 2.3 branch

25 years agoadding to head
wessels [Wed, 20 Oct 1999 05:35:36 +0000 (05:35 +0000)] 
adding to head

25 years agodebug level increase for "Averted multiple fd operation"
wessels [Tue, 5 Oct 1999 04:49:30 +0000 (04:49 +0000)] 
debug level increase for "Averted multiple fd operation"

25 years agomerge
wessels [Tue, 5 Oct 1999 01:10:52 +0000 (01:10 +0000)] 
merge

25 years agomore checks on swap meta TLV values
wessels [Tue, 5 Oct 1999 01:09:54 +0000 (01:09 +0000)] 
more checks on swap meta TLV values

25 years ago2.3 branch merge
wessels [Mon, 4 Oct 1999 11:04:00 +0000 (11:04 +0000)] 
2.3 branch merge

25 years agourl checksum debugging; sometimes URL memory gets trashed
wessels [Wed, 29 Sep 1999 06:22:13 +0000 (06:22 +0000)] 
url checksum debugging; sometimes URL memory gets trashed

25 years agoLots of diskd and storeClientCopy bugs, most of them related
wessels [Wed, 29 Sep 1999 06:10:33 +0000 (06:10 +0000)] 
Lots of diskd and storeClientCopy bugs, most of them related
to callback data.  whew!

25 years agoAdd file and line numbers for CBDATA_DEBUG for cbdataLock and
wessels [Wed, 29 Sep 1999 05:48:46 +0000 (05:48 +0000)] 
Add file and line numbers for CBDATA_DEBUG for cbdataLock and
cbdataUnlock.

25 years agoskip adding objects that will probably be replaced before the next
wessels [Wed, 8 Sep 1999 04:15:11 +0000 (04:15 +0000)] 
skip adding objects that will probably be replaced before the next
digest update.

25 years ago2.3 branch merge
wessels [Mon, 2 Aug 1999 12:18:26 +0000 (12:18 +0000)] 
2.3 branch merge

25 years agoNow works with multiple caches
glenn [Sat, 24 Jul 1999 01:30:00 +0000 (01:30 +0000)] 
Now works with multiple caches

25 years agoNumber of slight corrections
glenn [Fri, 23 Jul 1999 03:03:45 +0000 (03:03 +0000)] 
Number of slight corrections

25 years agoCorrectly deal with multiple caches
glenn [Thu, 22 Jul 1999 04:08:12 +0000 (04:08 +0000)] 
Correctly deal with multiple caches

25 years ago2.4.PRE1
wessels [Tue, 13 Jul 1999 20:52:23 +0000 (20:52 +0000)] 
2.4.PRE1

25 years ago2.3 branch merge
wessels [Tue, 13 Jul 1999 20:50:53 +0000 (20:50 +0000)] 
2.3 branch merge

26 years agogot domain/subdomain reversed in debug output
wessels [Wed, 7 Jul 1999 08:13:40 +0000 (08:13 +0000)] 
got domain/subdomain reversed in debug output

26 years agoremove return statement inserted during diskd testing
wessels [Tue, 6 Jul 1999 03:40:08 +0000 (03:40 +0000)] 
remove return statement inserted during diskd testing

26 years agostrange line
wessels [Tue, 6 Jul 1999 03:27:07 +0000 (03:27 +0000)] 
strange line

26 years agoremove C++ comment delimeters
wessels [Wed, 30 Jun 1999 12:31:18 +0000 (12:31 +0000)] 
remove C++ comment delimeters

26 years agodiskd compile fixes
wessels [Wed, 30 Jun 1999 12:28:58 +0000 (12:28 +0000)] 
diskd compile fixes

26 years agoadding DISKD code
wessels [Wed, 30 Jun 1999 11:49:37 +0000 (11:49 +0000)] 
adding DISKD code

26 years agoalign some common elements in unions -- just in case
wessels [Wed, 30 Jun 1999 11:23:44 +0000 (11:23 +0000)] 
align some common elements in unions -- just in case

26 years agoSome changes that make DISKD code work.
wessels [Wed, 30 Jun 1999 11:19:36 +0000 (11:19 +0000)] 
Some changes that make DISKD code work.

26 years agoSTORE fixes and async cleanup from trying to get ASYNCUFS working
wessels [Sat, 26 Jun 1999 05:37:31 +0000 (05:37 +0000)] 
STORE fixes and async cleanup from trying to get ASYNCUFS working
with FreeBSD 3.1.

26 years agoThe example proxy_auth acl uses the old syntax with a timeout in the
wessels [Fri, 25 Jun 1999 22:21:21 +0000 (22:21 +0000)] 
The example proxy_auth acl uses the old syntax with a timeout in the
proxy_auth ACL. This timeout should be replaced with REQUIRED.

26 years agoreload MIME icons at reconfigure
wessels [Fri, 25 Jun 1999 05:07:09 +0000 (05:07 +0000)] 
reload MIME icons at reconfigure

26 years agoFrom: Henrik Nordstrom <hno@hem.passagen.se>
wessels [Fri, 25 Jun 1999 04:53:43 +0000 (04:53 +0000)] 
From: Henrik Nordstrom <hno@hem.passagen.se>
What this patch does is to discard the pumpMethod() function, and
instead use the fact that the request has a request entity
(content-length present).

clientCheckContentLength() is extended accordingly to have rules for
methods with requires (PUT/POST) / should not (GET/HEAD) have a request
entity.

26 years agomissing %'s on snprintf()!
wessels [Fri, 25 Jun 1999 04:40:21 +0000 (04:40 +0000)] 
missing %'s on snprintf()!

26 years agosquidGuard is unable to do access-control on a per-user basis unless the
wessels [Fri, 25 Jun 1999 04:08:43 +0000 (04:08 +0000)] 
squidGuard is unable to do access-control on a per-user basis unless the
following patch is made...
From: Antony T Curtis <antony@abacus.co.uk>

26 years agoDon't clobbert ctrl.message when the PASS command fails.
wessels [Fri, 25 Jun 1999 03:12:22 +0000 (03:12 +0000)] 
Don't clobbert ctrl.message when the PASS command fails.

It looks like we moved the server response to "cwd_message" after
PASS so that it could be displayed in a directory listing, but
if PASS fails it wiped out important information for the user
(such as alternate FTP sites)

26 years agoadding
wessels [Fri, 25 Jun 1999 02:32:15 +0000 (02:32 +0000)] 
adding

26 years agocompiler bugs
wessels [Fri, 25 Jun 1999 02:26:31 +0000 (02:26 +0000)] 
compiler bugs

26 years agocommitting Dilley's HEAP replacement code
wessels [Fri, 25 Jun 1999 02:19:53 +0000 (02:19 +0000)] 
committing Dilley's HEAP replacement code

26 years agoadding
wessels [Fri, 25 Jun 1999 02:17:02 +0000 (02:17 +0000)] 
adding

26 years agoremove comment about probable leak. I think its fixed
wessels [Sat, 19 Jun 1999 22:36:05 +0000 (22:36 +0000)] 
remove comment about probable leak.  I think its fixed
since we removed the odd commSetSelect() call for new
store interface.

26 years agofixed leak in 2.2 branch
wessels [Sat, 19 Jun 1999 22:34:36 +0000 (22:34 +0000)] 
fixed leak in 2.2 branch

26 years agoRFC 2518 WEBDAV request methods
wessels [Fri, 18 Jun 1999 10:24:59 +0000 (10:24 +0000)] 
RFC 2518 WEBDAV request methods

26 years agoinvented snmp_var_new_integer() because I think snmp memory allocation belongs in...
wessels [Fri, 18 Jun 1999 04:20:35 +0000 (04:20 +0000)] 
invented snmp_var_new_integer() because I think snmp memory allocation belongs in snmplib