]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Bug #820: cachemgr fails in accelerator mode if vhost is not enabled
authorhno <>
Thu, 6 Nov 2003 04:32:12 +0000 (04:32 +0000)
committerhno <>
Thu, 6 Nov 2003 04:32:12 +0000 (04:32 +0000)
src/client_side.cc

index 2ac2d7b50567d638101bd2fddeadb19745086c1d..1fe7001575fdc5c578b8647e9c06d578784cf0ef 100644 (file)
@@ -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 */