#include <Connection.h>

Inheritance diagram for Comm::Connection:
Collaboration diagram for Comm::Connection:

Public Types

typedef RefCount< CodeContextPointer
 

Public Member Functions

 Connection ()
 
virtual ~Connection ()
 
ConnectionPointer copyDetails () const
 
void close ()
 
void noteClosure ()
 
bool isOpen () const
 
void setAddrs (const Ip::Address &aLocal, const Ip::Address &aRemote)
 
CachePeergetPeer () const
 
void setPeer (CachePeer *p)
 
time_t startTime () const
 
time_t lifeTime () const
 
time_t timeLeft (const time_t idleTimeout) const
 
time_t connectTimeout (const time_t fwdStart) const
 
void noteStart ()
 
Security::NegotiationHistorytlsNegotiations ()
 
const Security::NegotiationHistoryhasTlsNegotiations () const
 
virtual ScopedId codeContextGist () const override
 
virtual std::ostream & detailCodeContext (std::ostream &os) const override
 appends human-friendly context description line(s) to a cache.log record More...
 

Static Public Member Functions

static const PointerCurrent ()
 
static void Reset ()
 forgets the current context, setting it to nil/unknown More...
 
static void Reset (const Pointer)
 changes the current context; nil argument sets it to nil/unknown More...
 

Public Attributes

Ip::Address local
 
Ip::Address remote
 
hier_code peerType
 
int fd
 
tos_t tos
 
nfmark_t nfmark
 
nfmark_t nfConnmark = 0
 
int flags
 
char rfc931 [USER_IDENT_SZ]
 
Eui::Eui48 remoteEui48
 
Eui::Eui64 remoteEui64
 
InstanceId< Connectionid
 

Private Member Functions

 MEMPROXY_CLASS (Comm::Connection)
 
 Connection (const Connection &c)
 
Connectionoperator= (const Connection &c)
 

Private Attributes

CachePeerpeer_
 
time_t startTime_
 
Security::NegotiationHistorytlsHistory
 

Detailed Description

Store data about the physical and logical attributes of a connection.

Some link state can be infered from the data, however this is not an object for state data. But a semantic equivalent for FD with easily accessible cached properties not requiring repeated complex lookups.

Connection properties may be changed until the connection is opened. Properties should be considered read-only outside of the Comm layer code once the connection is open.

These objects should not be passed around directly, but a Comm::ConnectionPointer should be passed instead.

Definition at line 67 of file Connection.h.

Member Typedef Documentation

◆ Pointer

Definition at line 23 of file CodeContext.h.

Constructor & Destructor Documentation

◆ Connection() [1/2]

Comm::Connection::Connection ( )

Definition at line 31 of file Connection.cc.

References rfc931.

◆ ~Connection()

Comm::Connection::~Connection ( )
virtual

Clear the connection properties and close any open socket.

Definition at line 45 of file Connection.cc.

References cbdataReferenceDone, close(), debugs, fd, lost_conn, peer_, and tlsHistory.

◆ Connection() [2/2]

Comm::Connection::Connection ( const Connection c)
private

These objects may not be exactly duplicated. Use copyDetails() instead.

Member Function Documentation

◆ close()

void Comm::Connection::close ( )

Close any open socket.

Definition at line 81 of file Connection.cc.

References comm_close, fd, isOpen(), and noteClosure().

