]> git.ipfire.org Git - thirdparty/squid.git/log
thirdparty/squid.git
25 years agoDW:
wessels [Tue, 16 May 2000 13:05:50 +0000 (13:05 +0000)] 
DW:
 - Synced HEAD with SQUID_2_3 branch as of SQUID_2_3_STABLE3.  Can't
   say it was fun.  I wouldn't be surprised if some conflicts got
   resolved incorrectly.

25 years agoDW:
wessels [Fri, 12 May 2000 10:06:34 +0000 (10:06 +0000)] 
DW:
 - Function name changed, bug debug comment did not.

25 years agoDW:
wessels [Fri, 12 May 2000 09:43:00 +0000 (09:43 +0000)] 
DW:
 - The removal of storeClientListSearch broke validation requests.
   A clientHttpRequest (http) can register itself with two StoreEntrys.
   One is the old entry that needs validation, and the other is
   the one to hold the validation response from the origin server.
   With the new scheme, clientHttpRequest needs and 'old_sc' to go
   with 'old_entry'.

25 years agoDW:
wessels [Fri, 12 May 2000 09:32:24 +0000 (09:32 +0000)] 
DW:
 - When diskd got MODIO'ified, this important bit got dropped for some
   reason.  If we don't drain the queue sometimes in MsgSend, its
   quite possible to run out of shared memory buffers.  Probably event
   more important, we don't want to have too many messages outstanding
   without processing some replies back from the diskd daemons.

25 years agoDW:
wessels [Fri, 12 May 2000 09:17:50 +0000 (09:17 +0000)] 
DW:
 - Document disk magic constants that got moved to cache_dir.

25 years agoDW:
wessels [Fri, 12 May 2000 09:11:40 +0000 (09:11 +0000)] 
DW:
 - diskd magic constants got moved to 'cache_dir' line.

25 years agoDW:
wessels [Fri, 12 May 2000 06:37:25 +0000 (06:37 +0000)] 
DW:
 - Ooops, this bug accidentally got committed.  Need to check hostname!

25 years agoDW:
wessels [Fri, 12 May 2000 06:29:06 +0000 (06:29 +0000)] 
DW:
 - indent -br -ce -i4 -ci4 -l80 -nlp -npcs -npsl -d0 -sc -di0 -psl
 - C++ style comments not allowed

25 years agoDW:
wessels [Fri, 12 May 2000 04:20:57 +0000 (04:20 +0000)] 
DW:
 - Jens-S reports internal DNS code happily resolves ".foo.com" while
   external DNS gives an error.  This patch makes internal DNS return
   a "the domain name does not exist" error message.

25 years agoDW:
wessels [Thu, 11 May 2000 09:15:51 +0000 (09:15 +0000)] 
DW:
 - Adrian's idea for skipping buffer copy on non-range, non-header
   writes to clients.

25 years agoDW:
wessels [Thu, 11 May 2000 09:05:23 +0000 (09:05 +0000)] 
DW:
 Benno Rice (benno@netizen.com.au) reports "two instances where
 read handlers were treating their fd_table read data as a pointer
 to an int and attempting to increment it, even though NULL was
 passed, or somesuch"

25 years agoKilling the abuse of storeClientListSearch() in the code. Now the
adrian [Sun, 7 May 2000 22:18:19 +0000 (22:18 +0000)] 
Killing the abuse of storeClientListSearch() in the code. Now the
client list per memObject is a dlink_list rather than a single linked
list. storeClientListAdd() returns a store_client * which is then
used whenever storeClientCopy()/storeUnregister() is called.

25 years agobrought over from modio - storeExpiredReferenceAge() isn't applicable
adrian [Sat, 6 May 2000 22:44:26 +0000 (22:44 +0000)] 
brought over from modio - storeExpiredReferenceAge() isn't applicable
in the current storage layout. It will result in soon to be expired
objects (LRU) entering the digest, but there isn't a hook in the
current code to check this cleanly, so the code has been commented out.

25 years agoSmall typo
adrian [Fri, 5 May 2000 16:24:14 +0000 (16:24 +0000)] 
Small typo

Noticed by: benno

25 years agoSpelling correction of USE_DNSSERVERS
hno [Thu, 4 May 2000 01:36:37 +0000 (01:36 +0000)] 
Spelling correction of USE_DNSSERVERS

25 years agoPost MODIO_1 commit - updated ChangeLog entry to reflect the changes
adrian [Wed, 3 May 2000 23:30:42 +0000 (23:30 +0000)] 
Post MODIO_1 commit - updated ChangeLog entry to reflect the changes
made.

25 years agopost MODIO_1 commit tidyup, I forgot to add this when doing the initial
adrian [Wed, 3 May 2000 23:28:07 +0000 (23:28 +0000)] 
post MODIO_1 commit tidyup, I forgot to add this when doing the initial
commit .

25 years agoMODIO_1 commit. This change (including documentation) implements a more
adrian [Wed, 3 May 2000 23:15:38 +0000 (23:15 +0000)] 
MODIO_1 commit. This change (including documentation) implements a more
modular storage directory system, which leaves object replacement and IO
up to the storage modules.

There is a lot of repeated code in the FS modules and some tidying up
is in the pipeline.

The documentation for this new API is in doc/Programming-Guide/prog-guide.sgml .

25 years agoFixed a small patch merge error
hno [Wed, 3 May 2000 04:34:46 +0000 (04:34 +0000)] 
Fixed a small patch merge error

25 years agoFixed some patch merge errors
hno [Wed, 3 May 2000 04:32:37 +0000 (04:32 +0000)] 
Fixed some patch merge errors

25 years agoregenerated configure from configure.in (autoconf)
hno [Wed, 3 May 2000 03:40:08 +0000 (03:40 +0000)] 
regenerated configure from configure.in (autoconf)

25 years agohno squid-2.4.DEVEL2.acl_req_mime_type.patch
hno [Wed, 3 May 2000 03:38:11 +0000 (03:38 +0000)] 
hno squid-2.4.DEVEL2.acl_req_mime_type.patch
Squid-2.4.DEVEL2: req_mime_type ACL

regex match agains the mime type of the request generated
by the client. Can be used to detect file upload or some
types HTTP tunelling requests.

NOTE: This does NOT match the reply. You cannot use this
to match the returned file type.

25 years agohno squid-2.3.STABLE1.strict_authenticate_ip_ttl.patch [variant there of]
hno [Wed, 3 May 2000 03:35:24 +0000 (03:35 +0000)] 
hno squid-2.3.STABLE1.strict_authenticate_ip_ttl.patch [variant there of]
Squid-2.3.STABLE1: strict authenticate_ip_ttl option

Changed authenticate_ip_ttl to have an strict option, enforcing that
the user comes from one IP address only.

Changes from the patch: Added another squid.conf directive for enabling
this rather than overloading the authenticate_ip_ttl option with negative
values..

25 years agohno squid-2.3.STABLE1.http_reply_null_character.patch
hno [Wed, 3 May 2000 03:21:05 +0000 (03:21 +0000)] 
hno squid-2.3.STABLE1.http_reply_null_character.patch
Squid-2.3.STABLE1: Handle NULL characters in the server reply headers

Squid failed to detect the end of the servers HTTP headers if the server
wrongly responds with headers containing a NULL character. This could
cause abnormal amount of used cache_mem during the request. (the server
in question was mp3 streaming, virtuallu unlimited in size)

25 years agohno squid-2.2.STABLE5.persistent_post.patch
hno [Wed, 3 May 2000 03:17:20 +0000 (03:17 +0000)] 
hno squid-2.2.STABLE5.persistent_post.patch
Squid-2.2.STABLE5: Persistent POST's blocking memory

Persistent POST requests could block quite a bit of memory by not
releasing request state data until the client connection was closed.

25 years agoInstallation of icons failed when building in a separate object directory
hno [Wed, 3 May 2000 03:15:51 +0000 (03:15 +0000)] 
Installation of icons failed when building in a separate object directory

25 years agoMinor corrections on the dependencies for cf_gen
hno [Wed, 3 May 2000 03:12:42 +0000 (03:12 +0000)] 
Minor corrections on the dependencies for cf_gen

25 years agohno squid-2.3.DEVEL2.rebuild_release.patch [continuation]
hno [Wed, 3 May 2000 03:07:36 +0000 (03:07 +0000)] 
hno squid-2.3.DEVEL2.rebuild_release.patch [continuation]
Squid-2.3.DEVEL2: Release unused store entries during rebuild

Fixed a small typo from when I merged the patch into the source tree

25 years agohno squid-2.3.DEVEL3.squid.conf_template_update-4.patch [continuation]
hno [Wed, 3 May 2000 03:04:01 +0000 (03:04 +0000)] 
hno squid-2.3.DEVEL3.squid.conf_template_update-4.patch [continuation]
Squid-2.3.DEVEL3: Major update of squid.conf template generation

There were some remains from that patch that didn't make it as part
of the previous commit (rejects which I forgot to merge manually)

25 years agohno squid-2.3.DEVEL3.squid.conf_template_update-4.patch
hno [Wed, 3 May 2000 02:58:29 +0000 (02:58 +0000)] 
hno squid-2.3.DEVEL3.squid.conf_template_update-4.patch
Squid-2.3.DEVEL3: Major update of squid.conf template generation

A major update on how squid.conf is generated from cf.data.pre and
some related changes.

* Default lines are generated from the compiled default settings (less
  duplication in cf.data.pre)
* Non-enabled functions gets a note telling that the directive isn't enabled
  and what configure option (or defined) that is required to enable it.

Some cleanup of how some defines are used..

25 years agohno squid-2.3.DEVEL3.ftp_all_messages.patch
hno [Wed, 3 May 2000 02:41:22 +0000 (02:41 +0000)] 
hno squid-2.3.DEVEL3.ftp_all_messages.patch
Squid-2.3.DEVEL3: Show FTP server messages

Show all FTP server messages in generated error pages or top level
directory listing. Main purpose is to make sure all information is
available when a login is denied due to to many users or a closed
mirror.

25 years agohno/squid-2.3.STABLE1.idns_config-2.patch [with adaptions to current release]
hno [Wed, 3 May 2000 02:39:27 +0000 (02:39 +0000)] 
hno/squid-2.3.STABLE1.idns_config-2.patch [with adaptions to current release]
Squid-2.3.DEVEL3: Configurable DNS retransmission interval

Added squid.conf parameters for DNS retransmissions.

25 years agohno squid-2.3.DEVEL3.round_robin_clear_counter.patch
hno [Wed, 3 May 2000 02:31:44 +0000 (02:31 +0000)] 
hno squid-2.3.DEVEL3.round_robin_clear_counter.patch
Squid-2.3.DEVEL3: Reset "round-robin" counters every 5 minutes

Reset "round-robin" peer selection counters every 5 minutes to speed up
recovery when a dead peer has come on line again ("round-robin" is
implemented by "least-frequently-used", which without this patch gets
stronly biased to the previously dead peer).

25 years agohno squid-2.3.DEVEL3.httpd_accel_single_host-2.patch
hno [Wed, 3 May 2000 02:28:29 +0000 (02:28 +0000)] 
hno squid-2.3.DEVEL3.httpd_accel_single_host-2.patch
Squid-2.3.DEVEL3: httpd_accel_single_host

Added simplified support for running Squid as a accelerator in front of
a single server with multiple domains/sites.

25 years agohno squid-2.3.DEVEL3.ftp_EAGAIN_loglevel.patch
hno [Wed, 3 May 2000 02:25:33 +0000 (02:25 +0000)] 
hno squid-2.3.DEVEL3.ftp_EAGAIN_loglevel.patch
Squid-2.3.DEVEL3: FTP log level adjustment for ignored "errors"

Use log level 3 on ignored read-"errors" like EAGAIN (was 1).

25 years agohno squid-2.3.DEVEL3.internal_range_limit-2.patch
hno [Wed, 3 May 2000 02:24:44 +0000 (02:24 +0000)] 
hno squid-2.3.DEVEL3.internal_range_limit-2.patch
Squid-2.3.DEVEL3: Range request could cause bandwidth spikes

Range requests to servers/objects not supporting range requests could
cause bandwidth spikes and/or negative hit ratio.

25 years agohno squid-2.3.DEVEL3.aclDomainCompare-2.patch
hno [Wed, 3 May 2000 02:22:54 +0000 (02:22 +0000)] 
hno squid-2.3.DEVEL3.aclDomainCompare-2.patch
Squid-2.3.DEVEL3: The last aclDomainCompare bugs squeezed

This patch fixes some remaining aclDomainCompare issues where Squid gave
more "is a subdomain of" warnings than it needed to.

25 years agohno squid-2.2.STABLE5.ipc_hello.patch
hno [Wed, 3 May 2000 02:21:04 +0000 (02:21 +0000)] 
hno squid-2.2.STABLE5.ipc_hello.patch
Squid-2.2.STABLE5: ipc hello test fails on some platforms/compilers

A missing \0 string terminator could on some platforms/compilers cause
squid to fail the hello test used when starting child processes.

25 years agohno squid-2.3.DEVEL3.ftp_HEAD.patch
hno [Wed, 3 May 2000 02:20:10 +0000 (02:20 +0000)] 
hno squid-2.3.DEVEL3.ftp_HEAD.patch
Squid-2.3.DEVEL3: HEAD and ftp://...

Support HEAD ftp://.. requests without fetching the whole object.

25 years agohno squid-2.3.DEVEL2.ipcache_reload.patch
hno [Wed, 3 May 2000 02:18:21 +0000 (02:18 +0000)] 
hno squid-2.3.DEVEL2.ipcache_reload.patch
Squid-2.3.DEVEL2: Purge ipcache on reload/PURGE

Purge negatively cached ipcache entries on reload to allow end users to
quickly purge sporious errors, and have the PURGE method also purge
ipcache to allow the cache administrator to manually purge important
entries on DNS updates.

25 years agohno squid-2.2.STABLE4.helper_statistics-2.patch
hno [Wed, 3 May 2000 02:15:48 +0000 (02:15 +0000)] 
hno squid-2.2.STABLE4.helper_statistics-2.patch
Squid-2.2.STABLE4: Include request in helper statistics

Include the request sent in helper statistics to allow the administrator
to find out why the helper processes are busy.

25 years agohno squid-2.3.DEVEL3.helper_rotate_log.patch
hno [Wed, 3 May 2000 02:13:57 +0000 (02:13 +0000)] 
hno squid-2.3.DEVEL3.helper_rotate_log.patch
Squid-2.3.DEVEL3: Restart helpers when rotating logs

Restart helper processes when rotating logs, to have cache.log properly
rotated.

25 years agohno squid-2.2.STABLE4.helper_filedescriptors.patch
hno [Wed, 3 May 2000 02:12:08 +0000 (02:12 +0000)] 
hno squid-2.2.STABLE4.helper_filedescriptors.patch
Squid-2.2.STABLE4: helpers and open filedescriptors

Make sure all unneeded filedescriptors is properly closed when starting
helper processes.

25 years agohno squid-2.3.DEVEL2.rebuild_release.patch
hno [Wed, 3 May 2000 02:07:37 +0000 (02:07 +0000)] 
hno squid-2.3.DEVEL2.rebuild_release.patch
Squid-2.3.DEVEL2: Release unused store entries during rebuild

Squid locked all "released" store entries in memory during the rebuild
procedure, even such entries not needed in the "LateRelease" procedure.
Also, during a dirty rebuild a lot of store entries got locked up which
never was queued for "LateRelease", causing a huge memory leak.

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'