SquidConfig.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 1996-2025 The Squid Software Foundation and contributors
3  *
4  * Squid software is distributed under GPLv2+ license and includes
5  * contributions from numerous individuals and organizations.
6  * Please see the COPYING and CONTRIBUTORS files for details.
7  */
8 
9 #ifndef SQUID_SRC_SQUIDCONFIG_H
10 #define SQUID_SRC_SQUIDCONFIG_H
11 
12 #include "acl/forward.h"
13 #include "base/RefCount.h"
14 #include "base/YesNoNone.h"
15 #if USE_DELAY_POOLS
16 #include "ClientDelayConfig.h"
17 #include "DelayConfig.h"
18 #endif
19 #include "helper/ChildConfig.h"
20 #include "HttpHeaderTools.h"
21 #include "ip/Address.h"
22 #if USE_DELAY_POOLS
23 #include "MessageDelayPools.h"
24 #endif
25 #include "Notes.h"
26 #include "security/Context.h"
27 #include "security/forward.h"
28 #if USE_OPENSSL
29 #include "ssl/support.h"
30 #endif
31 #include "store/Disk.h"
32 #include "store/forward.h"
33 #include "time/gadgets.h"
34 
35 #include <chrono>
36 
37 #if USE_OPENSSL
38 class sslproxy_cert_sign;
40 #endif
41 
42 namespace Mgr
43 {
44 class ActionPasswordList;
45 } // namespace Mgr
46 
47 class CachePeers;
48 class CustomLog;
49 class CpuAffinityMap;
50 class DebugMessages;
51 class external_acl;
52 class HeaderManglers;
53 class RefreshPattern;
56 
57 namespace AnyP
58 {
59 class PortCfg;
60 }
61 
62 namespace Store {
63 class DiskConfig {
64 public:
65  DiskConfig() { assert(swapDirs == nullptr); }
66  ~DiskConfig() { delete[] swapDirs; }
67 
69  size_t n_allocated = 0;
70  size_t n_configured = 0;
72  int n_strands = 0;
73 };
74 #define INDEXSD(i) (Config.cacheSwap.swapDirs[i].getRaw())
75 }
76 
79 {
80 public:
81  struct {
82  /* These should be for the Store::Root instance.
83  * this needs pluggable parsing to be done smoothly.
84  */
87  } Swap;
88 
91  size_t memMaxSize;
92 
93  struct {
94  int64_t min;
95  int pct;
96  int64_t max;
97  } quickAbort;
98  int64_t readAheadGap;
101 #if USE_HTTP_VIOLATIONS
102  time_t negativeTtl;
103 #endif
104  time_t maxStale;
110 
111  struct {
112  time_t read;
113  time_t write;
114  time_t lifetime;
115  time_t connect;
116  time_t forward;
117  time_t peer_connect;
118  time_t request;
122  time_t pconnLifetime;
123  time_t siteSelect;
124  time_t deadPeer;
126  int icp_query; /* msec */
127  int icp_query_max; /* msec */
128  int icp_query_min; /* msec */
129  int mcast_icp_query; /* msec */
132  time_t urlRewrite;
133  } Timeout;
139 
140  struct {
141  unsigned short icp;
142 #if USE_HTCP
143 
144  unsigned short htcp;
145 #endif
146 #if SQUID_SNMP
147 
148  unsigned short snmp;
149 #endif
150  } Port;
151 
152 #if SQUID_SNMP
153 
154  struct {
155  char *configFile;
156  char *agentInfo;
157  } Snmp;
158 #endif
159 #if USE_WCCP
160 
161  struct {
164  int version;
165  } Wccp;
166 #endif
167 #if USE_WCCPv2
168 
169  struct {
175  int weight;
177  void *info;
178  } Wccp2;
179 #endif
180 
182 
183  struct {
184  char *store;
185  char *swap;
187 #if ICAP_CLIENT
189 #endif
192  } Log;
193  char *adminEmail;
194  char *EmailFrom;
199 
200  struct {
203 #if USE_UNLINKD
204 
205  char *unlinkd;
206 #endif
207 
208  char *diskd;
209 #if USE_OPENSSL
210 
212 #endif
213 
214  } Program;
215 
218 
219  struct {
221  } Accel;
224  char *pidFilename;
231  char *errHtmlText;
232 
233  struct {
234 
237 #if SQUID_SNMP
240 #endif
241  // TODO: this should really be a CIDR value
243  } Addrs;
244  size_t tcpRcvBufsz;
248  int npeers;
249 
250  struct {
251  int size;
252  int low;
253  int high;
254  } ipcache;
255 
256  struct {
257  int size;
258  } fqdncache;
262 
263  struct {
265  int64_t avgObjectSize;
266  int64_t maxObjectSize;
267  int64_t minObjectSize;
269  } Store;
270 
271  struct {
272  int high;
273  int low;
274  time_t period;
275  } Netdb;
276 
277  struct {
278  int log_udp;
291 #if USE_HTTP_VIOLATIONS
292 
294 #endif
295 
296  int offline;
307 #if USE_CACHE_DIGESTS
308 
310 #endif
311 
318  int via;
324 
325 #if FOLLOW_X_FORWARDED_FOR
329 #if LINUX_NETFILTER
331 #endif
332 #endif /* FOLLOW_X_FORWARDED_FOR */
333 
339  int dns_mdns;
340 #if USE_OPENSSL
342 #endif
343  } onoff;
344 
346 
348 
349  // these values are actually unsigned
350  // TODO: extend the parser to support more nuanced types
353 
354  std::chrono::nanoseconds paranoid_hit_validation;
355 
357 
358  struct {
370 #if SQUID_SNMP
371 
373 #endif
374 #if USE_HTTP_VIOLATIONS
376 #endif
381 #if USE_HTCP
382 
385 #endif
386 
387 #if USE_OPENSSL
389 #endif
390 #if FOLLOW_X_FORWARDED_FOR
392 #endif /* FOLLOW_X_FORWARDED_FOR */
393 
396 
401 
403 
407  } accessList;
409 
410  struct {
411  size_t list_width;
413  char *anon_user;
414  int passive;
415  int epsv_all;
416  int epsv;
417  int eprt;
419  int telnet;
420  } Ftp;
422 
424 
425  struct {
426  char *directory;
428  } icons;
430 #if USE_ERR_LOCALES
433 #endif
435 
436  struct {
437  int onerror;
438  } retry;
439 
440  struct {
441  int64_t limit;
442  } MemPools;
443 #if USE_DELAY_POOLS
444 
448 #endif
449 
450  struct CommIncoming {
451  struct Measure {
452  int average;
453  int min_poll;
454  } dns, udp, tcp;
455  } comm_incoming;
459 
473  char *chroot_dir;
474 #if USE_CACHE_DIGESTS
475 
476  struct {
482  } digest;
483 #endif
484 #if USE_OPENSSL
485 
486  struct {
488  char *ssl_engine;
492  } SSL;
493 #endif
494 
495  struct {
497  int high_pf;
498  size_t high_memory;
499  } warnings;
501  int sleep_after_fork; /* microseconds */
502  time_t minimum_expiry_time; /* seconds */
504 
505  struct {
507  // TODO: Remove when FuturePeerContext above becomes PeerContext
510 #if USE_OPENSSL
515 #endif
516  } ssl_client;
517 
519  int umask;
521  int workers;
523 
524 #if USE_LOADABLE_MODULES
526 #endif
527 
529 
531 
533  int action;
534  char *response;
536 
538 
539  struct {
541  int v4_first;
542  ssize_t packet_max;
543  } dns;
544 
545  struct {
549  } happyEyeballs;
550 };
551 
552 extern SquidConfig Config;
553 
555 {
556 public:
557  void clear() {
558  *this = SquidConfig2();
559  }
560 
561  struct {
562  int enable_purge = 0;
563  } onoff;
564  uid_t effectiveUserID = 0;
565  gid_t effectiveGroupID = 0;
566 };
567 
568 extern SquidConfig2 Config2;
569 
570 #endif /* SQUID_SRC_SQUIDCONFIG_H */
571 
char * errorDirectory
Definition: SquidConfig.h:429
HeaderWithAclList * reply_header_add
reply_header_add access list
Definition: SquidConfig.h:467
time_t period
Definition: SquidConfig.h:274
int half_closed_clients
Definition: SquidConfig.h:289
SBufList hostnameAliases
Definition: SquidConfig.h:230
HeaderWithAclList * request_header_add
request_header_add access list
Definition: SquidConfig.h:465
int v4_first
Place IPv4 first in the order of DNS results.
Definition: SquidConfig.h:541
int relaxed_header_parser
Definition: SquidConfig.h:315
int sleep_after_fork
Definition: SquidConfig.h:501
int icp_query_max
Definition: SquidConfig.h:127
char * netdbFilename
Definition: SquidConfig.h:225
int64_t minObjectSize
Definition: SquidConfig.h:267
CustomLog * icaplogs
Definition: SquidConfig.h:188
time_t maxStale
Definition: SquidConfig.h:104
Acl::Address * outgoing_address
Definition: SquidConfig.h:380
time_t connect
Definition: SquidConfig.h:115
char * diskd
Definition: SquidConfig.h:208
std::shared_ptr< SSL_CTX > ContextPointer
Definition: Context.h:29
char * unlinkd
Definition: SquidConfig.h:205
Ip::Address udp_incoming
Definition: SquidConfig.h:235
AclSizeLimit * ReplyBodySize
Definition: SquidConfig.h:138
char * accept_filter
Definition: SquidConfig.h:518
struct SquidConfig::@85 Port
struct SquidConfig::@98 accessList
time_t serverIdlePconn
Definition: SquidConfig.h:120
int nonhierarchical_direct
Definition: SquidConfig.h:299
int check_hostnames
Definition: SquidConfig.h:316
time_t clientIdlePconn
Definition: SquidConfig.h:119
int memory_cache_first
Definition: SquidConfig.h:335
int icp_query_min
Definition: SquidConfig.h:128
acl_access * on_unsupported_protocol
Definition: SquidConfig.h:400
acl_access * collapsedForwardingAccess
Definition: SquidConfig.h:406
time_t rewrite_period
Definition: SquidConfig.h:479
int64_t maxRequestBodySize
Definition: SquidConfig.h:135
representation of a class of Size-limit ACLs
Definition: AclSizeLimit.h:16
int log_mime_hdrs
Definition: SquidConfig.h:286
size_t memMaxSize
Definition: SquidConfig.h:91
int WIN32_IpAddrChangeMonitor
Definition: SquidConfig.h:334
std::list< HeaderWithAcl > HeaderWithAclList
unsigned short icp
Definition: SquidConfig.h:141
time_t rebuild_period
Definition: SquidConfig.h:478
acl_access * cert_error
Definition: SquidConfig.h:512
AclSizeLimit * rangeOffsetLimit
Definition: SquidConfig.h:458
acl_access * noCache
Definition: SquidConfig.h:366
std::list< SBuf > SBufList
Definition: forward.h:22
struct SquidConfig::@96 Netdb
char * coredump_dir
Definition: SquidConfig.h:472
acl_access * adapted_http
Definition: SquidConfig.h:360
acl_access * htcp
Definition: SquidConfig.h:383
int hostStrictVerify
Definition: SquidConfig.h:337
char * visible_appname_string
Definition: SquidConfig.h:197
struct SquidConfig::CommIncoming comm_incoming
struct SquidConfig::@90 Program
Helper::ChildConfig storeIdChildren
Definition: SquidConfig.h:217
Security::FuturePeerContext * defaultPeerContext
Definition: SquidConfig.h:506
void clear()
Definition: SquidConfig.h:557
struct SquidConfig::@94 fqdncache
size_t udpMaxHitObjsz
Definition: SquidConfig.h:245
int tproxy_uses_indirect_client
Definition: SquidConfig.h:330
RemovalPolicySettings * replPolicy
Definition: SquidConfig.h:99
acl_access * miss
Definition: SquidConfig.h:362
size_t maxReplyHeaderSize
Definition: SquidConfig.h:137
int64_t shared_transient_entries_limit
Definition: SquidConfig.h:345
int64_t max
Definition: SquidConfig.h:96
Ip::Address client_netmask
Definition: SquidConfig.h:242
stores cpu_affinity_map configuration
int objectsPerBucket
Definition: SquidConfig.h:264
int assignment_method
Definition: SquidConfig.h:174
char * redirector_extras
Definition: SquidConfig.h:530
CustomLog * accesslogs
Definition: SquidConfig.h:186
acl_access * AlwaysDirect
Definition: SquidConfig.h:364
a representation of a refresh pattern.
int test_reachability
Definition: SquidConfig.h:288
struct SquidConfig::@97 onoff
time_t shutdownLifetime
Definition: SquidConfig.h:107
time_t request_start_timeout
Definition: SquidConfig.h:125
int detect_broken_server_pconns
Definition: SquidConfig.h:314
size_t sessionCacheSize
Definition: SquidConfig.h:490
char * EmailProgram
Definition: SquidConfig.h:195
char * errorDefaultLanguage
Definition: SquidConfig.h:431
int global_internal_static
Definition: SquidConfig.h:322
char * storeId_extras
Definition: SquidConfig.h:537
acl_access * snmp
Definition: SquidConfig.h:372
SBufList loadable_module_names
Definition: SquidConfig.h:525
struct SquidConfig::@83 quickAbort
char * errHtmlText
Definition: SquidConfig.h:231
Store::DiskConfig cacheSwap
Definition: SquidConfig.h:423
struct SquidConfig::CommIncoming::Measure udp
int rotateNumber
Definition: SquidConfig.h:191
A combination of PeerOptions and the corresponding Context.
Definition: PeerOptions.h:154
int surrogate_is_remote
Definition: SquidConfig.h:313
std::chrono::nanoseconds paranoid_hit_validation
Definition: SquidConfig.h:354
char * certSignHash
Definition: SquidConfig.h:491
Notes notes
note
Definition: SquidConfig.h:471
acl_access * serverPconnForNonretriable
Definition: SquidConfig.h:405
acl_access * htcp_clr
Definition: SquidConfig.h:384
char * configFile
Definition: SquidConfig.h:155
int errorLogMissingLanguages
Definition: SquidConfig.h:432
struct SquidConfig::@102 MemPools
AclDenyInfoList * denyInfoList
Definition: SquidConfig.h:408
struct SquidConfig::@82 Swap
int highWaterMark
Definition: SquidConfig.h:85
parsed "acl aclname ..." directives indexed by aclname
Definition: Acl.cc:36
struct SquidConfig::@106 ssl_client
acl_access * stats_collection
Definition: SquidConfig.h:369
time_t hopelessKidRevivalDelay
hopeless_kid_revival_delay
Definition: SquidConfig.h:109
list of address-based ACLs.
Definition: Address.h:20
represents configuration for response delay pools
int acl_uses_indirect_client
Definition: SquidConfig.h:326
RefreshPattern * Refresh
Definition: SquidConfig.h:421
char * ssl_engine
Definition: SquidConfig.h:488
int connect_retries
Definition: SquidConfig.h:352
acl_access * proxyProtocol
acceptable PROXY protocol clients
Definition: SquidConfig.h:395
char * store_dir_select_algorithm
Definition: SquidConfig.h:500
struct SquidConfig::@86 Snmp
int memory_cache_disk
Definition: SquidConfig.h:336
acl_access * sendHit
Definition: SquidConfig.h:367
HeaderManglers * reply_header_access
reply_header_access and reply_header_replace
Definition: SquidConfig.h:463
bool logTlsServerHelloDetails
Definition: SquidConfig.h:341
Mgr::ActionPasswordList * passwd_list
Definition: SquidConfig.h:261
int strip_query_terms
Definition: SquidConfig.h:300
size_t tcpRcvBufsz
Definition: SquidConfig.h:244
int forwarding_method
Definition: SquidConfig.h:172
uid_t effectiveUserID
Definition: SquidConfig.h:564
char * swap
Definition: SquidConfig.h:185
RemovalPolicySettings * memPolicy
Definition: SquidConfig.h:100
Definition: Notes.h:112
Ip::Address router
Definition: SquidConfig.h:162
time_t read
Definition: SquidConfig.h:112
time_t deadPeer
Definition: SquidConfig.h:124
int buffered_logs
Definition: SquidConfig.h:284
CpuAffinityMap * cpuAffinityMap
Definition: SquidConfig.h:522
struct SquidConfig::@87 Wccp
sslproxy_cert_adapt * cert_adapt
Definition: SquidConfig.h:514
time_t siteSelect
Definition: SquidConfig.h:123
Definition: forward.h:14
wordlist * store_id
Definition: SquidConfig.h:202
int bits_per_entry
Definition: SquidConfig.h:477
char * uniqueHostname
Definition: SquidConfig.h:229
acl_access * http
Definition: SquidConfig.h:359
char * agentInfo
Definition: SquidConfig.h:156
size_t list_width
Definition: SquidConfig.h:411
struct SquidConfig::UrlHelperTimeout onUrlRewriteTimeout
int connect_timeout
Definition: SquidConfig.h:548
int max_open_disk_fds
Definition: SquidConfig.h:456
struct SquidConfig::CommIncoming::Measure dns
DelayConfig Delay
Definition: SquidConfig.h:445
acl_access * icp
Definition: SquidConfig.h:361
Ip::Address_list * router
Definition: SquidConfig.h:170
int collapsed_forwarding
Definition: SquidConfig.h:323
external_acl * externalAclHelperList
Definition: SquidConfig.h:503
int error_pconns
Definition: SquidConfig.h:306
A collection of headerMangler objects for a given message kind.
int n_strands
number of disk processes required to support all cache_dirs
Definition: SquidConfig.h:72
SquidConfig Config
Definition: SquidConfig.cc:12
char * chroot_dir
Definition: SquidConfig.h:473
MessageDelayConfig MessageDelay
Definition: SquidConfig.h:447
acl_access * ssl_bump
Definition: SquidConfig.h:388
int minDirectHops
Definition: SquidConfig.h:259
Ip::Address udp_outgoing
Definition: SquidConfig.h:236
time_t peer_connect
Definition: SquidConfig.h:117
char * adminEmail
Definition: SquidConfig.h:193
time_t backgroundPingRate
Definition: SquidConfig.h:108
int redirector_bypass
Definition: SquidConfig.h:301
acl_access * store_id
Definition: SquidConfig.h:378
int vary_ignore_expire
Definition: SquidConfig.h:312
acl_access * spoof_client_ip
Definition: SquidConfig.h:399
struct SquidConfig::@105 warnings
time_t positiveDnsTtl
Definition: SquidConfig.h:106
int emailErrData
Definition: SquidConfig.h:320
int res_defnames
Definition: SquidConfig.h:279
acl_access * ASlists
Definition: SquidConfig.h:365
int client_dst_passthru
Definition: SquidConfig.h:338
struct SquidConfig::@95 Store
unsigned short snmp
Definition: SquidConfig.h:148
char * etcHostsPath
Definition: SquidConfig.h:227
CachePeers * peers
Definition: SquidConfig.h:247
int use_short_names
Definition: SquidConfig.h:427
HttpUpgradeProtocolAccess * http_upgrade_request_protocols
http_upgrade_request_protocols
Definition: SquidConfig.h:469
#define assert(EX)
Definition: assert.h:17
YesNoNone memShared
whether the memory cache is shared among workers
Definition: SquidConfig.h:89
int store_id_bypass
Definition: SquidConfig.h:302
size_t high_memory
Definition: SquidConfig.h:498
int httpd_suppress_version_string
Definition: SquidConfig.h:321
time_t negativeDnsTtl
Definition: SquidConfig.h:105
char * EmailFrom
Definition: SquidConfig.h:194
int unclean_shutdown
Definition: SquidConfig.h:487
acl_access * brokenPosts
Definition: SquidConfig.h:375
char * as_whois_server
Definition: SquidConfig.h:181
int refresh_all_ims
Definition: SquidConfig.h:290
char * effectiveGroup
Definition: SquidConfig.h:198
int connect_limit
Definition: SquidConfig.h:546
int prefer_direct
Definition: SquidConfig.h:298
int64_t limit
Definition: SquidConfig.h:441
int return_method
Definition: SquidConfig.h:173
size_t maxRequestHeaderSize
Definition: SquidConfig.h:134
size_t maxInMemObjSize
Definition: SquidConfig.h:268
char * effectiveUser
Definition: SquidConfig.h:196
struct SquidConfig::@99 Ftp
the representation of the configuration. POD.
Definition: SquidConfig.h:78
char * anon_user
Definition: SquidConfig.h:413
int client_pconns
Definition: SquidConfig.h:304
struct SquidConfig::@107 dns
Security::ContextPointer * sslContext_
Definition: SquidConfig.h:509
int allow_underscore
Definition: SquidConfig.h:317
time_t pconnLifetime
pconn_lifetime in squid.conf
Definition: SquidConfig.h:122
int lowWaterMark
Definition: SquidConfig.h:86
void * info
Definition: SquidConfig.h:177
struct SquidConfig::@91 Accel
struct SquidConfig::@88 Wccp2
a collection of DebugMessage objects (with fast access by message IDs)
Definition: Messages.h:67
Ip::Address snmp_outgoing
Definition: SquidConfig.h:239
char * mimeTablePathname
Definition: SquidConfig.h:226
struct SquidConfig::@101 retry
struct SquidConfig::CommIncoming::Measure tcp
YesNoNone shmLocking
shared_memory_locking
Definition: SquidConfig.h:90
acl_access * forceRequestBodyContinuation
Definition: SquidConfig.h:404
acl_access * reply
Definition: SquidConfig.h:379
char * pidFilename
Definition: SquidConfig.h:224
time_t request
Definition: SquidConfig.h:118
int log_uses_indirect_client
Definition: SquidConfig.h:328
time_msec_t idns_retransmit
Definition: SquidConfig.h:130
time_t urlRewrite
Definition: SquidConfig.h:132
cache_peer configuration storage
Definition: CachePeers.h:20
char * foreignIntermediateCertsPath
Definition: SquidConfig.h:511
int cache_miss_revalidate
Definition: SquidConfig.h:319
wordlist * redirect
Definition: SquidConfig.h:201
int server_pconns
Definition: SquidConfig.h:305
wordlist * mcast_group_list
Definition: SquidConfig.h:246
int pipeline_max_prefetch
Definition: SquidConfig.h:347
struct SquidConfig::@89 Log
SBufList nameservers
Definition: SquidConfig.h:540
struct SquidConfig::@84 Timeout
Ip::Address address
Definition: SquidConfig.h:163
int reload_into_ims
Definition: SquidConfig.h:293
time_t write
Definition: SquidConfig.h:113
list of cachemgr password authorization definitions. Currently a POD.
Acl::NamedAcls * namedAcls
acl aclname acltype ...
Definition: SquidConfig.h:356
int mcast_icp_query
Definition: SquidConfig.h:129
char * errorStylesheet
Definition: SquidConfig.h:434
acl_access * ftp_epsv
Definition: SquidConfig.h:402
Ip::Address snmp_incoming
Definition: SquidConfig.h:238
int redir_rewrites_host
Definition: SquidConfig.h:297
char * ssl_password
Definition: SquidConfig.h:211
Allows or blocks HTTP Upgrade protocols (see http_upgrade_request_protocols)
acl_access * storeMiss
Definition: SquidConfig.h:368
a single tls_key_log directive configuration and logging handler
Definition: KeyLog.h:19
int client_ip_max_connections
Definition: SquidConfig.h:528
int digest_generation
Definition: SquidConfig.h:309
char * surrogate_id
Definition: SquidConfig.h:220
Helper::ChildConfig redirectChildren
Definition: SquidConfig.h:216
int64_t maxObjectSize
Definition: SquidConfig.h:266
time_t minimum_expiry_time
Definition: SquidConfig.h:502
int64_t min
Definition: SquidConfig.h:94
acl_access * redirector
Definition: SquidConfig.h:377
int64_t avgObjectSize
Definition: SquidConfig.h:265
char * visibleHostname
Definition: SquidConfig.h:228
struct SquidConfig::@100 icons
int rebuild_chunk_percentage
Definition: SquidConfig.h:481
size_t maxRequestBufferSize
Definition: SquidConfig.h:136
time_t forward
Definition: SquidConfig.h:116
int forward_max_tries
Definition: SquidConfig.h:351
gid_t effectiveGroupID
Definition: SquidConfig.h:565
int64_t readAheadGap
Definition: SquidConfig.h:98
SquidConfig2 Config2
Definition: SquidConfig.cc:14
int max_filedescriptors
Definition: SquidConfig.h:520
char * appendDomain
Definition: SquidConfig.h:222
sslproxy_cert_sign * cert_sign
Definition: SquidConfig.h:513
size_t appendDomainLen
Definition: SquidConfig.h:223
time_msec_t idns_query
Definition: SquidConfig.h:131
acl_access * NeverDirect
Definition: SquidConfig.h:363
int delay_pool_uses_indirect_client
Definition: SquidConfig.h:327
HeaderManglers * request_header_access
request_header_access and request_header_replace
Definition: SquidConfig.h:461
time_t lifetime
Definition: SquidConfig.h:114
struct SquidConfig::@92 Addrs
struct SquidConfig::@103 digest
size_t swapout_chunk_size
Definition: SquidConfig.h:480
acl_access * followXFF
Definition: SquidConfig.h:391
char * store
Definition: SquidConfig.h:184
int uri_whitespace
Definition: SquidConfig.h:457
int ignore_unknown_nameservers
Definition: SquidConfig.h:303
uint64_t time_msec_t
Definition: gadgets.h:16
struct SquidConfig::@108 happyEyeballs
struct SquidConfig2::@109 onoff
Security::KeyLog * tlsKeys
one optional tls_key_log
Definition: SquidConfig.h:190
deny_info representation. Currently a POD.
struct SquidConfig::@93 ipcache
struct SquidConfig::@104 SSL
int minDirectRtt
Definition: SquidConfig.h:260
unsigned short htcp
Definition: SquidConfig.h:144
time_t negativeTtl
Definition: SquidConfig.h:102
char * directory
Definition: SquidConfig.h:426
ssize_t packet_max
maximum size EDNS advertised for DNS replies.
Definition: SquidConfig.h:542
int icp_hit_stale
Definition: SquidConfig.h:283
time_t ftpClientIdle
Definition: SquidConfig.h:121
ClientDelayConfig ClientDelay
Definition: SquidConfig.h:446
Cache Manager API.
Definition: Action.h:20
RefCount< SwapDir > * swapDirs
Definition: SquidConfig.h:68

 

Introduction

Documentation

Support

Miscellaneous