]> git.ipfire.org Git - thirdparty/squid.git/log
thirdparty/squid.git
19 years agoMore decoupling work:
robertc [Tue, 9 May 2006 05:38:33 +0000 (05:38 +0000)] 
More decoupling work:
 Add a URL and URLScheme class to allow separating the url parsing logic from
 HTTPRequest logic which are currently bi-dependent.
 Add HttpRequestMethod class to replace the enum method_t, start using it.
 Split squid_curtime out from globals and tools, so you can get access to time
 without dragging in other dependencies.

19 years agoFix diskd debugging to print the correct unlink function name, either
wessels [Tue, 9 May 2006 05:05:45 +0000 (05:05 +0000)] 
Fix diskd debugging to print the correct unlink function name, either
unlink or truncate.

19 years agoadded .dirstamp
wessels [Tue, 9 May 2006 03:00:05 +0000 (03:00 +0000)] 
added .dirstamp

19 years agoconverted httpHeaderEntry functions to class methods
wessels [Tue, 9 May 2006 02:59:28 +0000 (02:59 +0000)] 
converted httpHeaderEntry functions to class methods

19 years agobugfix: Diskd has a loop that puts Squid to sleep for small amounts of
wessels [Tue, 9 May 2006 01:57:30 +0000 (01:57 +0000)] 
bugfix: Diskd has a loop that puts Squid to sleep for small amounts of
time when the queues size reach a threshhold.  The time-to-sleep is
supposed to double each time through the loop, but struct timeval delay
was initialized inside the loop, rather than outside, which meant it
always slept for 1 microsecond.

19 years agoClean up some recently-added debugging messages.
wessels [Tue, 9 May 2006 00:22:03 +0000 (00:22 +0000)] 
Clean up some recently-added debugging messages.

19 years agoA new fix for the bug when FwdState reference count goes to zero
wessels [Mon, 8 May 2006 23:37:34 +0000 (23:37 +0000)] 
A new fix for the bug when FwdState reference count goes to zero
during a re-forward attempt.

19 years agoclient_side_reply.h doesn't need to #include forward.h any more.
wessels [Mon, 8 May 2006 23:22:32 +0000 (23:22 +0000)] 
client_side_reply.h doesn't need to #include forward.h any more.

19 years agoBootstrapped
hno [Mon, 8 May 2006 06:10:51 +0000 (06:10 +0000)] 
Bootstrapped

19 years agoBug #767: Problem making Squid 3.0 PRE3 64 bit
serassio [Sun, 7 May 2006 21:18:39 +0000 (21:18 +0000)] 
Bug #767: Problem making Squid 3.0 PRE3 64 bit

Final fix for %llu problem on HP Tru64.

19 years agoBacked out change where clientReplyContext held a FwdState::Pointer.
wessels [Sun, 7 May 2006 21:13:24 +0000 (21:13 +0000)] 
Backed out change where clientReplyContext held a FwdState::Pointer.
That change was to fix problems with re-forwarded reqeusts where
the FwdState refcount would go to zero.  But it also introduced a new
bug where errors would not be sent to clients because the refcount
did NOT go to zero.

19 years agoBootstrapped
serassio [Sun, 7 May 2006 20:06:44 +0000 (20:06 +0000)] 
Bootstrapped

19 years agoForgotten CXXFLAGS for --with-large-files
serassio [Sun, 7 May 2006 20:04:39 +0000 (20:04 +0000)] 
Forgotten CXXFLAGS for --with-large-files

19 years agoBootstrapped
serassio [Sun, 7 May 2006 16:23:28 +0000 (16:23 +0000)] 
Bootstrapped

19 years agoAdded missing size checks from 2.5
serassio [Sun, 7 May 2006 16:20:43 +0000 (16:20 +0000)] 
Added missing size checks from 2.5

