9#ifndef SQUID_SRC_CACHEPEER_H
10#define SQUID_SRC_CACHEPEER_H
191 unsigned int hash = 0;
197 unsigned int hash = 0;
void NoteOutgoingConnectionFailure(CachePeer *const peer)
void NoteOutgoingConnectionSuccess(CachePeer *const peer)
std::ostream & operator<<(std::ostream &, const CachePeer &)
identify the given cache peer in cache.log messages and such
CbcPointer< PeerPoolMgr > mgr
pool manager
struct CachePeer::@21::@27 flags
void noteSuccess()
reacts to a successful establishment of a connection to this cache_peer
Security::FuturePeerContext * securityContext()
NeighborTypeDomainList * typelist
int connection_auth
0 - off, 1 - on, 2 - auto
struct CachePeer::@20 options
int logged_state
so we can print dead/revived msgs
time_t last_connect_probe
Security::PeerOptions secure
security settings for peer connection
time_t connect_timeout_raw
connect_timeout; use connectTimeout() instead!
struct CachePeer::@18 stats
struct CachePeer::@21 mcast
char * domain
Forced domain.
int limit
the limit itself
time_t last_connect_failure
Security::FuturePeerContext tlsContext
double load_factor
normalized weight value
struct CachePeer::@25 standby
optional "cache_peer standby=limit" feature
struct CachePeer::@20::@26 carp_key
PrecomputedCodeContextPointer probeCodeContext
PconnPool * pool
idle connection pool for this peer
bool waitingForClose
a conn must close before we open a standby conn
Security::SessionStatePointer sslSession
u_int index
n-th cache_peer directive, starting with 1
int front_end_https
0 - off, 1 - on, 2 - auto
struct CachePeer::icp_ icp
Security::ContextPointer sslContext
time_t connectTimeout() const
struct CachePeer::@19 htcp
void noteFailure()
reacts to a failed attempt to establish a connection to this cache_peer
void rename(const char *)
(re)configure cache_peer name=value
Ip::Address addresses[10]
int conn_open
current opened connections
bool reprobe
whether to do another TCP probe after current TCP probes
representation of a neighbor_type_domain configuration directive. A POD
Maintains an fixed-size "standby" PconnPool for a single CachePeer.
A combination of PeerOptions and the corresponding Context.
TLS squid.conf settings for a remote server peer.
#define ICP_VERSION_CURRENT
std::shared_ptr< SSL_CTX > ContextPointer
std::unique_ptr< SSL_SESSION, HardFun< void, SSL_SESSION *, &SSL_SESSION_free > > SessionStatePointer