Referenced by Mgr::StoreToCommWriter::Abort(), Ftp::Server::acceptDataConnection(), Ftp::Server::callException(), ClientHttpRequest::callException(), Ssl::PeekingPeerConnector::checkForPeekAndSpliceMatched(), Snmp::Inquirer::cleanup(), Mgr::Inquirer::cleanup(), clientLifetimeTimeout(), clientNegotiateSSL(), Ftp::Server::clientPinnedConnectionClosed(), ConnStateData::clientPinnedConnectionClosed(), ConnStateData::clientPinnedConnectionRead(), Mgr::StoreToCommWriter::close(), Ftp::Server::closeDataConnection(), IdleConnList::closeN(), HelperServerBase::closePipesSafely(), HttpStateData::closeServer(), HelperServerBase::closeWritePipeSafely(), comm_reset_close(), commHalfClosedReader(), HappyConnOpener::connectDone(), Ftp::Server::connectedForData(), FwdState::connectedToPeer(), Ftp::Client::dataClosed(), Log::TcpLogger::disconnect(), FwdState::dispatch(), Server::doClientRead(), Http::Stream::doClose(), errorSendComplete(), IdleConnList::findAndClose(), Ftp::Gateway::ftpAcceptDataConnection(), ConnStateData::getSslContextDone(), gopherReadReply(), gopherSendComplete(), gopherTimeout(), Http::Tunneler::handleException(), PeerPoolMgr::handleOpenedConnection(), PeerPoolMgr::handleSecuredPeer(), Adaptation::Icap::Xaction::handleSecuredPeer(), helperReturnBuffer(), httpsSslBumpAccessCheckDone(), httpsSslBumpStep2AccessCheckDone(), idnsReadVC(), idnsReadVCHeader(), idnsSentQueryVC(), Ipc::ImportFdIntoComm(), TunnelStateData::keepGoingAfterRead(), ClientHttpRequest::noteBodyProducerAborted(), ConnStateData::parseTlsHandshake(), peerProbeConnectDone(), PconnPool::push(), Adaptation::Icap::ServiceRep::putConnection(), WhoisState::readReply(), ConnStateData::requestTimeout(), ConnStateData::sendControlMsg(), Http::One::Server::setReplyError(), snmpClosePorts(), ClientRequestContext::sslBumpAccessCheckDone(), ClientHttpRequest::sslBumpEstablish(), Security::PeerConnector::sslCrtvdHandleReply(), Security::PeerConnector::sslFinalized(), ConnStateData::startPeekAndSplice(), ConnStateData::stopReceiving(), Server::swanSong(), Mgr::Forwarder::swanSong(), Comm::TcpAcceptor::swanSong(), tunnelClientClosed(), tunnelErrorComplete(), tunnelServerClosed(), whoisTimeout(), TunnelStateData::writeClientDone(), Http::Stream::writeComplete(), TunnelStateData::writeServerDone(), Ipc::UdsSender::wrote(), HttpControlMsgSink::wroteControlMsg(), Ftp::Server::wroteEarlyReply(), Ftp::Server::wroteReply(), ~Connection(), AnyP::PortCfg::~PortCfg(), and Ipc::UdsOp::~UdsOp().

◆ codeContextGist()

ScopedId Comm::Connection::codeContextGist ( ) const
overridevirtual
Returns
a small, permanent ID of the current context gists persist forever and are suitable for passing to other SMP workers

Implements CodeContext.

Definition at line 160 of file Connection.cc.

◆ connectTimeout()

time_t Comm::Connection::connectTimeout ( const time_t  fwdStart) const

Connection establishment timeout for callers that have already decided to connect(2), either for the first time or after checking EnoughTimeToReForward() during any re-forwarding attempts.

Returns
the time left for this connection to become connected
Parameters
fwdStartThe start time of the peer selection/connection process.

Definition at line 140 of file Connection.cc.

References Config, SquidConfig::connect, FwdState::ForwardTimeout(), getPeer(), min(), peerConnectTimeout(), and SquidConfig::Timeout.

Referenced by FwdState::connectingTimeout(), and HappyConnOpener::openFreshConnection().

◆ copyDetails()

Comm::ConnectionPointer Comm::Connection::copyDetails ( ) const

Copy an existing connections IP and properties. This excludes the FD. The new copy will be a closed connection.

Definition at line 59 of file Connection.cc.

References cbdataReference, fd, flags, getPeer(), local, nfConnmark, nfmark, peer_, peerType, remote, setAddrs(), startTime_, and tos.

