LOG_TCP_DENIED,
LOG_TCP_DENIED_REPLY,
LOG_TCP_OFFLINE_HIT,
-#if LOG_TCP_REDIRECTS
LOG_TCP_REDIRECT,
-#endif
LOG_UDP_HIT,
LOG_UDP_MISS,
LOG_UDP_DENIED,
SC_ENUM_END
} http_hdr_sc_type;
-
typedef enum _mem_status_t {
NOT_IN_MEMORY,
IN_MEMORY
STORE_DISK_CLIENT
} store_client_t;
-typedef enum {
- PROTO_NONE,
- PROTO_HTTP,
- PROTO_FTP,
- PROTO_GOPHER,
- PROTO_WAIS,
- PROTO_CACHEOBJ,
- PROTO_ICP,
-#if USE_HTCP
- PROTO_HTCP,
-#endif
- PROTO_URN,
- PROTO_WHOIS,
- PROTO_INTERNAL,
- PROTO_HTTPS,
- PROTO_ICY,
- PROTO_MAX
-} protocol_t;
-
/*
* These are for StoreEntry->flag, which is defined as a SHORT
*
MEM_CLIENT_INFO,
MEM_LINK_LIST,
MEM_DLINK_NODE,
- MEM_DONTFREE,
MEM_DREAD_CTRL,
MEM_DWRITE_Q,
- MEM_FQDNCACHE_ENTRY,
- MEM_FWD_SERVER,
- MEM_HTTP_HDR_CC,
MEM_HTTP_HDR_CONTENT_RANGE,
- MEM_IPCACHE_ENTRY,
MEM_MD5_DIGEST,
MEM_NETDBENTRY,
MEM_NET_DB_NAME,
MEM_RELIST,
-#if !USE_DNSSERVERS
+ // IMPORTANT: leave this here. pools above are initialized early with memInit()
+ MEM_DONTFREE,
+ // following pools are initialized late by their component if needed (or never)
+ MEM_FQDNCACHE_ENTRY,
+ MEM_FWD_SERVER,
+#if !USE_DNSHELPER
MEM_IDNS_QUERY,
#endif
+ MEM_IPCACHE_ENTRY,
MEM_MAX
} mem_type;
psError
} HttpMsgParseState;
-
enum {
PCTILE_HTTP,
PCTILE_ICP_QUERY,
ROR_REPLY
};
-
/* CygWin & Windows NT Port */
#if _SQUID_WINDOWS_
/*