]> git.ipfire.org Git - thirdparty/squid.git/log
thirdparty/squid.git
22 years agoFirst batch of rproxy merges
hno [Sat, 15 Feb 2003 07:15:51 +0000 (07:15 +0000)] 
First batch of rproxy merges

New cache_peer options for reverse proxy setups

   originserver
   name=XXX
   forceddomain=XXX

Cleanup of authentication forwarding, and added gatewaying proxy->reverseproxy
when the same Squid is acting as both proxy and reverseproxy with authentication

22 years agoPort SSL components of external_acl to the new acl checklist->conn()
hno [Sat, 15 Feb 2003 06:17:06 +0000 (06:17 +0000)] 
Port SSL components of external_acl to the new acl checklist->conn()
syntax.

22 years agoPort merge comms accept fix (revision 1.620) to httpsAccept also.
hno [Sat, 15 Feb 2003 06:11:36 +0000 (06:11 +0000)] 
Port merge comms accept fix (revision 1.620) to httpsAccept also.

22 years agoUpdated Squid MIB definition to work with current and older SNMP tools
hno [Sat, 15 Feb 2003 05:47:46 +0000 (05:47 +0000)] 
Updated Squid MIB definition to work with current and older SNMP tools

The oid list in the SQUID-MIB define line is redundant as these is imported
from other mibs, and confuses the newer tools

22 years agotypo; forgot statCounter before syscalls...
wessels [Fri, 14 Feb 2003 22:37:43 +0000 (22:37 +0000)] 
typo; forgot statCounter before syscalls...

22 years agobootstrapped
robertc [Fri, 14 Feb 2003 21:04:01 +0000 (21:04 +0000)] 
bootstrapped

22 years agoMerge comms accept fix.
robertc [Fri, 14 Feb 2003 20:59:49 +0000 (20:59 +0000)] 
Merge comms accept fix.

22 years agoSummary: Remove ACLChecklist compile warning.
robertc [Fri, 14 Feb 2003 18:56:51 +0000 (18:56 +0000)] 
Summary: Remove ACLChecklist compile warning.
Keywords:

Remove ACLChecklist compile warning.

22 years agoSummary: Merge delay pools update.
robertc [Fri, 14 Feb 2003 05:20:37 +0000 (05:20 +0000)] 
Summary: Merge delay pools update.
Patches applied:

  * robertc@squid-cache.org--squid/squid--delay-class-4--3.0--patch-38
     Smooth delay pools.

22 years agoNow incrementing statCounter.syscalls.disk.unlinks for external unlinkd
wessels [Fri, 14 Feb 2003 04:22:28 +0000 (04:22 +0000)] 
Now incrementing statCounter.syscalls.disk.unlinks for external unlinkd
helper process to be more consistent with other places that we increment
the counter.

22 years agonow incrementing statCounter.syscalls.disk members for AUFS.
wessels [Fri, 14 Feb 2003 04:21:46 +0000 (04:21 +0000)] 
now incrementing statCounter.syscalls.disk members for AUFS.

22 years agostore_check_cachable_hist.no.release_request was always zero because
wessels [Fri, 14 Feb 2003 04:04:51 +0000 (04:04 +0000)] 
store_check_cachable_hist.no.release_request was always zero because
storeReleaseRequest() always clears ENTRY_CACHABLE.  Such objects
wer always counted as not_entry_cachable instead.

Removed references to store_check_cachable_hist.no.release_request

Removed superfluous EBIT_CLR ENTRY_CACHABLE calls before/after
storeReleaseRequest and left comments in their place.

22 years agoin 'client_list' cachemgr output, remove the percentage from the FETCHES
wessels [Fri, 14 Feb 2003 03:52:42 +0000 (03:52 +0000)] 
in 'client_list' cachemgr output, remove the percentage from the FETCHES
line. It is no longer menaingful because fetches is incremented for
non-ICP based forwarding decisions.  Also moved FETCHES to the
top of the output with other "TCP-ish" stats and out of the "UDP-ish"
stats section.

22 years agoremove unused members of IpcacheStats and FqdncacheStats. In particular,
wessels [Fri, 14 Feb 2003 03:47:53 +0000 (03:47 +0000)] 
remove unused members of IpcacheStats and FqdncacheStats.  In particular,
errors, release_locked, ghbn_calls, gbha_calls

22 years agobootstrapped
robertc [Thu, 13 Feb 2003 17:33:05 +0000 (17:33 +0000)] 
bootstrapped

