]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Further to htcpHandleData problems, there was no case statment
authorwessels <>
Sun, 1 Apr 2001 22:52:31 +0000 (22:52 +0000)
committerwessels <>
Sun, 1 Apr 2001 22:52:31 +0000 (22:52 +0000)
for HTCP_CLR.

src/htcp.cc

index 631e9595db056e5dcc0a89e9da0552bbff2c5574..412f37ed6525e5f9248bca0cc4e888c46c5e554c 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: htcp.cc,v 1.35 2001/04/01 16:33:37 wessels Exp $
+ * $Id: htcp.cc,v 1.36 2001/04/01 16:52:31 wessels Exp $
  *
  * DEBUG: section 31    Hypertext Caching Protocol
  * AUTHOR: Duane Wesssels
@@ -785,6 +785,10 @@ htcpHandleData(char *buf, int sz, struct sockaddr_in *from)
     case HTCP_SET:
        htcpHandleSet(&hdr, buf, sz, from);
        break;
+    case HTCP_CLR:
+       debug(31, 1) ("htcpHandleData: client %s, CLR not supported\n",
+           inet_ntoa(from->sin_addr));
+       break;
     default:
        assert(0);
        break;