19 years ago- Forward ported from 2.5 the updated large file build environment support (bug ...
serassio [Sun, 7 May 2006 16:17:25 +0000 (16:17 +0000)] 
- Forward ported from 2.5 the updated large file build environment support (bug #437)
- Cosmetic cleanup

19 years agoBootstrapped
hno [Sun, 7 May 2006 06:10:47 +0000 (06:10 +0000)] 
Bootstrapped

19 years agoConverted most other httpHeader*() functions to HttpHeader class methods.
wessels [Sun, 7 May 2006 04:38:13 +0000 (04:38 +0000)] 
Converted most other httpHeader*() functions to HttpHeader class methods.

19 years agoConverted most other httpHeader*() functions to HttpHeader class methods.
wessels [Sun, 7 May 2006 04:23:44 +0000 (04:23 +0000)] 
Converted most other httpHeader*() functions to HttpHeader class methods.

19 years agoConverted most other httpHeader*() functions to HttpHeader class methods.
wessels [Sun, 7 May 2006 04:13:18 +0000 (04:13 +0000)] 
Converted most other httpHeader*() functions to HttpHeader class methods.

19 years agoFixed testHttpRequest with --enable-referer-log & --enable-useragent-log and
serassio [Sat, 6 May 2006 18:38:01 +0000 (18:38 +0000)] 
Fixed testHttpRequest with --enable-referer-log & --enable-useragent-log and
when GNUregex is needed.

19 years agoUnbreak compiling on g++3.3
robertc [Sat, 6 May 2006 07:30:45 +0000 (07:30 +0000)] 
Unbreak compiling on g++3.3

19 years agoconverted httpHeaderClean() to HttpHeader::clean()
wessels [Sat, 6 May 2006 05:57:40 +0000 (05:57 +0000)] 
converted httpHeaderClean() to HttpHeader::clean()

19 years agoFix for recent "clientReplyContext keeps a FwdState refcount" patch.
wessels [Sat, 6 May 2006 05:36:40 +0000 (05:36 +0000)] 
Fix for recent "clientReplyContext keeps a FwdState refcount" patch.
I missed the more common case where fwdStart() was called.

19 years agonew feature: squid -k restart
wessels [Sat, 6 May 2006 05:33:21 +0000 (05:33 +0000)] 
new feature: squid -k restart

It allows the built-in parent "watcher" process to automatically
and immediately restart Squid.

-k restart uses SIGTTIN.  It is almost the same as -k shutdown
except that it sets the exit status to 1 (instead of 0).  Since the
exit status is non-zero, the parent (watcher) will start squid again
immediately.

-k restart is not supported on systems that dont have SIGTTIN.

19 years agoTwo bugfixes
wessels [Sat, 6 May 2006 05:12:11 +0000 (05:12 +0000)] 
Two bugfixes

- ftpSendPasv() should only close the data socket, rather than call
  transactionComplete().

- If ICAP service selection fails, we need to call call
  entry->replaceHttpReply() so that the HTTP headers get written
  to the StoreEntry buffer.

19 years agominor bugfix: immediately shutdown interprocess socket to 'pinger'
wessels [Sat, 6 May 2006 03:52:20 +0000 (03:52 +0000)] 
minor bugfix: immediately shutdown interprocess socket to 'pinger'
if send() returns ECONNRESET.

19 years agoFix for : assertion failed: forward.cc:99: "err"
wessels [Sat, 6 May 2006 03:33:56 +0000 (03:33 +0000)] 
Fix for : assertion failed: forward.cc:99: "err"

This assertion was triggered when FwdState tries to re-forward a
request.  The first request fails, but can be retried.  If the first
ServerState gets destroyed before the second ServerState gets
created, the FwdState refcount goes to zero.   The FwdState destructor
has the above assertion because it expects an ErrorState for the
StoreEntry with no content.

This condition can easily happen because the second ServerState
isn't created until the origin server connection is established.
ie:

http.cc(1318) transactionComplete FD -1 this 0x8a430b0
fwdComplete: re-forwarding 504 http://www.example.org/
fwdConnectStart ...
commConnectHandle: ...: COMM_INPROGRESS
httpStateFree: ...
forward.cc(87) FwdState destructor starting
assertion failed: forward.cc:99: "err"

The clientReplyContext class now keeps a refcounted pointer to
FwdState.  This was done so that FwdState refcount doesn't go to
zero during a "reforward" between the time when the initial ServerSide
gets destroyed and before the second attempt ServerSide gets created.

We don't really want to keep FwdState around until the client is
finished.  As an future optimization we can remove the client side
reference around the time when the ENTRY_FWD_HDR_WAIT bit gets
cleared.

19 years agocosmetic: convert two static functions to ConnectStateData class methods.
wessels [Sat, 6 May 2006 03:00:28 +0000 (03:00 +0000)] 
cosmetic: convert two static functions to ConnectStateData class methods.
Also updated function name in one debugging statement.

19 years agobugfix: must reset hdr->mask to 0 after cleaning HttpHeader.
wessels [Sat, 6 May 2006 02:13:04 +0000 (02:13 +0000)] 
bugfix: must reset hdr->mask to 0 after cleaning HttpHeader.

19 years agoBacking out last patch (httpHeaderGetSize()). The problem is elsewhere.
wessels [Sat, 6 May 2006 01:57:32 +0000 (01:57 +0000)] 
Backing out last patch (httpHeaderGetSize()).  The problem is elsewhere.

19 years agoBugfix for assertion in httpHeaderFindEntry(). The caller,
wessels [Sat, 6 May 2006 00:16:26 +0000 (00:16 +0000)] 
Bugfix for assertion in httpHeaderFindEntry().  The caller,
HttpMsg::hdrCacheInit() was assuming that the content length header
is always present in the HTTP reply.

To fix I copied httpHeaderGetSize() from squid-2 code.  For now
this version of httpHeaderGetSize() is basically the same as
httpHeaderGetInt(), except that it checks to see if the header
exists.  If not, it returns -1.

19 years agoForward port patch #1518 - strip NT domain component from usernames.
robertc [Fri, 5 May 2006 18:44:26 +0000 (18:44 +0000)] 
Forward port patch #1518 - strip NT domain component from usernames.

19 years agoBootstrapped
hno [Thu, 4 May 2006 06:10:49 +0000 (06:10 +0000)] 
Bootstrapped

19 years agoRemove dangling ICAP Makefiles.
robertc [Thu, 4 May 2006 04:40:17 +0000 (04:40 +0000)] 
Remove dangling ICAP Makefiles.

19 years agoAdd a StoreEntryStream class for use with store entries (An alternative to Packer...
robertc [Wed, 3 May 2006 20:04:44 +0000 (20:04 +0000)] 
Add a StoreEntryStream class for use with store entries (An alternative to Packer, which uses c++ equivalents to printf. This is part of the work to decouple the squid modules to allow easier tests.

19 years agoBootstrapped
hno [Tue, 2 May 2006 06:21:32 +0000 (06:21 +0000)] 
Bootstrapped

19 years agoAllow the build of ufsdump on Windows
serassio [Sat, 29 Apr 2006 19:57:39 +0000 (19:57 +0000)] 
Allow the build of ufsdump on Windows

19 years agoCleanup of Windows service code.
serassio [Sat, 29 Apr 2006 19:53:16 +0000 (19:53 +0000)] 
Cleanup of Windows service code.

19 years agoFix ufsdump build error on HP Tru64 and MinGW.
serassio [Sat, 29 Apr 2006 19:33:03 +0000 (19:33 +0000)] 
Fix ufsdump build error on HP Tru64 and MinGW.
Tested with gcc 3.4 and 4.0.3.

19 years agoAdded a comment including Robert's explanation for ConfigParser
wessels [Fri, 28 Apr 2006 11:13:20 +0000 (11:13 +0000)] 
Added a comment including Robert's explanation for ConfigParser
class, taken from a squid-dev message.

19 years agoNot sure why there was 'read_func' was cast to int in this
wessels [Fri, 28 Apr 2006 11:08:59 +0000 (11:08 +0000)] 
Not sure why there was 'read_func' was cast to int in this
debugging statement.

19 years agoRobert's patch to correct my LegacyParser abuse.
wessels [Fri, 28 Apr 2006 11:05:43 +0000 (11:05 +0000)] 
Robert's patch to correct my LegacyParser abuse.

19 years agoBootstrapped
hno [Fri, 28 Apr 2006 06:10:49 +0000 (06:10 +0000)] 
Bootstrapped

19 years agoAdded _configs.sed to .cvsignore
wessels [Fri, 28 Apr 2006 03:03:56 +0000 (03:03 +0000)] 
Added _configs.sed to .cvsignore

19 years agoNeed to include wordlist.h for wordlistAdd() when configured with
wessels [Fri, 28 Apr 2006 03:01:44 +0000 (03:01 +0000)] 
Need to include wordlist.h for wordlistAdd() when configured with
--disable-internal-dns.

19 years agoFix compile error with --disable-http-violations
hno [Fri, 28 Apr 2006 02:36:29 +0000 (02:36 +0000)] 
Fix compile error with --disable-http-violations

19 years agoReplacing ClientBody class with BodyReader.
wessels [Fri, 28 Apr 2006 01:27:37 +0000 (01:27 +0000)] 
Replacing ClientBody class with BodyReader.

The old ClientBody code did not allow us to insert ICAP into the
flow of an HTTP request.  Code in http.cc called read functions in
client_side.cc when forwarding a request body.  But with ICAP in
the middle, HTTP needs to get the message body from ICAP, not
client_side.

The new BodyReader is similar to ClientBody.  Now read and abort
functions are pointers, rather than hard-coded in HTTP/FTP modules.

19 years agobugfix: ICAPConfig calls aclParseAccessLine(), which now takes a
wessels [Fri, 28 Apr 2006 01:07:16 +0000 (01:07 +0000)] 
bugfix: ICAPConfig calls aclParseAccessLine(), which now takes a
ConfigParser argument.  Use the LegacyParser from cache_cf.cc, but
we need to make it global instead of static.

19 years agobootstrapped: ufsdump_LDADD needs ${ICAP_LIBS} when configured with
wessels [Fri, 28 Apr 2006 01:04:15 +0000 (01:04 +0000)] 
bootstrapped: ufsdump_LDADD needs ${ICAP_LIBS} when configured with
--enable-icap-client

19 years agoCosmetic: in refreshIsCachable(), change a hard-coded number "200" to
wessels [Thu, 27 Apr 2006 23:26:20 +0000 (23:26 +0000)] 
Cosmetic: in refreshIsCachable(), change a hard-coded number "200" to
its corresponding enum value to clarify that the 'reason' variable is
a stale/fresh reason code, rather than an HTTP status code.

19 years agoDoug Dixon noticed in function handleIMSGiveClientUpdatedOldEntry()
wessels [Thu, 27 Apr 2006 22:54:16 +0000 (22:54 +0000)] 
Doug Dixon noticed in function handleIMSGiveClientUpdatedOldEntry()
that the call to HTTPMSGLOCK is wrapped in an if statement, but the
call to HTTPMSGUNLOCK isn't, and that the unlink_request variable
is set but otherwise unused.  Probably a bug created by me in
revision 1.95, when converting to HTTPMSGUNLOCK macro.

19 years agoBootstrapped
hno [Thu, 27 Apr 2006 06:10:59 +0000 (06:10 +0000)] 
Bootstrapped

19 years agoAdded comment about STORE_TESTS substition
serassio [Wed, 26 Apr 2006 14:56:27 +0000 (14:56 +0000)] 
Added comment about STORE_TESTS substition

19 years agoBootstrapped
hno [Wed, 26 Apr 2006 06:10:48 +0000 (06:10 +0000)] 
Bootstrapped

19 years agoConvert one of the new static ConfigParser methods into a instance method, and setup...
robertc [Tue, 25 Apr 2006 18:00:29 +0000 (18:00 +0000)] 
Convert one of the new static ConfigParser methods into a instance method, and setup a new Legacy instance of ConfigParser for cache_cc to use.

19 years agoUse squid_random & squid_srandom instead of random & srandom.
serassio [Tue, 25 Apr 2006 16:40:29 +0000 (16:40 +0000)] 
Use squid_random & squid_srandom instead of random & srandom.

19 years agoFix store tests on windows
robertc [Tue, 25 Apr 2006 16:39:25 +0000 (16:39 +0000)] 
Fix store tests on windows

19 years agoAlways build ufsdump so as to prevent it bitrotting.
robertc [Tue, 25 Apr 2006 15:21:06 +0000 (15:21 +0000)] 
Always build ufsdump so as to prevent it bitrotting.

19 years agoFix make check with --disable-inline.
robertc [Tue, 25 Apr 2006 13:13:33 +0000 (13:13 +0000)] 
Fix make check with --disable-inline.

19 years agoBootstrapped
hno [Tue, 25 Apr 2006 06:10:46 +0000 (06:10 +0000)] 
Bootstrapped

19 years agoCosmetic: Change 'stale_flags' structure members to type bool. stale_flags
wessels [Tue, 25 Apr 2006 04:30:52 +0000 (04:30 +0000)] 
Cosmetic: Change 'stale_flags' structure members to type bool.  stale_flags
is only used locally by refresh.cc and it is somewhat silly to be
so conservative with memory.

19 years ago@REGEXLIB@ is needed by make check when we compile GNUregex.c.
serassio [Tue, 25 Apr 2006 03:45:24 +0000 (03:45 +0000)] 
@REGEXLIB@ is needed by make check when we compile GNUregex.c.

19 years agoRemoved all /usr/local/include tests from config.test files to avoid false
serassio [Tue, 25 Apr 2006 03:37:28 +0000 (03:37 +0000)] 
Removed all /usr/local/include tests from config.test files to avoid false
positive causing the build to fail.

19 years agoAdded MinGW support in config.test files.
serassio [Tue, 25 Apr 2006 01:01:04 +0000 (01:01 +0000)] 
Added MinGW support in config.test files.

19 years agoBootstrapped
hno [Mon, 24 Apr 2006 06:10:49 +0000 (06:10 +0000)] 
Bootstrapped

19 years agoNew config.test files for:
serassio [Mon, 24 Apr 2006 00:23:59 +0000 (00:23 +0000)] 
New config.test files for:
- NTLM helpers
- Negotiate helpers
- Windows native external and basic native helpers

19 years agoRemoved double inclusion of unistd.h
serassio [Mon, 24 Apr 2006 00:21:56 +0000 (00:21 +0000)] 
Removed double inclusion of unistd.h

19 years agoUpdated .cvsignore file
serassio [Sun, 23 Apr 2006 21:16:57 +0000 (21:16 +0000)] 
Updated .cvsignore file

19 years agoUpdated .cvsignore file
serassio [Sun, 23 Apr 2006 21:03:24 +0000 (21:03 +0000)] 
Updated .cvsignore file

19 years agoFixed missing wordlist.h inclusion.
serassio [Sun, 23 Apr 2006 20:28:06 +0000 (20:28 +0000)] 
Fixed missing wordlist.h inclusion.

19 years agoFixed missing wordlist.h inclusion.
serassio [Sun, 23 Apr 2006 20:14:18 +0000 (20:14 +0000)] 
Fixed missing wordlist.h inclusion.

19 years agoBUGFIX: max_user_ip was broken: initialising to -1 meant that the ACL appeared
robertc [Sun, 23 Apr 2006 17:10:29 +0000 (17:10 +0000)] 
BUGFIX: max_user_ip was broken: initialising to -1 meant that the ACL appeared
        already configured to the parser, and thus it never configured to a
valid value. Fixed with a test case to ensure that a normal ACL line
will parse the -s and the limit values correctly, and a separat test
that the defaults are as expected.

19 years agoOn some Unix OS include may be in /usr/local/include.
serassio [Sun, 23 Apr 2006 15:57:34 +0000 (15:57 +0000)] 
On some Unix OS include may be in /usr/local/include.

19 years agoBootstrapped
serassio [Sun, 23 Apr 2006 15:22:26 +0000 (15:22 +0000)] 
Bootstrapped

19 years agoAllow execution of make check when not all the FS store are selected during
serassio [Sun, 23 Apr 2006 15:18:30 +0000 (15:18 +0000)] 
Allow execution of make check when not all the FS store are selected during
configure.

19 years agoBug #1434: Fails to process long host names
serassio [Sun, 23 Apr 2006 15:02:13 +0000 (15:02 +0000)] 
Bug #1434: Fails to process long host names

Forward port of 2.5 changes.

19 years agoBootstrapped
hno [Sun, 23 Apr 2006 06:10:49 +0000 (06:10 +0000)] 
Bootstrapped

19 years agoFinish previous MemPool conversion
robertc [Sat, 22 Apr 2006 19:53:21 +0000 (19:53 +0000)] 
Finish previous MemPool conversion

19 years agoand more
robertc [Sat, 22 Apr 2006 19:25:35 +0000 (19:25 +0000)] 
and more

19 years agoMore missing files.
robertc [Sat, 22 Apr 2006 19:18:37 +0000 (19:18 +0000)] 
More missing files.

19 years agoAdd missing files.
robertc [Sat, 22 Apr 2006 19:07:36 +0000 (19:07 +0000)] 
Add missing files.

19 years agoUnbreak ESI which was not being built locally.
robertc [Sat, 22 Apr 2006 15:02:44 +0000 (15:02 +0000)] 
Unbreak ESI which was not being built locally.

19 years agoAdd the /usr/include/libxml2 path to CPPFLAGS if its needed to find xml/parser.h...
robertc [Sat, 22 Apr 2006 14:23:14 +0000 (14:23 +0000)] 
Add the /usr/include/libxml2 path to CPPFLAGS if its needed to find xml/parser.h. This is only used as a fallback so it wont prevent users using a custom path in CPPFLAGS (for instance to get a /usr/local installed copy).

19 years agoDead code removal.
robertc [Sat, 22 Apr 2006 12:03:42 +0000 (12:03 +0000)] 
Dead code removal.

19 years agoShrink the all-in-one structs/prototypes/enums again, making dependencies easier...
robertc [Sat, 22 Apr 2006 11:28:24 +0000 (11:28 +0000)] 
Shrink the all-in-one structs/prototypes/enums again, making dependencies easier to understand. Add tests for header-standalone-ness for modified or added headers.

19 years agoUnbreak make dist by supplying ac_create_prefix_config_h.m4 as the cppunit sources...
robertc [Sat, 22 Apr 2006 08:25:03 +0000 (08:25 +0000)] 
Unbreak make dist by supplying ac_create_prefix_config_h.m4 as the cppunit sources have.

19 years agoReset refresh_nocache_hack when resetting the config
hno [Sat, 22 Apr 2006 07:53:52 +0000 (07:53 +0000)] 
Reset refresh_nocache_hack when resetting the config

19 years agoThese pointers should be initialized. Not all compilers initialize them
wessels [Fri, 21 Apr 2006 23:31:49 +0000 (23:31 +0000)] 
These pointers should be initialized.  Not all compilers initialize them
to NULLs automatically.

19 years agoRemove some unused header symbols.
robertc [Fri, 21 Apr 2006 19:57:41 +0000 (19:57 +0000)] 
Remove some unused header symbols.

19 years agoUnbreak unit tests - add stubs for newly intertwined files.
robertc [Tue, 18 Apr 2006 18:46:10 +0000 (18:46 +0000)] 
Unbreak unit tests - add stubs for newly intertwined files.

19 years agoMinor code format tweak.
robertc [Tue, 18 Apr 2006 18:34:22 +0000 (18:34 +0000)] 
Minor code format tweak.

19 years agoSome GCC combinations complain about functions not returning a value in functions...
robertc [Tue, 18 Apr 2006 18:28:40 +0000 (18:28 +0000)] 
Some GCC combinations complain about functions not returning a value in functions that return from switch statements.

19 years agoChange HttpMsg::httpMsgParseError into a virtual function, and then overload that...
robertc [Tue, 18 Apr 2006 18:25:50 +0000 (18:25 +0000)] 
Change HttpMsg::httpMsgParseError into a virtual function, and then overload that in HttpReply rather than HttpMsg knowing about HttpReply.

19 years agoBootstrapped
hno [Tue, 18 Apr 2006 06:10:54 +0000 (06:10 +0000)] 
Bootstrapped

19 years agoAdd foreign to Makefile.am so autoreconf will work.
robertc [Mon, 17 Apr 2006 18:00:35 +0000 (18:00 +0000)] 
Add foreign to Makefile.am so autoreconf will work.

19 years agoremoved obsolete ldap files. These was moved to the ldap helper directory
hno [Mon, 10 Apr 2006 14:44:52 +0000 (14:44 +0000)] 
removed obsolete ldap files. These was moved to the ldap helper directory

19 years agoBug #1459: 504 Gateway Time-out on FTP uploads
serassio [Sun, 9 Apr 2006 18:21:52 +0000 (18:21 +0000)] 
Bug #1459: 504 Gateway Time-out on FTP uploads

Forward port of 2.5 patch.

19 years agoBug# 1486: http_status causes segfault on https
serassio [Sun, 2 Apr 2006 21:00:54 +0000 (21:00 +0000)] 
Bug# 1486: http_status causes segfault on https

ACLHTTPStatus should have:
virtual bool requiresReply() const { return true; }

Patch by Gonzalo Arana.

19 years agoBug #1504: misleading error message message for bad/unresolveable cache_peer name
serassio [Sun, 2 Apr 2006 20:32:35 +0000 (20:32 +0000)] 
Bug #1504: misleading error message message for bad/unresolveable cache_peer name

Forward port of 2.5 changes.