Referenced by Ident::Start().

◆ Current()

const CodeContext::Pointer & CodeContext::Current ( )
staticinherited
Returns
the known global context or, to indicate unknown context, nil

Definition at line 33 of file CodeContext.cc.

References Instance().

Referenced by CallSubscription< Call_ >::callback(), CallBack(), CallContextCreator(), CurrentCodeContextDetail(), epolltype_atoi(), CodeContext::Reset(), and ScheduleCall().

◆ detailCodeContext()

std::ostream & Comm::Connection::detailCodeContext ( std::ostream &  os) const
overridevirtual

Implements CodeContext.

Definition at line 165 of file Connection.cc.

References Debug::Extra().

◆ getPeer()

◆ hasTlsNegotiations()

const Security::NegotiationHistory* Comm::Connection::hasTlsNegotiations ( ) const
inline

Definition at line 126 of file Connection.h.

Referenced by Format::Format::assemble().

◆ isOpen()

bool Comm::Connection::isOpen ( ) const
inline

determine whether this object describes an active connection or not.

Definition at line 89 of file Connection.h.

Referenced by ClientHttpRequest::ClientHttpRequest(), close(), Adaptation::Icap::Xaction::haveConnection(), ClientHttpRequest::noteAdaptationAclCheckDone(), noteClosure(), and HappyConnOpener::status().

◆ lifeTime()

time_t Comm::Connection::lifeTime ( ) const
inline

The connection lifetime

Definition at line 111 of file Connection.h.

References squid_curtime.

Referenced by timeLeft().

◆ MEMPROXY_CLASS()

Comm::Connection::MEMPROXY_CLASS ( Comm::Connection  )
private

◆ noteClosure()

void Comm::Connection::noteClosure ( )

Synchronize with Comm: Somebody closed our connection.

Definition at line 90 of file Connection.cc.

References fd, getPeer(), isOpen(), p, and peerConnClosed().

Referenced by close().

◆ noteStart()

void Comm::Connection::noteStart ( )
inline

Definition at line 123 of file Connection.h.

References squid_curtime.

Referenced by Comm::ConnOpener::start(), and Comm::TcpAcceptor::start().

◆ operator=()

Connection& Comm::Connection::operator= ( const Connection c)
private

These objects may not be exactly duplicated. Use copyDetails() instead.

◆ Reset() [1/2]

◆ Reset() [2/2]

void CodeContext::Reset ( const Pointer  codeCtx)
staticinherited

◆ setAddrs()

void Comm::Connection::setAddrs ( const Ip::Address aLocal,
const Ip::Address aRemote 
)
inline

Alter the stored IP address pair. WARNING: Does not ensure matching IPv4/IPv6 are supplied.

Definition at line 94 of file Connection.h.

References p.

Referenced by Ftp::Client::connectDataChannel(), copyDetails(), Ftp::Server::createDataConnection(), and idnsInitVC().

◆ setPeer()

void Comm::Connection::setPeer ( CachePeer p)

alter the stored CachePeer pointer. Perform appropriate CBDATA operations for locking the CachePeer pointer

Definition at line 109 of file Connection.cc.

References cbdataReference, cbdataReferenceDone, getPeer(), and peer_.

Referenced by PeerSelector::handlePath(), PeerPoolMgr::openNewConnection(), and peerProbeConnect().

◆ startTime()

time_t Comm::Connection::startTime ( ) const
inline

The time the connection started

Definition at line 108 of file Connection.h.

Referenced by PeerPoolMgr::handleOpenedConnection().

◆ timeLeft()

time_t Comm::Connection::timeLeft ( const time_t  idleTimeout) const

The time left for this connection

Definition at line 122 of file Connection.cc.

References Config, lifeTime(), min(), SquidConfig::pconnLifetime, and SquidConfig::Timeout.

