#include "Notes.h"
#include "YesNoNone.h"
-#if USE_SSL
+#if USE_OPENSSL
+#if HAVE_OPENSSL_SSL_H
#include <openssl/ssl.h>
+#endif
+
class sslproxy_cert_sign;
class sslproxy_cert_adapt;
#endif
int icp_query_max; /* msec */
int icp_query_min; /* msec */
int mcast_icp_query; /* msec */
-
-#if !USE_DNSHELPER
time_msec_t idns_retransmit;
time_msec_t idns_query;
-#endif
-
} Timeout;
size_t maxRequestHeaderSize;
int64_t maxRequestBodySize;
struct {
AnyP::PortCfg *http;
-#if USE_SSL
+#if USE_OPENSSL
AnyP::PortCfg *https;
#endif
AnyP::PortCfg *ftp;
char *effectiveGroup;
struct {
-#if USE_DNSHELPER
- char *dnsserver;
-#endif
-
wordlist *redirect;
wordlist *store_id;
#if USE_UNLINKD
#endif
char *diskd;
-#if USE_SSL
+#if USE_OPENSSL
char *ssl_password;
#endif
} Program;
-#if USE_DNSHELPER
- HelperChildConfig dnsChildren;
-#endif
HelperChildConfig redirectChildren;
HelperChildConfig storeIdChildren;
int check_hostnames;
int allow_underscore;
int via;
+ int cache_miss_revalidate;
int emailErrData;
int httpd_suppress_version_string;
int global_internal_static;
+ int collapsed_forwarding;
#if FOLLOW_X_FORWARDED_FOR
int acl_uses_indirect_client;
int memory_cache_disk;
int hostStrictVerify;
int client_dst_passthru;
+ int dns_mdns;
} onoff;
int pipeline_max_prefetch;
acl_access *AlwaysDirect;
acl_access *ASlists;
acl_access *noCache;
+ acl_access *sendHit;
+ acl_access *storeMiss;
acl_access *stats_collection;
#if SQUID_SNMP
acl_access *htcp_clr;
#endif
-#if USE_SSL
+#if USE_OPENSSL
acl_access *ssl_bump;
#endif
#if FOLLOW_X_FORWARDED_FOR
/// spoof_client_ip squid.conf acl.
/// nil unless configured
acl_access* spoof_client_ip;
+
+ acl_access *ftp_epsv;
} accessList;
AclDenyInfoList *denyInfoList;
int rebuild_chunk_percentage;
} digest;
#endif
-#if USE_SSL
+#if USE_OPENSSL
struct {
int unclean_shutdown;
char *ssl_engine;
+ int session_ttl;
+ size_t sessionCacheSize;
} SSL;
#endif
time_t minimum_expiry_time; /* seconds */
external_acl *externalAclHelperList;
-#if USE_SSL
+#if USE_OPENSSL
struct {
char *cert;
int client_ip_max_connections;
+ char *redirector_extras;
+
+ char *storeId_extras;
+
struct {
int v4_first; ///< Place IPv4 first in the order of DNS results.
ssize_t packet_max; ///< maximum size EDNS advertised for DNS replies.