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
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.
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.
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.
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)
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
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.
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
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.
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.
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().
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.
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.
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.
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.
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.