22 years agoSummary: Merge delay class bugfixes.
robertc [Thu, 13 Feb 2003 17:27:11 +0000 (17:27 +0000)] 
Summary: Merge delay class bugfixes.
Keywords:

Patches applied:

  * robertc@squid-cache.org--squid/squid--delay-class-4--3.0--patch-37
     Multiple bugfixes.

  * robertc@squid-cache.org--squid/squid--delay-class-4--3.0--patch-36
     Bootstrapped.

  * robertc@squid-cache.org--squid/squid--delay-class-4--3.0--patch-35
     merge from HEAD.

  * robertc@squid-cache.org--squid/squid--delay-class-4--3.0--patch-34
     Merge from HEAD.

  * robertc@squid-cache.org--squid/squid--delay-class-4--3.0--patch-33
     Print pool number when creating delay ID's

  * robertc@squid-cache.org--squid/squid--delay-class-4--3.0--patch-32
     Merge from HEAD.

22 years agoSummary: Merge further ACL refactoring (including bugfixes)
robertc [Thu, 13 Feb 2003 15:07:46 +0000 (15:07 +0000)] 
Summary: Merge further ACL refactoring (including bugfixes)
Keywords:

Patches applied:

  * robertc@squid-cache.org--squid/squid--acl--3.0--patch-13
     More conversion of ACL's

  * robertc@squid-cache.org--squid/squid--acl--3.0--patch-12
     Fix ACLChecklist async tests.

  * robertc@squid-cache.org--squid/squid--acl--3.0--patch-11
     More conversion to the new ACL approach.

22 years agobootstrapped
robertc [Wed, 12 Feb 2003 13:22:49 +0000 (13:22 +0000)] 
bootstrapped

22 years agoSummary: Merge of ACL refactoring.
robertc [Wed, 12 Feb 2003 13:09:56 +0000 (13:09 +0000)] 
Summary: Merge of ACL refactoring.

Patches applied:

  * robertc@squid-cache.org--squid/squid--acl--3.0--patch-10
     Merge from HEAD.

  * robertc@squid-cache.org--squid/squid--acl--3.0--patch-9
     Refactoring (again!)

  * robertc@squid-cache.org--squid/squid--acl--3.0--patch-8
     More refactoring.

  * robertc@squid-cache.org--squid/squid--acl--3.0--patch-7
     Merge from HEAD.

  * robertc@squid-cache.org--squid/squid--acl--3.0--patch-6
     More refactoring.

  * robertc@squid-cache.org--squid/squid--acl--3.0--patch-5
     More refactoring of ACL's.

  * robertc@squid-cache.org--squid/squid--acl--3.0--patch-4
     Merge from HEAD.

  * robertc@squid-cache.org--squid/squid--acl--3.0--patch-3
     Still more refactoring steps.

  * robertc@squid-cache.org--squid/squid--acl--3.0--patch-2
     More refactoring.

  * robertc@squid-cache.org--squid/squid--acl--3.0--patch-1
     Bootstrap, and start refactoring.

22 years agoBootstrapped
hno [Wed, 12 Feb 2003 09:00:35 +0000 (09:00 +0000)] 
Bootstrapped

22 years agoBootstrapped
hno [Wed, 12 Feb 2003 08:10:52 +0000 (08:10 +0000)] 
Bootstrapped

22 years agoCleanup of winbind header dependencies to correct building with
hno [Tue, 11 Feb 2003 21:34:30 +0000 (21:34 +0000)] 
Cleanup of winbind header dependencies to correct building with
current Samba releases and make migration easier in future (and also
backward to older Samba versions if needed)

1. Centralize the headers to include/samba/nsswitch

2. Upgraded the headers to Samba-2.2.7a, without any changes

3. Added a --with-samba-source=... configure option to manually specify
   other headers to use (top level Samba source directory)

22 years agoBootstrapped
hno [Tue, 11 Feb 2003 20:07:27 +0000 (20:07 +0000)] 
Bootstrapped

22 years agoFix dependencies for ufsdump now that ssl.cc is renamed to tunnel.cc
hno [Tue, 11 Feb 2003 20:06:04 +0000 (20:06 +0000)] 
Fix dependencies for ufsdump now that ssl.cc is renamed to tunnel.cc

22 years agoRewrite error page loading to remove assumptions about file size
hno [Mon, 10 Feb 2003 03:12:19 +0000 (03:12 +0000)] 
Rewrite error page loading to remove assumptions about file size
when reading text files

22 years agoFix request processing CONNECT requests to immediately stop trying to
hno [Mon, 10 Feb 2003 02:48:32 +0000 (02:48 +0000)] 
Fix request processing CONNECT requests to immediately stop trying to
read requests from the connection when marked with context->mayUseConnection

