]> git.ipfire.org Git - thirdparty/squid.git/log
thirdparty/squid.git
25 years agohno squid-2.3.DEVEL3.auth_regex.patch
hno [Wed, 3 May 2000 01:58:13 +0000 (01:58 +0000)] 
hno squid-2.3.DEVEL3.auth_regex.patch

Squid-2.3.DEVEL3: proxy_auth_regex and ident_regex ACL types

Added proxy_auth_regex and ident_regex ACL types

25 years agohno squid-2.3.DEVEL2.CONNECT_miss_access.patch
hno [Wed, 3 May 2000 01:55:45 +0000 (01:55 +0000)] 
hno squid-2.3.DEVEL2.CONNECT_miss_access.patch
Squid-2.3.DEVEL2: CONNECT was not under the control of miss_access

Adds miss_access control to the CONNECT method.

25 years agohno squid-2.3.STABLE1.no_cache_full_acl_check.patch
hno [Wed, 3 May 2000 01:53:52 +0000 (01:53 +0000)] 
hno squid-2.3.STABLE1.no_cache_full_acl_check.patch
Squid-2.3.STABLE1: Make no_cache a full-blown aclNBCheck

no_cache was a fast ACL check, which serverely limits which acl types
that can be reliably used. This patch extends it to a full blown
aclNBCheck which allows all of the ACL types to be used like in
http_access.

25 years agohno squid-2.3.DEVEL2.cache_swap_log_name-2.patch
hno [Wed, 3 May 2000 01:43:30 +0000 (01:43 +0000)] 
hno squid-2.3.DEVEL2.cache_swap_log_name-2.patch
Squid-2.3.DEVEL2: cache_swap_log name based on cache_dir name

%s can now be used in cache_swap_log to build a log file name based on
the cache_dir name instead of numbering the files according to their
corresponding cache_dir location in squid.conf. This is very useful if
you'd like to be able to add or remove cache directories while using
cache_swap_log to have the index files stored outside the cache
directories.

25 years agohno squid-2.2.STABLE4.aio_cond_segfault-2.patch
hno [Wed, 3 May 2000 01:40:12 +0000 (01:40 +0000)] 
hno squid-2.2.STABLE4.aio_cond_segfault-2.patch
Squid-2.2.STABLE4: Async-IO segfaults if AIO_PROPER_MUTEX isn't set

Async-IO on Linux segfaults in condition variables if given high load
and AIO_PROPER_MUTEX isn't set. This was seen on a SMP Alpha Linux
2.2.10-ac12 box. I knew there was a reason why I made the
AIO_PROPER_MUTEX code a long time ago..
[an incorrect version of this simple patch was already committed]

25 years agohno squid-2.2.STABLE5.log_ip_on_direct.patch with additions
hno [Wed, 3 May 2000 01:35:23 +0000 (01:35 +0000)] 
hno squid-2.2.STABLE5.log_ip_on_direct.patch with additions

Squid-2.2.STABLE5: Log destination IP on DIRECT
This patch logs the destination IP as part of the hierarchy tag in
access.log when going direct. This has been requested by a number of
people from accounting reasons, and logging the hostname is mostly
redundant as it is part of the URL as well.

Additions: Can be rewerted to the old behaviour by turning log_ip_on_direct off

25 years agohno squid-2.3.DEVEL2.stat_ufs_fs.patch
hno [Wed, 3 May 2000 01:21:59 +0000 (01:21 +0000)] 
hno squid-2.3.DEVEL2.stat_ufs_fs.patch
Squid-2.3.DEVEL2: Show usable filesystem space in cachemgr, not raw

Change cachemgr Store Directory Stats to show space available to Squid
rather than raw filesystem space (some space are available to root only)
Also extend the support for this on Linux.

hno squid-2.3.STABLE1.FreeBSD_statfs.patch
Squid-2.3.STABLE1: FreeBSD 3.3 statfs

FreeBSD requires sys/mount.h for statfs().

25 years agohno squid-2.2.STABLE2.delay_pools_initial_level_overflow.patch
hno [Wed, 3 May 2000 00:55:10 +0000 (00:55 +0000)] 
hno squid-2.2.STABLE2.delay_pools_initial_level_overflow.patch
Squid-2.2.STABLE2: delay pools, large initial level

