/*
- * $Id: HttpHeaderTools.cc,v 1.6 1998/03/20 18:06:39 rousskov Exp $
+ * $Id: HttpHeaderTools.cc,v 1.7 1998/04/02 05:35:22 rousskov Exp $
*
* DEBUG: section 66 HTTP Header Tools
* AUTHOR: Alex Rousskov
Packer p;
MemBuf mb;
assert(hstr);
- /* disabled for now */
- /* return; */
- /* do not print too much, kludge */
- if (bug_count > 25 && (lrand48() % bug_count) > 3L)
- return;
/* skip start line if any */
if (!strncasecmp(hstr, "HTTP/", 5)) {
const char *p = strchr(hstr, '\n');
/*
- * $Id: client_side.cc,v 1.249 1998/04/02 04:45:04 rousskov Exp $
+ * $Id: client_side.cc,v 1.250 1998/04/02 05:35:21 rousskov Exp $
*
* DEBUG: section 33 Client-side Routines
* AUTHOR: Duane Wessels
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;
}
*(*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 */
*t = '\0';