22 years agoBug #490: assertion failed: ssl.cc:228: "len == (size_t)sslState-
hno [Mon, 10 Feb 2003 00:24:02 +0000 (00:24 +0000)] 
Bug #490: assertion failed: ssl.cc:228: "len == (size_t)sslState-
>client.len" in sslWriteServerDone

comm_write returned the number of bytes written in the last segment if the
write got split in multiple segments, not the total written size.

I also removed some bogous special case for write() == 0 which was
copy-pasted from comm_read. A write() == 0 only occurs if 0 bytes
was requested to be written, and is no different from a normal write

22 years agoUpdated X-Accelerator-Vary with needed typecasts
hno [Sun, 9 Feb 2003 00:45:09 +0000 (00:45 +0000)] 
Updated X-Accelerator-Vary with needed typecasts

22 years agoMore size_t -> long typecasts for debug output
hno [Sun, 9 Feb 2003 00:43:18 +0000 (00:43 +0000)] 
More size_t -> long typecasts for debug output

22 years agoA small syntax fix to my change for invalid HEAD replies
hno [Sun, 9 Feb 2003 00:37:36 +0000 (00:37 +0000)] 
A small syntax fix to my change for invalid HEAD replies

22 years agoWork around a size_t printf warning..
hno [Sun, 9 Feb 2003 00:36:16 +0000 (00:36 +0000)] 
Work around a size_t printf warning..

22 years agoUpdated ARP acl code to C++
hno [Sun, 9 Feb 2003 00:32:43 +0000 (00:32 +0000)] 
Updated ARP acl code to C++

22 years agoBootstrapped
hno [Sun, 9 Feb 2003 00:08:38 +0000 (00:08 +0000)] 
Bootstrapped

22 years agoCleaned up module/helper configure checks to use the same logics
hno [Sun, 9 Feb 2003 00:06:58 +0000 (00:06 +0000)] 
Cleaned up module/helper configure checks to use the same logics
everywhere.

This should probably be broken out to a custom macro..

22 years agoRenamed ssl.cc to tunnel.cc
hno [Sat, 8 Feb 2003 23:16:14 +0000 (23:16 +0000)] 
Renamed ssl.cc to tunnel.cc

Next step is to rename functions suitably to denote the two functions
provided:

 a) tunnel mode

 b) CONNECT forwarding to another proxy, followed by tunnel mode

22 years agoMake time ACLs behave like all other acls, accepting a list of times
hno [Sat, 8 Feb 2003 22:54:36 +0000 (22:54 +0000)] 
Make time ACLs behave like all other acls, accepting a list of times
(the parser already does, but the acl check never looked at more than the first)

22 years agoBug #520: performance problem while executing the HEAD command to IIS and
hno [Sat, 8 Feb 2003 22:23:53 +0000 (22:23 +0000)] 
Bug #520: performance problem while executing the HEAD command to IIS and
certain other web servers

Caused by a malformed HTTP reply without the terminating line after the
headers. In such case we MUST NOT keep the client connection persistent
as our reply is also malformed.

22 years agoBug #501: ssl_support.c build fails when using OpenSSL 0.9.7
hno [Sat, 8 Feb 2003 21:55:07 +0000 (21:55 +0000)] 
Bug #501: ssl_support.c build fails when using OpenSSL 0.9.7

22 years agodate: 2003/02/04 01:06:21; author: wessels; state: Exp; lines: +1 -1
hno [Sat, 8 Feb 2003 21:42:09 +0000 (21:42 +0000)] 
date: 2003/02/04 01:06:21;  author: wessels;  state: Exp;  lines: +1 -1
example does not match the text -- delay pool values are bytes, not bits.

date: 2003/02/05 05:28:42;  author: hno;  state: Exp;  lines: +2 -2
Eleminated some stale references to authenticate_program from the docs

22 years agodate: 2003/02/06 05:00:20; author: wessels; state: Exp; lines: +21 -2
hno [Sat, 8 Feb 2003 21:40:55 +0000 (21:40 +0000)] 
date: 2003/02/06 05:00:20;  author: wessels;  state: Exp;  lines: +21 -2
Emit a warning if we find the same cachemgr action under more than
one password.

22 years agoAdded a small trap detecting incorrect --with-aufs-threads arguments
hno [Sat, 8 Feb 2003 21:40:03 +0000 (21:40 +0000)] 
Added a small trap detecting incorrect --with-aufs-threads arguments

22 years agoSummary: Close /etc/hosts filedescriptor after parsing.
robertc [Sat, 8 Feb 2003 09:32:53 +0000 (09:32 +0000)] 
Summary: Close /etc/hosts filedescriptor after parsing.
Keywords:

Close /etc/hosts filedescriptor after parsing.

22 years agoSummary: Merge delay class 4 performance enhancements.
robertc [Sat, 8 Feb 2003 08:45:46 +0000 (08:45 +0000)] 
Summary: Merge delay class 4 performance enhancements.
Keywords:

Patches applied:

  * robertc@squid-cache.org--squid/squid--delay-class-4--3.0--patch-31
     Convert ACL.h listed types to SplayNode.

  * robertc@squid-cache.org--squid/squid--delay-class-4--3.0--patch-30
     Make splay trees typesafe, and use in DelayUser class.

  * robertc@squid-cache.org--squid/squid--delay-class-4--3.0--patch-29
     Separate splay usage from global includes.

22 years agoSummary: Fix non delay pool compiles.
robertc [Fri, 7 Feb 2003 06:13:00 +0000 (06:13 +0000)] 
Summary: Fix non delay pool compiles.
Keywords:

main.cc and store_client.cc used unguarded delay pool calls.

22 years agoSummary: Merge delay class 4 documentation.
robertc [Thu, 6 Feb 2003 19:03:14 +0000 (19:03 +0000)] 
Summary: Merge delay class 4 documentation.
Keywords:

Patches applied:

  * robertc@squid-cache.org--squid/squid--delay-class-4--3.0--patch-28
     Document class 4 delay pools in squid.conf.

  * robertc@squid-cache.org--squid/squid--delay-class-4--3.0--patch-27
     Merge from HEAD.

22 years agobootstrapped
robertc [Thu, 6 Feb 2003 16:59:47 +0000 (16:59 +0000)] 
bootstrapped

22 years agoSummary: Merge delay-class-4 fixes into HEAD.
robertc [Thu, 6 Feb 2003 16:56:46 +0000 (16:56 +0000)] 
Summary: Merge delay-class-4 fixes into HEAD.
Keywords:

Patches applied:

  * robertc@squid-cache.org--squid/squid--delay-class-4--3.0--patch-26
     Prevent asserts on shutdown due to store_clients not cleaning up correctly.

  * robertc@squid-cache.org--squid/squid--delay-class-4--3.0--patch-25
     Enabled class 4 delay pools

  * robertc@squid-cache.org--squid/squid--delay-class-4--3.0--patch-24
     Merged head back into delay pools.

22 years agoSummary: Fix bug #475
robertc [Thu, 6 Feb 2003 07:16:16 +0000 (07:16 +0000)] 
Summary: Fix bug #475
Keywords:

Cast to long unsigned, not long signed for store_swap_size warnings.

22 years agoSummary: Fix bug #484.
robertc [Thu, 6 Feb 2003 07:02:51 +0000 (07:02 +0000)] 
Summary: Fix bug #484.
Keywords:

Send a shutting down error when hitting the race between connect start,
starting a shutdown and shutting down the connection.

22 years agoadd missing files
robertc [Thu, 6 Feb 2003 04:06:30 +0000 (04:06 +0000)] 
add missing files

22 years agobootstrapped
robertc [Wed, 5 Feb 2003 17:40:34 +0000 (17:40 +0000)] 
bootstrapped

22 years agoSummary: Merge from delay-class-4
robertc [Wed, 5 Feb 2003 17:35:27 +0000 (17:35 +0000)] 
Summary: Merge from delay-class-4
Keywords:

Patches applied:

  * robertc@squid-cache.org--squid/squid--delay-class-4--3.0--patch-23
     Merge from HEAD, and shutdown delaypools at shutdown.

  * robertc@squid-cache.org--squid/squid--delay-class-4--3.0--patch-22
     Merge from HEAD.

  * robertc@squid-cache.org--squid/squid--delay-class-4--3.0--patch-21
     Implement class 4 delay pools

  * robertc@squid-cache.org--squid/squid--delay-class-4--3.0--patch-20
     Fix make dist.

  * robertc@squid-cache.org--squid/squid--delay-class-4--3.0--patch-19
     Document finished aspects of delay pools.

  * robertc@squid-cache.org--squid/squid--delay-class-4--3.0--patch-18
     Merge from HEAD.

  * robertc@squid-cache.org--squid/squid--delay-class-4--3.0--patch-17
     Fixs to handle HEAD changes.

  * robertc@squid-cache.org--squid/squid--delay-class-4--3.0--patch-16
     Merge from head.

  * robertc@squid-cache.org--squid/squid--delay-class-4--3.0--patch-15
     Merge from HEAD

  * robertc@squid-cache.org--squid/squid--delay-class-4--3.0--patch-14
     Merge from HEAD

  * robertc@squid-cache.org--squid/squid--delay-class-4--3.0--patch-13
     Separate out code for DelayBucket and DelayId.

  * robertc@squid-cache.org--squid/squid--delay-class-4--3.0--patch-12
     More class split outs.

  * robertc@squid-cache.org--squid/squid--delay-class-4--3.0--patch-11
     More class splitting

  * robertc@squid-cache.org--squid/squid--delay-class-4--3.0--patch-10
     Splitting classes out to one per file.

  * robertc@squid-cache.org--squid/squid--delay-class-4--3.0--patch-9
     Starting consolidation of delay pools hierarchy.

  * robertc@squid-cache.org--squid/squid--delay-class-4--3.0--patch-8
     Snapshot

  * robertc@squid-cache.org--squid/squid--delay-class-4--3.0--patch-7
     Finally got composite structure sorted - class one and two delay pools in it.

  * robertc@squid-cache.org--squid/squid--delay-class-4--3.0--patch-6
     snapshotting more refactoring.

  * robertc@squid-cache.org--squid/squid--delay-class-4--3.0--patch-5
     More refactoring - no functionality changes.

  * robertc@squid-cache.org--squid/squid--delay-class-4--3.0--patch-4
     Another refactoring snapshot.

  * robertc@squid-cache.org--squid/squid--delay-class-4--3.0--patch-3
     Snapshot of delay pools refactoring.

  * robertc@squid-cache.org--squid/squid--delay-class-4--3.0--patch-2
     Refactor delay pools code to not cause globals recompiles on most changes.

  * robertc@squid-cache.org--squid/squid--delay-class-4--3.0--patch-20
     Fix make dist.

  * robertc@squid-cache.org--squid/squid--delay-class-4--3.0--patch-21
     Implement class 4 delay pools

  * robertc@squid-cache.org--squid/squid--delay-class-4--3.0--patch-22
     Merge from HEAD.

  * robertc@squid-cache.org--squid/squid--delay-class-4--3.0--patch-23
     Merge from HEAD, and shutdown delaypools at shutdown.

22 years agoSummary: Check status of http request after redirection.
robertc [Wed, 5 Feb 2003 10:11:14 +0000 (10:11 +0000)] 
Summary: Check status of http request after redirection.
Keywords:

Check status of http request after redirection.

22 years agoSummary: Fix another cbdata gap in client side processing.
robertc [Wed, 5 Feb 2003 09:20:09 +0000 (09:20 +0000)] 
Summary: Fix another cbdata gap in client side processing.
Keywords:

Fix another cbdata gap in client side processing.

22 years agoSummary: Fix bug 529 (I think).
robertc [Wed, 5 Feb 2003 08:42:20 +0000 (08:42 +0000)] 
Summary: Fix bug 529 (I think).
Keywords:

Fix bug 529 (I think).

22 years agoSummary: Make http_reply_access a non blocking check.
robertc [Wed, 5 Feb 2003 08:27:11 +0000 (08:27 +0000)] 
Summary: Make http_reply_access a non blocking check.
Keywords:

Make http_reply_access a non blocking check.

22 years agoSummary: Prevent segfaults when attempting NTLM and no connection data is avaiolable.
robertc [Wed, 5 Feb 2003 06:24:42 +0000 (06:24 +0000)] 
Summary: Prevent segfaults when attempting NTLM and no connection data is avaiolable.
Keywords:

Prevent segfaults when attempting NTLM and no connection data is avaiolable.

22 years agoSummary: Fix scoping of pid variable when checking for child processes.
robertc [Wed, 5 Feb 2003 05:25:16 +0000 (05:25 +0000)] 
Summary: Fix scoping of pid variable when checking for child processes.
Keywords:

Fix scoping of pid variable when checking for child processes.

22 years agoSummary: Refactor Guidos store creation change.
robertc [Wed, 5 Feb 2003 05:09:03 +0000 (05:09 +0000)] 
Summary: Refactor Guidos store creation change.
Keywords:

Refactor Guidos store creation change to make the behaviour easier to read,
and easier to adapt for other OS's (i.e. OS/2).

