]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
- Disabled testing of header parser.
authorrousskov <>
Sun, 15 Mar 1998 11:25:27 +0000 (11:25 +0000)
committerrousskov <>
Sun, 15 Mar 1998 11:25:27 +0000 (11:25 +0000)
src/HttpHeaderTools.cc
src/client_side.cc

index 61ddc5301d5cab611e1b5e3d489742db798f31f3..8fea8ce578994fc69785b6e947f32ef0c8dec077 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: HttpHeaderTools.cc,v 1.4 1998/03/12 00:28:53 rousskov Exp $
+ * $Id: HttpHeaderTools.cc,v 1.5 1998/03/15 04:25:28 rousskov Exp $
  *
  * DEBUG: section 66    HTTP Header Tools
  * AUTHOR: Alex Rousskov
@@ -192,6 +192,8 @@ void httpHeaderTestParser(const char *hstr)
     Packer p;
     MemBuf mb;
     assert(hstr);
+    /* disabled for now */
+    return;
     /* do not print too much, kludge */
     if (bug_count > 50 && (lrand48() % bug_count) > 25L)
        return;
index c7c3bdff9c655f617f496f5b55e1a9612f3720fa..bd97e534da876459da38d9f063de24c9a261cacb 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: client_side.cc,v 1.225 1998/03/13 05:39:34 wessels Exp $
+ * $Id: client_side.cc,v 1.226 1998/03/15 04:25:27 rousskov Exp $
  *
  * DEBUG: section 33    Client-side Routines
  * AUTHOR: Duane Wessels
@@ -882,12 +882,6 @@ clientBuildReplyHeader(clientHttpRequest * http,
     debug(33, 3) ("clientBuildReplyHeader: OUTPUT:\n%s\n", hdr_out);
     memFree(MEM_4K_BUF, xbuf);
     memFree(MEM_4K_BUF, ybuf);
-    /* temporary kludge to test headers, remove it @?@ @?@ */
-    {
-       extern void httpHeaderTestParser(const char *hstr);
-       httpHeaderTestParser(hdr_out);
-    }
-    /* end of kludge */
     return len;
 }
 
@@ -1543,12 +1537,6 @@ parseHttpRequest(ConnStateData * conn, method_t * method_p, int *status,
     *(*headers_p + header_sz) = '\0';
 
     debug(33, 5) ("parseHttpRequest: Request Header is\n%s\n", *headers_p);
-    /* temporary kludge to test headers, remove it @?@ @?@ */
-    {
-       extern void httpHeaderTestParser(const char *hstr);
-       httpHeaderTestParser(*headers_p);
-    }
-    /* end of kludge */
 
     /* Assign http->uri */
     if ((t = strchr(url, '\n')))       /* remove NL */