|typedef RefCount< MasterXaction >||Pointer|
|static Pointer||MakePortless ()|
|Create a master transaction not associated with a AnyP::PortCfg port. More...|
|static Pointer||MakePortful (const AnyP::PortCfgPointer &aPort)|
|InstanceId< MasterXaction, uint64_t >||id|
|transaction ID. More...|
|the listening port which originated this transaction More...|
|the client TCP connection which originated this transaction More...|
|the initiator of this transaction More...|
|bool||generatingConnect = false|
|whether we are currently creating a CONNECT header (to be sent to peer) More...|
|MasterXaction (const XactionInitiator anInitiator, const AnyP::PortCfgPointer &aPort)|
Master transaction details.
Aggregates historical data from individual related protocol-specific transactions such as an HTTP client transaction and the corresponding HTTP or FTP server transaction.
Individual transaction information worth sending or logging should be recorded here, ideally without exposing other master transaction users to internal details of individual transactions. For example, storing an HTTP client IP address is a good idea but storing a pointer to some client-side job which maintains that address is not.
A master transaction is created by a newly accepted client connection, a new request on the existing client connection, or an internal request generated by Squid. All client-side protocols, including HTTP, HTCP, ICP, and SNMP will eventually create master transactions.
A master transaction is auto-destroyed when its last user is gone.
Member Typedef Documentation
Constructor & Destructor Documentation
Member Function Documentation
Create a master transaction associated with a AnyP::PortCfg port.
aPort may be nil if port information was lost
Referenced by Ftp::Server::AcceptCtrlConnection(), ConnStateData::buildFakeRequest(), Http::One::Server::buildHttpRequest(), clientReplyContext::createStoreEntry(), httpAccept(), httpsAccept(), Ftp::Server::parseOneRequest(), and ConnStateData::postHttpsAccept().
Member Data Documentation
The documentation for this class was generated from the following file: