hno [Fri, 20 Jun 2003 01:02:33 +0000 (01:02 +0000)]
2003-05-21 01:51 hno
Bug #644: strListGetItem() failed to account for quoting, causing digest
authentication to fail on URLs with comma and possibly other odd HTTP
parsing errors.
hno [Fri, 20 Jun 2003 00:56:59 +0000 (00:56 +0000)]
2003-05-18 23:49 hno
2003-05-24 13:08 robertc
Bug #630: digest authentication and buggy browsers
This patch does four things:
* correct signalling of stale digest nonces
* auth_param digest check-nonce-count off option to completely
disable the nonce count check. Needed to work around Konqueror and
certain other broken digest qop implementations.
* auth_param digest post_workaround on to work around certain
broken browsers sending POST requests with a GET digest response
* changes the default of nonce_strictness to off. It is to early to
use strict nonce count increase by one checks, and even in the long
run this is probably not wanted. Enforcing increase by one does not
really add to security, only complexity.
hno [Thu, 19 Jun 2003 23:34:10 +0000 (23:34 +0000)]
2003-05-29 04:59 wessels
Remove confusing "cache_dir diskd" line in cache_dir documentation.
It is apparently left over from a version that is quite old by now.
The correct usage for diskd is given later in the section.
robertc [Thu, 19 Jun 2003 19:11:59 +0000 (19:11 +0000)]
Summary: Gcc-3.3 tidyups.
Keywords:
* Gave lib/ the same AM CXX and CFLAGS as src/
* In mempool, extract method on the free cache cleanup, and use a more correct type for Free, to avoid a warning on our use of 'type punned' pointers.
* Make squid_rn_inithead typesafe, and adjust usage throughout.
* rfc1738_do_escape needed adjustment for the use of char comparison with 0xFF.
* Make ACL Request/Reply HeaderStrategy singleton instance variable a pointer rather than instance to allow for stricter scoping rules.
* VectorMap<Key,Value>::indexUsed (unsigned char const index) had a tautology assert.
robertc [Mon, 9 Jun 2003 11:09:34 +0000 (11:09 +0000)]
Summary: parseConfigFile had a const correctness flaw.
Keywords:
Summary: parseConfigFile had a const correctness flaw. It used a char * pointer to handle the result of a strrchr, which on some platforms leads to compiler warnings. Refactored to avoid this.
robertc [Mon, 9 Jun 2003 10:41:36 +0000 (10:41 +0000)]
Summary: Refactor urlHostname.
Keywords:
urlHostname reused the same variable for both constant and non-constant operations. This leads to warnings on some compilers. Refactored urlHostname to be a class, allowing greater flexability, and to use appropriate const corrent variables for accessing strchr() results.
hno [Thu, 29 May 2003 04:36:46 +0000 (04:36 +0000)]
Unified the bootstrap.sh scripts to make sure there is no mismatches
in autotool versions between the main sources and libTrie. As it was
the version used in libTrie was very old and failed to find compatible
versions if not the system default..
robertc [Wed, 21 May 2003 08:58:10 +0000 (08:58 +0000)]
Summary: Fix bad commit, and update test suite.
Keywords:
Astyling Makefile.am and cf.data.pre is bad... updated the reverted files to the intended content.
http_range_test's eventAdd dummy function needed updating to the new
signature.
cache_cf's parseBytesLine had a type in strcmp usage, preventing parsing.
robertc [Mon, 19 May 2003 15:11:30 +0000 (15:11 +0000)]
Summary: Really fixup HEAD builds.
Keywords:
DelayVector has incorrect case on update registration calls.
ACLChecklist inline methods were incorrect (or in the wrong file):
.cci files are for conditionally inline methods.
inline qualifier should not be used on conditionally inlined code.
as member functions matchAclList[Slow|Fast] need to be declared thusly.
The ACLChecklist header had not been updated to include the .cci file when
inlining was enabled.
robertc [Sun, 18 May 2003 06:03:55 +0000 (06:03 +0000)]
Summary: Various bugfixes.
Keywords:
* ACLChecklist::checkCallback: used deleteSelf() rather than delete this;
* ClientRequestContext::~ClientRequestContext: ditto.
* clientAccessCheckDone: Prevent race conditions leading to double deletes of acl_checklist.
* comm_accept_check_event: Add comment for clarity.
* StoreEntry::storeClientType: Add comments for clarity.
* StoreEntry::complete(): Ditto.
* Move .cci files to noinst_headers section.
This also includes a redefiniton of acl matching methods to make sure
there is no mismatches between fast/slow acl matches, and fixes
tcp_outgoing_* for the same..
For next version we should probably create a acl base class which
all the acl driven matches can use to limit the amount of duplicated
code in these acl driven types
allow/deny
tos
address
size
[direct/auto/peer/...] (to replace always_direct/never_direct/cache_peer_access)