From: hno <> Date: Thu, 6 Nov 2003 04:32:12 +0000 (+0000) Subject: Bug #820: cachemgr fails in accelerator mode if vhost is not enabled X-Git-Tag: SQUID_3_0_PRE4~1167 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=34399323e77e36f37fa9f5c5d8ddc3562b776bd4;p=thirdparty%2Fsquid.git Bug #820: cachemgr fails in accelerator mode if vhost is not enabled --- diff --git a/src/client_side.cc b/src/client_side.cc index 2ac2d7b505..1fe7001575 100644 --- a/src/client_side.cc +++ b/src/client_side.cc @@ -1,6 +1,6 @@ /* - * $Id: client_side.cc,v 1.666 2003/10/21 12:23:53 robertc Exp $ + * $Id: client_side.cc,v 1.667 2003/11/05 21:32:12 hno Exp $ * * DEBUG: section 33 Client-side Routines * AUTHOR: Duane Wessels @@ -1696,6 +1696,9 @@ prepareAcceleratedURL(ConnStateData::Pointer & conn, clientHttpRequest *http, ch /* BUG: Squid cannot deal with '*' URLs (RFC2616 5.1.2) */ + if (strncasecmp(url, "cache_object://", 15) == 0) + return; /* already in good shape */ + if (*url != '/') { if (conn->port->vhost) return; /* already in good shape */