It was a bit to easy to get a integer overflow when using delay pools for
limiting daily download. Changes the initial calculation to use floating
point math, allowing a initial pool size of up to 2^31-1.

25 years agohno squid-2.3.DEVEL3.allow_miss_peer_option.patch
hno [Wed, 3 May 2000 00:51:50 +0000 (00:51 +0000)] 
hno squid-2.3.DEVEL3.allow_miss_peer_option.patch
Squid-2.3.DEVEL3: allow-miss cache_peer option

allow-miss cache peer option to disable the use of "only-if-cached" on
requests to siblings. This can be useful in some peering arrangements
where icp_hit_stale is enabled.

25 years agohno squid-2.2.STABLE2.to_large_objects-2.patch
hno [Wed, 3 May 2000 00:49:26 +0000 (00:49 +0000)] 
hno squid-2.2.STABLE2.to_large_objects-2.patch
Squid-2.2.STABLE2: Don't swap out objects > maximum_object_size

Don't start swapping out objects with a known size larger than
maximum_object_size. Previously Squid would swap out these objects and
mark it as private once maximum_object_size was hit.

25 years agohno squid-2.3.DEVEL2.icp_timeout_selection.patch
hno [Wed, 3 May 2000 00:47:33 +0000 (00:47 +0000)] 
hno squid-2.3.DEVEL2.icp_timeout_selection.patch
Squid-2.3.DEVEL2: ICP timeout selection

This is an attempt to fix the dynamic ICP timeout selection when one is
peering with remote parents and have some close-by siblings with a much
lower ICP rtt. This is done by preferring to calculate the ICP timeout
based on parents only (based on siblings if there is no alive parents)

25 years agohno squid-2.2.DEVEL3.netdb_and_never_direct.patch
hno [Wed, 3 May 2000 00:37:59 +0000 (00:37 +0000)] 
hno squid-2.2.DEVEL3.netdb_and_never_direct.patch
Squid-2.2.DEVEL3: Don't allow netdb selection to bypass never_direct

Netdb selection could bypass never_direct and cause Squid to go direct
to an origin site even if never_direct allow was in effect.

25 years agohno squid-2.2.STABLE3.nonhierarchical_direct-2.patch
hno [Wed, 3 May 2000 00:35:09 +0000 (00:35 +0000)] 
hno squid-2.2.STABLE3.nonhierarchical_direct-2.patch
Squid-2.2.STABLE3: nonhierarchical_direct squid.conf directive

New squid.conf directive: nonhierachical_direct. This controls if
requests Squid classifies as non-hierarchical (matches
hierarchy_stoplist or non-cachable request type) should go direct if
possible, or if parents should be used on such requests. Also improved
parent selection for never_direct to try to selects all available parents
to increase the likelyhood that there is at least one alive parent where
the request can be forwarded.

25 years agohno squid-2.3.DEVEL2.tcp_dead_detection_and_retry.patch
hno [Wed, 3 May 2000 00:32:40 +0000 (00:32 +0000)] 
hno squid-2.3.DEVEL2.tcp_dead_detection_and_retry.patch
Squid-2.3.DEVEL2: Improved TCP dead peer detection & failover

A major adjustment of how Squid detects a failing TCP peer and how
connections is retried when it fails to connect.

25 years agohno squid-2.2.DEVEL3.icp_dead_detection.patch:
hno [Wed, 3 May 2000 00:23:47 +0000 (00:23 +0000)] 
hno squid-2.2.DEVEL3.icp_dead_detection.patch:
Squid-2.2.DEVEL3: Improved ICP dead peer detection

Some minor adjustments of ICP dead peer detection to make it behave well
on startup and low load servers.

25 years ago--enable-auth-modules configure option, and relevant Makefile cleanup
hno [Tue, 2 May 2000 03:21:42 +0000 (03:21 +0000)] 
--enable-auth-modules configure option, and relevant Makefile cleanup

25 years ago--enable-auth-modules configure option, and relevant Makefile cleanup
hno [Tue, 2 May 2000 03:14:57 +0000 (03:14 +0000)] 
--enable-auth-modules configure option, and relevant Makefile cleanup