Referenced by IdleConnList::push().

◆ tlsNegotiations()

Security::NegotiationHistory * Comm::Connection::tlsNegotiations ( )

Member Data Documentation

◆ fd

int Comm::Connection::fd

Socket used by this connection. Negative if not open.

Definition at line 150 of file Connection.h.

Referenced by Ftp::Client::abortAll(), Ftp::Relay::abortOnData(), Ftp::Server::AcceptCtrlConnection(), Ftp::Server::acceptDataConnection(), Comm::TcpAcceptor::acceptOne(), AddOpenedHttpSocket(), ClientInfo::applyQuota(), Format::Format::assemble(), Adaptation::Icap::Xaction::cancelRead(), Security::PeerConnector::certDownloadingDone(), Security::PeerConnector::checkForMissingCertificates(), Ssl::PeekingPeerConnector::checkForPeekAndSplice(), Ssl::PeekingPeerConnector::checkForPeekAndSpliceMatched(), Snmp::Inquirer::cleanup(), IdleConnList::clearHandlers(), ClientHttpRequest::ClientHttpRequest(), Server::clientWriteDone(), Mgr::StoreToCommWriter::close(), close(), Adaptation::Icap::Xaction::closeConnection(), Ftp::Server::closeDataConnection(), HelperServerBase::closePipesSafely(), HttpStateData::closeServer(), Ftp::Client::closeServer(), HelperServerBase::closeWritePipeSafely(), comm_import_opened(), comm_init_opened(), comm_open_listener(), comm_openex(), comm_poll_udp_incoming(), comm_read_base(), comm_reset_close(), comm_select_udp_incoming(), commHalfClosedCheck(), commHalfClosedReader(), commSetConnTimeout(), Ftp::Gateway::completeForwarding(), Ipc::UdsOp::conn(), Log::TcpLogger::connectDone(), TunnelStateData::connectDone(), Comm::ConnOpener::connected(), Ftp::Server::connectedForData(), copyDetails(), CreateSession(), Ftp::Client::dataRead(), StoreEntry::delayAwareRead(), DeferredReadManager::delayRead(), Log::TcpLogger::disconnect(), FwdState::dispatch(), Server::doClientRead(), Ip::Qos::doNfmarkLocalMiss(), ConnStateData::doPeekAndSpliceStep(), Ip::Qos::doTosLocalMiss(), errorSendComplete(), fdIsUdpListen(), fdIsUdpListener(), Adaptation::Icap::Xaction::fillDoneStatus(), Adaptation::Icap::Xaction::fillPendingStatus(), IdleConnList::findIndexOf(), Comm::IoCallback::finish(), Mgr::Forwarder::Forwarder(), Ftp::Gateway::ftpAcceptDataConnection(), ftpOpenListenSocket(), ConnStateData::getSslContextDone(), ConnStateData::getSslContextStart(), Ip::Qos::getTosFromServer(), gopherSendComplete(), gopherStart(), Ipc::Coordinator::handleCacheMgrRequest(), Security::PeerConnector::handleNegotiateError(), PeerPoolMgr::handleOpenedConnection(), Ftp::Client::handlePasvReply(), PeerPoolMgr::handleSecuredPeer(), Adaptation::Icap::Xaction::handleSecuredPeer(), Ssl::PeekingPeerConnector::handleServerCertificate(), Ipc::Coordinator::handleSharedListenRequest(), helperHandleRead(), helperOpenServers(), helperStatefulHandleRead(), helperStatefulOpenServers(), htcpIncomingConnectionOpened(), htcpOpenPorts(), htcpSend(), htcpSocketShutdown(), httpAccept(), httpsAccept(), httpsEstablish(), HttpStateData::HttpStateData(), icpConnectionShutdown(), icpIncomingConnectionOpened(), icpOpenPorts(), idnsDoSendQueryVC(), idnsInitVCConnected(), idnsSentQueryVC(), Ipc::ImportFdIntoComm(), Ssl::PeekingPeerConnector::initialize(), Security::PeerConnector::initialize(), Mgr::Inquirer::Inquirer(), Snmp::Inquirer::Inquirer(), IdleConnList::isAvailable(), Comm::ConnOpener::keepFd(), DeferredReadManager::kickARead(), Ftp::Gateway::listenForDataChannel(), Ftp::Server::listenForDataConnection(), Comm::ConnOpener::lookupLocalAddress(), HttpStateData::maybeReadVirginBody(), Ftp::Client::maybeReadVirginBody(), mcastJoinGroups(), Security::PeerConnector::negotiate(), neighborsUdpPing(), Ip::Intercept::NetfilterInterception(), ClientHttpRequest::noteAdaptationAclCheckDone(), noteClosure(), Snmp::Inquirer::noteCommClosed(), Adaptation::Icap::Xaction::noteCommConnected(), Mgr::StoreToCommWriter::noteCommWrote(), Adaptation::Icap::ServiceRep::noteConnectionUse(), Ssl::PeekingPeerConnector::noteNegotiationDone(), Security::BlindPeerConnector::noteNegotiationDone(), Ssl::PeekingPeerConnector::noteNegotiationError(), Security::PeerConnector::noteNegotiationError(), Security::PeerConnector::noteWantRead(), Ssl::PeekingPeerConnector::noteWantWrite(), Security::PeerConnector::noteWantWrite(), Ident::IdentStateData::notify(), Comm::TcpAcceptor::notify(), Comm::TcpAcceptor::oldAccept(), operator<<(), Mgr::Request::pack(), helper::packStatsInto(), ConnStateData::parseTlsHandshake(), peerCountMcastPeersStart(), ConnStateData::pinConnection(), HttpStateData::processReplyBody(), PconnPool::push(), Http::Tunneler::readMore(), Comm::ReadNow(), HttpStateData::readReply(), Ftp::Server::readUploadData(), Security::PeerConnector::recordNegotiationDetails(), Mgr::Inquirer::removeCloseHandler(), Mgr::Request::Request(), Mgr::Action::respond(), MessageBucket::scheduleWrite(), ClientInfo::scheduleWrite(), Comm::IoCallback::selectOrQueueWrite(), send_announce(), Ftp::Client::sendEprt(), Snmp::Inquirer::sendResponse(), Http::Stream::sendStartOfMessage(), Ssl::PeekingPeerConnector::serverCertificateVerified(), Comm::TcpAcceptor::setListen(), Ip::Qos::setSockNfmark(), Ip::Qos::setSockTos(), Ipc::SharedListenJoined(), snmpPortOpened(), ConnStateData::splice(), ConnStateData::sslCrtdHandleReply(), Security::PeerConnector::sslFinalized(), Comm::TcpAcceptor::start(), Ftp::Gateway::start(), ConnStateData::start(), ConnStateData::startPeekAndSplice(), statClientRequests(), Comm::TcpAcceptor::status(), Http::Tunneler::status(), Security::PeerConnector::status(), HappyConnOpener::status(), Server::stopReading(), ConnStateData::storeTlsContextToCache(), Mgr::StoreToCommWriter::StoreToCommWriter(), Mgr::Forwarder::swanSong(), Comm::TcpAcceptor::swanSong(), Http::Tunneler::swanSong(), switchToTunnel(), CommIoCbParams::syncWithComm(), FwdState::syncWithServerConn(), tlsAttemptHandshake(), tunnelConnectedWriteDone(), TunnelStateData::TunnelStateData(), FwdState::unregister(), Http::Tunneler::watchForClosures(), ConnStateData::whenClientIpKnown(), whoisStart(), Comm::Write(), Http::Stream::writeComplete(), Log::TcpLogger::writeIfPossible(), Http::Tunneler::writeRequest(), and ~Connection().

