#
-# $Id: cf.data.pre,v 1.276 2002/08/21 09:12:44 hno Exp $
+# $Id: cf.data.pre,v 1.277 2002/08/24 01:54:34 hno Exp $
#
#
# SQUID Web Proxy Cache http://www.squid-cache.org/
connection then turn this off.
DOC_END
+NAME: check_hostnames
+TYPE: onoff
+DEFAULT: on
+LOC: Config.onoff.check_hostnames
+DOC_START
+ For security and stability reasons Squid by default checks
+ hostnames for Internet standard RFC compliance. If you do not want
+ Squid to perform these checks then turn this directive off.
+DOC_END
+
NAME: cache_dns_program
TYPE: string
IFDEF: USE_DNSSERVERS
DEFAULT: off
DOC_START
To boost the performance of pipelined requests to closer
- match that of a non-proxied environment Squid tries to fetch
+ match that of a non-proxied environment Squid can try to fetch
up to two requests in parallell from a pipeline.
- Note: This is known to be broken in Squid-DEVEL due to changes
- in the internal store_client_copy() interface. Do not enable
- for now.
+ Defaults to off for bandwidth management and access logging
+ reasons.
DOC_END
NAME: extension_methods
/*
- * $Id: structs.h,v 1.423 2002/08/09 10:57:43 robertc Exp $
+ * $Id: structs.h,v 1.424 2002/08/24 01:54:34 hno Exp $
*
*
* SQUID Web Proxy Cache http://www.squid-cache.org/
int ie_refresh;
int vary_ignore_expire;
int pipeline_prefetch;
+ int check_hostnames;
} onoff;
acl *aclList;
struct {
/*
- * $Id: url.cc,v 1.135 2002/08/19 22:47:54 hno Exp $
+ * $Id: url.cc,v 1.136 2002/08/24 01:54:34 hno Exp $
*
* DEBUG: section 23 URL Parsing
* AUTHOR: Duane Wessels
*q = '\0';
}
}
- if (strspn(host, valid_hostname_chars) != strlen(host)) {
+ if (Config.onoff.check_hostnames && strspn(host, valid_hostname_chars) != strlen(host)) {
debug(23, 1) ("urlParse: Illegal character in hostname '%s'\n", host);
return NULL;
}