LOG_TCP_HIT,
LOG_TCP_MISS,
LOG_TCP_REFRESH_UNMODIFIED, // refresh from origin revalidated existing entry
- LOG_TCP_REFRESH_FAIL, // refresh from origin failed
+ LOG_TCP_REFRESH_FAIL_OLD, // refresh from origin failed, stale reply sent
+ LOG_TCP_REFRESH_FAIL_ERR, // refresh from origin failed, error forwarded
LOG_TCP_REFRESH_MODIFIED, // refresh from origin replaced existing entry
LOG_TCP_CLIENT_REFRESH_MISS,
LOG_TCP_IMS_HIT,
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,
FD_FILE,
FD_SOCKET,
FD_PIPE,
+ FD_MSGHDR,
FD_UNKNOWN
};
CC_MAX_AGE,
CC_S_MAXAGE,
CC_MAX_STALE,
+ CC_MIN_FRESH,
CC_ONLY_IF_CACHED,
+ CC_STALE_IF_ERROR,
CC_OTHER,
CC_ENUM_END
} http_hdr_cc_type;
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 */
-#ifdef _SQUID_WIN32_
+#if _SQUID_WINDOWS_
/*
* Supported Windows OS types codes
*/
_WIN_OS_WINLON,
_WIN_OS_WIN7
};
-
-#endif
-
-typedef enum {
- CLF_UNKNOWN,
- CLF_AUTO,
- CLF_CUSTOM,
- CLF_SQUID,
- CLF_COMMON,
-#if ICAP_CLIENT
- CLF_ICAP_SQUID,
#endif
- CLF_NONE
-} customlog_type;
enum {
DISABLE_PMTU_OFF,