◆ flags

◆ id

InstanceId<Connection> Comm::Connection::id

Definition at line 178 of file Connection.h.

Referenced by operator<<().

◆ local

Ip::Address Comm::Connection::local

Address/Port for the Squid end of a TCP link.

Definition at line 141 of file Connection.h.

Referenced by Format::Format::assemble(), FwdState::cancelOpening(), clientHttpConnectionsOpen(), comm_import_opened(), comm_init_opened(), comm_open_listener(), comm_openex(), Ftp::Client::connectDataChannel(), Comm::ConnOpener::connected(), copyDetails(), Ftp::Server::createDataConnection(), Comm::ConnOpener::createFd(), Log::TcpLogger::doConnect(), ConnStateData::fakeAConnectRequest(), FindListeningPortAddressInConn(), IdleConnList::findUseable(), ftpOpenListenSocket(), ftpReadList(), ftpReadPORT(), ftpReadRetr(), ftpSendPORT(), GetMarkingsToServer(), Ip::Qos::getNfConnmark(), getOutgoingAddress(), Ftp::Server::handlePasvReply(), ClientRequestContext::hostHeaderIpVerify(), htcpClosePorts(), htcpIncomingConnectionOpened(), htcpOpenPorts(), htcpSocketShutdown(), icpClosePorts(), icpConnectionShutdown(), icpHandleUdp(), icpIncomingConnectionOpened(), icpOpenPorts(), idnsInitVC(), ConnStateData::initiateTunneledRequest(), Ip::Intercept::IpfInterception(), Ftp::Gateway::listenForDataChannel(), Ftp::Server::listenForDataConnection(), Comm::TcpAcceptor::logAcceptError(), Ip::Intercept::Lookup(), Comm::ConnOpener::lookupLocalAddress(), Ip::Intercept::NetfilterInterception(), Comm::TcpAcceptor::oldAccept(), HappyConnOpener::openFreshConnection(), Ipc::Coordinator::openListenSocket(), operator<<(), Ip::Intercept::PfInterception(), ConnStateData::postHttpsAccept(), prepareAcceleratedURL(), prepareTransparentURL(), PeerSelector::resolveSelected(), send_announce(), Ftp::Client::sendEprt(), Ftp::Client::sendPassive(), Ipc::SharedListenJoined(), snmpClosePorts(), snmpOpenPorts(), snmpPortOpened(), Ident::Start(), Comm::ConnOpener::start(), Ftp::Server::start(), Ftp::Relay::startDataDownload(), Ftp::Relay::startDataUpload(), Ipc::StartListening(), statClientRequests(), Comm::TcpAcceptor::status(), and ConnStateData::whenClientIpKnown().