25 years agoSend Programming-Guide Postscript format to file, not the default output
hno [Tue, 2 May 2000 02:59:48 +0000 (02:59 +0000)] 
Send Programming-Guide Postscript format to file, not the default output
device of dvips (which often is a default printer..)

25 years agoR. Gancarz" <radekg@solaris.elektrownia-lagisza.com.pl>
wessels [Mon, 1 May 2000 11:11:55 +0000 (11:11 +0000)] 
R. Gancarz" <radekg@solaris.elektrownia-lagisza.com.pl>
 - This patch adds support for ARP ACLs on Solaris.

25 years agoRemoving a redundant bit set. Its no longer needed in the new filemap
adrian [Sat, 29 Apr 2000 01:06:51 +0000 (01:06 +0000)] 
Removing a redundant bit set. Its no longer needed in the new filemap
code, and it could possibly be confusing.

25 years agoI'm a contributor now.
adrian [Thu, 27 Apr 2000 15:21:10 +0000 (15:21 +0000)] 
I'm a contributor now.

25 years agoThe squid-dev list now sits on squid-cache.org, not nlanr.net .
adrian [Thu, 27 Apr 2000 13:58:09 +0000 (13:58 +0000)] 
The squid-dev list now sits on squid-cache.org, not nlanr.net .

25 years agoDW:
wessels [Tue, 18 Apr 2000 12:06:17 +0000 (12:06 +0000)] 
DW:
 - storeSwapout() has a recently-added bug that causes huge amounts
   of memory to get tied up for some pending requests.  Observed what
   seemed to be a "Range" request where store_client->copy_offset
   was larger than MemObject->inmem_hi.  That is, the server side
   didn't yet get the data that the client wants.  In this case, the
   whole object was being stored in memory.

   The cause was the recent change so that more objects can be
   cached in memory, rather than always freeing up to the lowest
   reader offset.

   The fix (hack?) is to check the case when lowest offset is larger
   than inmem_hi.  It also requires changing storeLowestMemReaderOffset
   so that the initial "low_offset" is inmem_hi+1.

25 years agoDW:
wessels [Tue, 18 Apr 2000 09:20:26 +0000 (09:20 +0000)] 
DW:
 - Disabling a mysterious block at the beginning of httpRequestFree
   that causes incomplete transfers to be logged with status code
   "000."  There seems to be no bad side effects from taking it out.

25 years agoPascal Grudler <pascal.grudler@ledl.com>:
wessels [Mon, 17 Apr 2000 23:24:57 +0000 (23:24 +0000)] 
Pascal Grudler <pascal.grudler@ledl.com>:
 - strpbrk might be more efficient than strcsnp+strlen;

25 years agoDW:
wessels [Mon, 17 Apr 2000 03:59:45 +0000 (03:59 +0000)] 
DW:
 - Fix possible memory access bug.  Before the change we would always
   copy 4096 bytes from 'headers' to 'buf'.  Not only was it wasteful,
   but it accessed uninitialized memory.

25 years agoDW:
wessels [Mon, 17 Apr 2000 03:55:10 +0000 (03:55 +0000)] 
DW:
 - eventFreeMemory() was broken because it never updated the 'tasks'
   pointer in the loop.  This also caused FMR bug?

25 years agoDW:
wessels [Wed, 29 Mar 2000 00:41:39 +0000 (00:41 +0000)] 
DW:
 - move headersLog call to after clientInterpretRequestHeaders so
   the cache control mask gets set.

25 years agomerging 2.3 branch changes
wessels [Tue, 28 Mar 2000 04:56:18 +0000 (04:56 +0000)] 
merging 2.3 branch changes

25 years agoDW:
wessels [Sat, 25 Mar 2000 12:14:04 +0000 (12:14 +0000)] 
DW:
 - Moved sc->flags.disk_io_pending check from storeClientCopy3 to
   storeClientCopy.

25 years agoDW:
wessels [Sat, 25 Mar 2000 12:00:11 +0000 (12:00 +0000)] 
DW:
 - Destroy 'rep' headers *after* logging!

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!