22 years agoSummary: Guido's 4th set of windows patches.
robertc [Wed, 5 Feb 2003 04:57:15 +0000 (04:57 +0000)] 
Summary: Guido's 4th set of windows patches.
Keywords:

Hi,

This is the 4th of some splitted native Windows patches grouped by
functionality.

Native Windows port enhancements:

- Added native Windows support to cachemgr.cc
- Added native Windows support to dnsserver.cc
- On Windows, fork() is not available, so we need to use a workaround in
store_dir.cc for create store directories sequentially

Regards

Guido

22 years agoSummary: More patches from Guido for windows.
robertc [Tue, 4 Feb 2003 04:33:14 +0000 (04:33 +0000)] 
Summary: More patches from Guido for windows.
Keywords:

Hi,

This is the 3th of some splitted native Windows patches grouped by
functionality.

Native Windows port enhancements:

- Another fix for profiling support
- Added correct timezone handling
- Fixed rotate problem
- Added native Windows support to client.cc

22 years agoSummary: More windows code from Guido Serassio.
robertc [Mon, 3 Feb 2003 05:04:13 +0000 (05:04 +0000)] 
Summary: More windows code from Guido Serassio.
Keywords:

Hi,

This is the second of some splitted native Windows patches grouped by
functionality.

This patch add the native Windows support for profiling and fix some C++/C
include files problems.

Regards

Guido

22 years agoSummary: Adjust http range test case for aclCheck_t rename.
robertc [Mon, 3 Feb 2003 04:25:05 +0000 (04:25 +0000)] 
Summary: Adjust http range test case for aclCheck_t rename.
Keywords:

Adjust http range test case for aclCheck_t rename.

22 years agoSummary: Ensure that optional authscheme methods are NULL'd if realloc returns non...
robertc [Sun, 2 Feb 2003 20:35:53 +0000 (20:35 +0000)] 
Summary: Ensure that optional authscheme methods are NULL'd if realloc returns non-zero'd memory.
Keywords:

Ensure that optional authscheme methods are NULL'd if realloc returns non-zero'd memory.

22 years agohmm, forgot to move String.h in CVS initially.
robertc [Sun, 2 Feb 2003 20:31:06 +0000 (20:31 +0000)] 
hmm, forgot to move String.h in CVS initially.

22 years agoSummary: Windows FD support from Guido.
robertc [Sun, 2 Feb 2003 20:27:43 +0000 (20:27 +0000)] 
Summary: Windows FD support from Guido.
Keywords:

Hi,

This is the first of some splitted native Windows patches grouped by
functionality.

This patch add the native Windows support for the correct file and socket
FD handling methods.

Regards

Guido

22 years agoSummary: String.h collided with system string.h on case-insensitive file systems.
robertc [Sun, 2 Feb 2003 20:12:36 +0000 (20:12 +0000)] 
Summary: String.h collided with system string.h on case-insensitive file systems.
Keywords:

String.h collided with system string.h on case-insensitive file systems.

22 years agobootstrapped
robertc [Sun, 2 Feb 2003 20:00:26 +0000 (20:00 +0000)] 
bootstrapped

22 years agoSummary: Miscellaneous fixes from Guido.
robertc [Sun, 2 Feb 2003 19:55:23 +0000 (19:55 +0000)] 
Summary: Miscellaneous fixes from Guido.
Keywords:

Missing fde.h include in comm_select.cc
Prevent make from trying to build diskd even if not configured

22 years agoSummary: Fix typo in debug statements.
robertc [Sun, 2 Feb 2003 19:06:32 +0000 (19:06 +0000)] 
Summary: Fix typo in debug statements.
Keywords:

Fix typo in debug statements.

22 years agoBootstrapped
hno [Sun, 2 Feb 2003 08:11:08 +0000 (08:11 +0000)] 
Bootstrapped

22 years agoCosmetic fix of configure message on --enable-hostname-checks
hno [Sat, 1 Feb 2003 20:42:13 +0000 (20:42 +0000)] 
Cosmetic fix of configure message on --enable-hostname-checks

22 years agoBug #507: Crash after ftpDataWriteCallback
hno [Sat, 1 Feb 2003 20:38:44 +0000 (20:38 +0000)] 
Bug #507: Crash after ftpDataWriteCallback

A cbdata fence error when aborting FTP requests caused Squid to segfault
if a FTP PUT request was aborted while Squid was actively sending data
to the FTP server.

It is possible this fence error could also be triggered by other abort
conditions in FTP such as timeouts etc, producing slightly different symptoms.