◆ nfConnmark

nfmark_t Comm::Connection::nfConnmark = 0

Netfilter CONNMARK value previously retrieved from this connection In case of FTP, the CONNMARK will NOT be applied to data connections, for one main reason: the CONNMARK could be set by a third party like iptables and overwriting it in squid may cause side effects and break CONNMARK-based policy. In other words, data connection is related to control connection, but it's not the same.

Definition at line 166 of file Connection.h.

Referenced by copyDetails(), Ip::Qos::getNfConnmark(), and Comm::TcpAcceptor::oldAccept().

◆ nfmark

nfmark_t Comm::Connection::nfmark

Netfilter MARK values currently sent on this connection In case of FTP, the MARK will be sent on data connections as well.

Definition at line 158 of file Connection.h.

Referenced by Format::Format::assemble(), Ftp::Client::connectDataChannel(), copyDetails(), Comm::ConnOpener::createFd(), GetMarkingsToServer(), Ftp::Gateway::listenForDataChannel(), ResetMarkingsToServer(), Comm::TcpAcceptor::setListen(), and Ip::Qos::setSockNfmark().

◆ peer_

CachePeer* Comm::Connection::peer_
private

cache_peer data object (if any)

Definition at line 182 of file Connection.h.

Referenced by copyDetails(), getPeer(), setPeer(), and ~Connection().

