so that we can do the same for reply header mangling later on.
/*
- * $Id: HttpHeaderTools.cc,v 1.51 2005/11/04 20:23:18 wessels Exp $
+ * $Id: HttpHeaderTools.cc,v 1.52 2005/11/04 20:27:31 wessels Exp $
*
* DEBUG: section 66 HTTP Header Tools
* AUTHOR: Alex Rousskov
* for optimization during request forwarding.
*/
int
-httpHdrManglersConfigured()
+httpReqHdrManglersConfigured()
{
for (int i = 0; i < HDR_ENUM_END; i++) {
if (NULL != Config.request_header_access[i].access_list)
/*
- * $Id: cache_cf.cc,v 1.484 2005/11/04 20:23:18 wessels Exp $
+ * $Id: cache_cf.cc,v 1.485 2005/11/04 20:27:31 wessels Exp $
*
* DEBUG: section 3 Configuration File Parsing
* AUTHOR: Harvest Derived
if (aclPurgeMethodInUse(Config.accessList.http))
Config2.onoff.enable_purge = 1;
- Config2.onoff.mangle_headers = httpHdrManglersConfigured();
+ Config2.onoff.mangle_request_headers = httpReqHdrManglersConfigured();
if (geteuid() == 0) {
if (NULL != Config.effectiveUser) {
/*
- * $Id: http.cc,v 1.463 2005/11/04 20:23:18 wessels Exp $
+ * $Id: http.cc,v 1.464 2005/11/04 20:27:31 wessels Exp $
*
* DEBUG: section 11 Hypertext Transfer Protocol (HTTP)
* AUTHOR: Harvest Derived
}
/* Now mangle the headers. */
- if (Config2.onoff.mangle_headers)
+ if (Config2.onoff.mangle_request_headers)
httpHdrMangleList(hdr_out, request, ROR_REQUEST);
strConnection.clean();
/*
- * $Id: protos.h,v 1.512 2005/11/04 20:23:18 wessels Exp $
+ * $Id: protos.h,v 1.513 2005/11/04 20:27:31 wessels Exp $
*
*
* SQUID Web Proxy Cache http://www.squid-cache.org/
/* store report about current header usage and other stats */
SQUIDCEXTERN void httpHeaderStoreReport(StoreEntry * e);
SQUIDCEXTERN void httpHdrMangleList(HttpHeader *, HttpRequest *, int req_or_rep);
-SQUIDCEXTERN int httpHdrManglersConfigured();
+SQUIDCEXTERN int httpReqHdrManglersConfigured();
SQUIDCEXTERN void icmpOpen(void);
SQUIDCEXTERN void icmpClose(void);
/*
- * $Id: structs.h,v 1.530 2005/11/04 20:23:18 wessels Exp $
+ * $Id: structs.h,v 1.531 2005/11/04 20:27:31 wessels Exp $
*
*
* SQUID Web Proxy Cache http://www.squid-cache.org/
struct
{
int enable_purge;
- int mangle_headers;
+ int mangle_request_headers;
}
onoff;