Connection.cc
Go to the documentation of this file.
148 const time_t lifeTimeLeft = lifeTime() < Config.Timeout.pconnLifetime ? Config.Timeout.pconnLifetime - lifeTime() : 1;
Definition: CachePeer.h:28
Definition: Connection.h:72
Definition: InstanceId.h:18
std::ostream & operator<<(std::ostream &, const Connection &)
Definition: Connection.cc:192
time_t connectTimeout(const time_t fwdStart) const
Definition: Connection.cc:161
ConnectionPointer cloneProfile() const
Create a new closed Connection with the same configuration as this one.
Definition: Connection.cc:62
time_t timeLeft(const time_t idleTimeout) const
Definition: Connection.cc:143
void peerConnClosed(CachePeer *p)
Notifies peer of an associated connection closure.
Definition: neighbors.cc:241
ScopedId codeContextGist() const override
Definition: Connection.cc:181
static time_t ForwardTimeout(const time_t fwdStart)
time left to finish the whole forwarding process (which started at fwdStart)
Definition: FwdState.cc:423
struct CachePeer::@28::@34 flags
const char * hier_code_str[]
InstanceIdDefinitions(Comm::Connection, "conn", uint64_t)
struct SquidConfig::@84 Timeout
std::ostream & detailCodeContext(std::ostream &os) const override
appends human-friendly context description line(s) to a cache.log record
Definition: Connection.cc:186
Security::NegotiationHistory * tlsNegotiations()
Definition: Connection.cc:153
#define COMM_ORPHANED
not registered with Comm and not owned by any connection-closing code
Definition: Connection.h:54
Introduction
- About Squid
- Why Squid?
- Squid Developers
- How to Donate
- How to Help Out
- Getting Squid
- Squid Source Packages
- Squid Deployment Case-Studies
- Squid Software Foundation
Documentation
- Quick Setup
- Configuration:
- FAQ and Wiki
- Guide Books:
- Non-English
- More...
Support
- Security Advisories
- Bugzilla Database
- Mailing lists
- Contacting us
- Commercial services
- Project Sponsors
- Squid-based products