From: wessels <> Date: Sat, 14 Feb 1998 03:37:10 +0000 (+0000) Subject: add fake request headers for WHOIS requests X-Git-Tag: SQUID_3_0_PRE1~4088 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=02a5f51d22c7f4c8b82b4ecdc6cdb7ff29092704;p=thirdparty%2Fsquid.git add fake request headers for WHOIS requests --- diff --git a/src/asn.cc b/src/asn.cc index 0362f68321..5ccd41c223 100644 --- a/src/asn.cc +++ b/src/asn.cc @@ -1,5 +1,5 @@ /* - * $Id: asn.cc,v 1.20 1998/02/10 22:17:52 wessels Exp $ + * $Id: asn.cc,v 1.21 1998/02/13 20:37:10 wessels Exp $ * * DEBUG: section 53 AS Number handling * AUTHOR: Duane Wessels, Kostas Anagnostakis @@ -186,6 +186,8 @@ asnCacheStart(int as) k = storeKeyPublic(asres, METHOD_GET); asState->as_number = as; asState->request = urlParse(METHOD_GET, asres); + asState->request->headers = xstrdup("\r\n"); + asState->request->headers_sz = strlen(asState->request->headers); if ((e = storeGet(k)) == NULL) { e = storeCreateEntry(asres, asres, 0, METHOD_GET); storeClientListAdd(e, asState);