22 years agodate: 2003/01/31 05:12:53; author: wessels; state: Exp; lines: +2 -0
hno [Sat, 1 Feb 2003 20:36:47 +0000 (20:36 +0000)] 
date: 2003/01/31 05:12:53;  author: wessels;  state: Exp;  lines: +2 -0
store_check_cachable_hist.no.non_get is only incremented if
CACHE_ALL_METHODS is defined (which never is).  Rather than always
print 0 for non_get in store_check_cachable_stats, let's also
wrap that output in #if CACHE_ALL_METHODS.

22 years agoDelay unlinking of the pid file to after where the services of Squid have
hno [Sat, 1 Feb 2003 20:36:09 +0000 (20:36 +0000)] 
Delay unlinking of the pid file to after where the services of Squid have
shut down and the swap has been flushed.

This allows scripts to use "squid -k check" to determine if/when Squid has
shut down.

In the long run we should probably extend "squid -k shutdown" with such
check to ensure clean shutdowns.

22 years agoAdded one more note that http_reply_max_size is in bytes, not kilobytes.
hno [Sat, 1 Feb 2003 20:35:17 +0000 (20:35 +0000)] 
Added one more note that http_reply_max_size is in bytes, not kilobytes.

22 years agodate: 2003/01/27 17:18:36; author: wessels; state: Exp; lines: +4 -0
hno [Wed, 29 Jan 2003 10:45:20 +0000 (10:45 +0000)] 
date: 2003/01/27 17:18:36;  author: wessels;  state: Exp;  lines: +4 -0
increment statCounter.select_time in comm_select(), as we do for
comm_poll().  This requires an otherwise unnecssary call to
getCurrentTime().

22 years agoSummary: Squid generated IMS replies must not send IMS to the client
robertc [Tue, 28 Jan 2003 17:01:19 +0000 (17:01 +0000)] 
Summary: Squid generated IMS replies must not send IMS to the client
Keywords:

Squid generated IMS replies must not send IMS to the client

22 years agoSummary: Fix delay pools from aclCheck_t fix. Some code cleanps.
robertc [Tue, 28 Jan 2003 13:18:12 +0000 (13:18 +0000)] 
Summary: Fix delay pools from aclCheck_t fix. Some code cleanps.
Keywords:

Objectify ClientRequestContext.
Delay pools needs ACLChecklist.h.

22 years agobootstrapped
robertc [Tue, 28 Jan 2003 08:31:50 +0000 (08:31 +0000)] 
bootstrapped

22 years agoSummary: Make aclCheck_t a class (ACLChecklist), and hopefully fix bug 516.
robertc [Tue, 28 Jan 2003 08:29:32 +0000 (08:29 +0000)] 
Summary: Make aclCheck_t a class (ACLChecklist), and hopefully fix bug 516.
Keywords:

Extract aclCheck_t from structs.h to ACLChecklist.h, and
rename to ACLChecklist.
Add ACLChecklist to the SQUID_sources to have it distributed.
Remove aclCheck_t as a global cbdata, instead use per class
cbdata.
Create constructor and destructors for ACLChecklist.
Remove all aclCheck_t memset's.
Make aclCheckCallback into ACLChecklist::checkCallback.
In clientCheckNoCache, cbdatareference the context before handing off to
aclNBCheck.
In clientCheckNoCacheDone, check that http is still valid before using it.

22 years agoSummary: Fix high optimisation with err_type enum subtraction.
robertc [Tue, 28 Jan 2003 05:33:25 +0000 (05:33 +0000)] 
Summary: Fix high optimisation with err_type enum subtraction.
Keywords:

Migrated errorpage.cc to use Vector instead of Stack.
Added an operator - (errtype, errtype) to support correct
subtraction at high optimisations.

22 years agobootstrapped
robertc [Mon, 27 Jan 2003 16:51:30 +0000 (16:51 +0000)] 
bootstrapped

22 years agoSummary: Fix make distcheck.
robertc [Mon, 27 Jan 2003 16:49:08 +0000 (16:49 +0000)] 
Summary: Fix make distcheck.
Keywords:

Include src/fs/diskd/dio.h in sources.
Make all fs modules in the fs makefile.
Remove fs/*/Makefile.am / fs/*/Makefile.in

22 years agodate: 2003/01/27 03:29:37; author: wessels; state: Exp; lines: +1 -0
hno [Mon, 27 Jan 2003 15:36:22 +0000 (15:36 +0000)] 
date: 2003/01/27 03:29:37;  author: wessels;  state: Exp;  lines: +1 -0
was missing CD_SIBLING_HIT case when we should have been
incrementing statCounter.cd.times_used.