◆ peerType

hier_code Comm::Connection::peerType

Hierarchy code for this connection link

Definition at line 147 of file Connection.h.

Referenced by copyDetails(), PeerSelector::handlePath(), PeerPoolMgr::openNewConnection(), operator<<(), and HierarchyLogEntry::resetPeerNotes().

◆ remote

Ip::Address Comm::Connection::remote

Address for the Remote end of a TCP link.

Definition at line 144 of file Connection.h.

Referenced by Ftp::Server::acceptDataConnection(), Format::Format::assemble(), ClientHttpRequest::calloutsError(), Ftp::Server::checkDataConnPre(), clientProcessRequest(), ErrorState::compileLegacyCode(), Ftp::Client::connectDataChannel(), ResolvedPeers::ConnectionFamily(), ConnStateData::ConnStateData(), constructHelperQuery(), copyDetails(), Ftp::Server::createDataConnection(), Comm::ConnOpener::createFd(), Adaptation::Icap::Xaction::dnsLookupDone(), Comm::ConnOpener::doConnect(), Log::TcpLogger::doConnect(), ESIContext::fail(), Ftp::Gateway::ftpAcceptDataConnection(), ftpReadList(), ftpReadRetr(), AccessLogEntry::getLogClientIp(), Ip::Qos::getNfConnmark(), GetNfmarkToServer(), getOutgoingAddress(), ConnStateData::getSslContextDone(), GetTosToServer(), Ftp::Client::handleEpsvReply(), Ftp::Client::handlePasvReply(), idnsInitVC(), Ipc::ImportFdIntoComm(), Ip::Intercept::IpfInterception(), PconnPool::key(), Comm::TcpAcceptor::logAcceptError(), Ip::Intercept::Lookup(), PeerSelector::noteIp(), Ident::IdentStateData::notify(), Comm::TcpAcceptor::oldAccept(), PeerPoolMgr::openNewConnection(), operator<<(), peerProbeConnect(), Ip::Intercept::PfInterception(), ConnStateData::pinConnection(), ConnStateData::postHttpsAccept(), clientReplyContext::processMiss(), clientReplyContext::processOnlyIfCachedMiss(), Http::One::Server::processParsedRequest(), clientReplyContext::processReplyAccessResult(), clientReplyContext::purgeFoundObject(), clientReplyContext::purgeRequest(), PeerSelector::resolveSelected(), Comm::ConnOpener::sendAnswer(), clientReplyContext::sendBodyTooLargeError(), Ftp::Client::sendPassive(), clientReplyContext::sendPreconditionFailedError(), Http::One::Server::setReplyError(), Ip::Qos::setSockTos(), Log::Format::SquidNative(), Ident::Start(), Comm::ConnOpener::start(), Ftp::Relay::startDataDownload(), Ftp::Relay::startDataUpload(), statClientRequests(), and ConnStateData::whenClientIpKnown().

◆ remoteEui48

Eui::Eui48 Comm::Connection::remoteEui48

Definition at line 174 of file Connection.h.

Referenced by Format::Format::assemble(), and Comm::TcpAcceptor::oldAccept().

◆ remoteEui64

Eui::Eui64 Comm::Connection::remoteEui64

Definition at line 175 of file Connection.h.

Referenced by Format::Format::assemble(), and Comm::TcpAcceptor::oldAccept().

◆ rfc931

◆ startTime_

time_t Comm::Connection::startTime_
private

The time the connection object was created

Definition at line 185 of file Connection.h.

Referenced by copyDetails().

◆ tlsHistory

Security::NegotiationHistory* Comm::Connection::tlsHistory
private

TLS connection details

Definition at line 188 of file Connection.h.

Referenced by tlsNegotiations(), and ~Connection().

◆ tos


The documentation for this class was generated from the following files:

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors