Connection.cc
Go to the documentation of this file.
151 const time_t lifeTimeLeft = lifeTime() < Config.Timeout.pconnLifetime ? Config.Timeout.pconnLifetime - lifeTime() : 1;
194std::ostream &
InstanceIdDefinitions(Comm::Connection, "conn", uint64_t)
#define COMM_ORPHANED
not registered with Comm and not owned by any connection-closing code
Definition: Connection.h:54
Definition: CachePeer.h:31
struct CachePeer::@29::@35 flags
Definition: Connection.h:73
time_t timeLeft(const time_t idleTimeout) const
Definition: Connection.cc:146
std::ostream & detailCodeContext(std::ostream &os) const override
appends human-friendly context description line(s) to a cache.log record
Definition: Connection.cc:189
time_t connectTimeout(const time_t fwdStart) const
Definition: Connection.cc:164
Security::NegotiationHistory * tlsNegotiations()
Definition: Connection.cc:156
ConnectionPointer cloneProfile() const
Create a new closed Connection with the same configuration as this one.
Definition: Connection.cc:64
ScopedId codeContextGist() const override
Definition: Connection.cc:184
static time_t ForwardTimeout(const time_t fwdStart)
time left to finish the whole forwarding process (which started at fwdStart)
Definition: FwdState.cc:428
Definition: InstanceId.h:19
struct SquidConfig::@93 Timeout
const char * hier_code_str[]
std::ostream & operator<<(std::ostream &, const Connection &)
Definition: Connection.cc:195
void peerConnClosed(CachePeer *p)
Notifies peer of an associated connection closure.
Definition: neighbors.cc:246