22 years agodate: 2003/01/27 05:00:06; author: wessels; state: Exp; lines: +2 -0
hno [Mon, 27 Jan 2003 15:35:47 +0000 (15:35 +0000)] 
date: 2003/01/27 05:00:06;  author: wessels;  state: Exp;  lines: +2 -0
Add the 'select_fds_hist' object to the cachemgr 'histogram' output.

22 years agobootstrapped
robertc [Mon, 27 Jan 2003 15:30:46 +0000 (15:30 +0000)] 
bootstrapped

22 years agoSummary: Distribute all source files.
robertc [Mon, 27 Jan 2003 15:28:29 +0000 (15:28 +0000)] 
Summary: Distribute all source files.
Keywords:

Add HttpHdrContRange.h,  HttpHeaderRange.h, HttpReply.h,
Mem.h and HttpRequest.h to the sources list.

22 years agodate: 2003/01/21 00:04:10; author: wessels; state: Exp; lines: +0 -1
hno [Mon, 27 Jan 2003 15:08:51 +0000 (15:08 +0000)] 
date: 2003/01/21 00:04:10;  author: wessels;  state: Exp;  lines: +0 -1
peer_select_alg_t type is not really used anywhere.  No code sets
clientHttpRequest->HierarchyLogEntry->alg and the switch statement
in clientUpdateCounters() does nothing.  This patch removes
peer_select_alg_t and HierarchyLogEntry->alg, and changes the switch
statement to use HierarchyLogEntry->code instead.

22 years agoBugzilla 506: log_mime_hdrs output garbage on overly long request headers
hno [Mon, 27 Jan 2003 15:08:04 +0000 (15:08 +0000)] 
Bugzilla 506: log_mime_hdrs output garbage on overly long request headers

22 years agodate: 2003/01/21 00:47:51; author: wessels; state: Exp; lines: +2 -1
hno [Mon, 27 Jan 2003 15:06:57 +0000 (15:06 +0000)] 
date: 2003/01/21 00:47:51;  author: wessels;  state: Exp;  lines: +2 -1
in clientUpdateHierCounters() CLOSEST_PARENT_MISS and FIRST_PARENT_MISS
are actually ICP-related codes.
date: 2003/01/27 03:29:37;  author: wessels;  state: Exp;  lines: +1 -0
was missing CD_SIBLING_HIT case when we should have been
incrementing statCounter.cd.times_used.

22 years agoTypecast sbrk pointer arithmetics into (int) when printing as KB.
hno [Mon, 27 Jan 2003 15:04:01 +0000 (15:04 +0000)] 
Typecast sbrk pointer arithmetics into (int) when printing as KB.

22 years agoSummary: Make operator new and delete STL compatible.
robertc [Mon, 27 Jan 2003 06:23:22 +0000 (06:23 +0000)] 
Summary: Make operator new and delete STL compatible.
Keywords:

Operator new and delete need the same signature as the STL uses
for safe interoperation with any STL headers.

22 years agoAnother missing file in make dist
robertc [Sun, 26 Jan 2003 17:46:24 +0000 (17:46 +0000)] 
Another missing file in make dist

22 years agoadd stmem.h to distributed files
robertc [Sun, 26 Jan 2003 04:16:42 +0000 (04:16 +0000)] 
add stmem.h to distributed files

22 years agoSummary: Fix OpenSSL
robertc [Fri, 24 Jan 2003 16:07:19 +0000 (16:07 +0000)] 
Summary: Fix OpenSSL
Keywords:

Fix OpenSSL builds.

22 years agoSummary: Bugfixes for store rebuilding and diskd linking
robertc [Fri, 24 Jan 2003 03:59:10 +0000 (03:59 +0000)] 
Summary: Bugfixes for store rebuilding and diskd linking
Keywords:

diskd wouldn't link if virtual methods were called from
RebuildState::*. Splitting out the diomsg struct needed by
diskd solves this.
Store rebuilding occasionally calls methods on foreign swapdirs,
we must use the swapdir for that store entry, not our own.

22 years agoVector - use typename for C++
robertc [Thu, 23 Jan 2003 18:51:33 +0000 (18:51 +0000)] 
Vector - use typename for C++

22 years agosbrk void to char * fix, and client_side_request header tweak
robertc [Thu, 23 Jan 2003 07:59:44 +0000 (07:59 +0000)] 
sbrk void to char * fix, and client_side_request header tweak

22 years agobootstrapped
robertc [Thu, 23 Jan 2003 07:41:14 +0000 (07:41 +0000)] 
bootstrapped