|
Squid Web Cache v8/master
|
This subclass holds log info for ICAP part of request TODO: Inner class declarations should be moved outside. More...
#include <AccessLogEntry.h>
Public Member Functions | |
| IcapLogEntry () | |
Public Attributes | |
| Ip::Address | hostAddr |
| ICAP server IP address. | |
| String | serviceName |
| ICAP service name. | |
| String | reqUri |
| ICAP Request-URI. | |
| Adaptation::Icap::ICAP::Method | reqMethod = Adaptation::methodNone |
| ICAP request method. | |
| int64_t | bytesSent = 0 |
| number of bytes sent to ICAP server so far | |
| int64_t | bytesRead = 0 |
| number of bytes read from ICAP server so far | |
| int64_t | bodyBytesRead = -1 |
| HttpRequest * | request = nullptr |
| ICAP request. | |
| HttpReply * | reply = nullptr |
| ICAP reply. | |
| Adaptation::Icap::XactOutcome | outcome = Adaptation::Icap::xoUnknown |
| final transaction status | |
| struct timeval | trTime |
| Transaction response time. The timer starts when the ICAP transaction is created and stops when the result of the transaction is logged. | |
| struct timeval | ioTime |
| Transaction I/O time. The timer starts when the first ICAP request byte is scheduled for sending and stops when the lastbyte of the ICAP response is received. | |
| Http::StatusCode | resStatus = Http::scNone |
| ICAP response status code. | |
| struct timeval | processingTime |
| total ICAP processing time | |
Definition at line 212 of file AccessLogEntry.h.
|
inline |
Definition at line 215 of file AccessLogEntry.h.
References ioTime, processingTime, and trTime.
| int64_t AccessLogEntry::IcapLogEntry::bodyBytesRead = -1 |
number of ICAP body bytes read from ICAP server or -1 for no encapsulated message data in ICAP reply (eg 204 responses)
Definition at line 231 of file AccessLogEntry.h.
Referenced by Format::Format::assemble().
| int64_t AccessLogEntry::IcapLogEntry::bytesRead = 0 |
Definition at line 226 of file AccessLogEntry.h.
Referenced by Format::Format::assemble(), and Log::Format::SquidIcap().
| int64_t AccessLogEntry::IcapLogEntry::bytesSent = 0 |
Definition at line 225 of file AccessLogEntry.h.
Referenced by Format::Format::assemble().
| Ip::Address AccessLogEntry::IcapLogEntry::hostAddr |
Definition at line 221 of file AccessLogEntry.h.
Referenced by Format::Format::assemble(), and Log::Format::SquidIcap().
| struct timeval AccessLogEntry::IcapLogEntry::ioTime |
Definition at line 246 of file AccessLogEntry.h.
Referenced by IcapLogEntry(), and Format::Format::assemble().
| Adaptation::Icap::XactOutcome AccessLogEntry::IcapLogEntry::outcome = Adaptation::Icap::xoUnknown |
Definition at line 235 of file AccessLogEntry.h.
Referenced by Format::Format::assemble(), and Log::Format::SquidIcap().
| struct timeval AccessLogEntry::IcapLogEntry::processingTime |
Definition at line 248 of file AccessLogEntry.h.
Referenced by IcapLogEntry(), Format::Format::assemble(), and prepareLogWithRequestDetails().
| HttpReply* AccessLogEntry::IcapLogEntry::reply = nullptr |
Definition at line 233 of file AccessLogEntry.h.
Referenced by AccessLogEntry::~AccessLogEntry(), and Format::Format::assemble().
| Adaptation::Icap::ICAP::Method AccessLogEntry::IcapLogEntry::reqMethod = Adaptation::methodNone |
Definition at line 224 of file AccessLogEntry.h.
Referenced by actualReplyHeader(), actualRequestHeader(), Format::Format::assemble(), and Log::Format::SquidIcap().
| HttpRequest* AccessLogEntry::IcapLogEntry::request = nullptr |
Definition at line 232 of file AccessLogEntry.h.
Referenced by AccessLogEntry::~AccessLogEntry(), and Format::Format::assemble().
| String AccessLogEntry::IcapLogEntry::reqUri |
Definition at line 223 of file AccessLogEntry.h.
Referenced by Format::Format::assemble(), and Log::Format::SquidIcap().
| Http::StatusCode AccessLogEntry::IcapLogEntry::resStatus = Http::scNone |
Definition at line 247 of file AccessLogEntry.h.
Referenced by Format::Format::assemble(), and Log::Format::SquidIcap().
| String AccessLogEntry::IcapLogEntry::serviceName |
Definition at line 222 of file AccessLogEntry.h.
Referenced by Format::Format::assemble().
| struct timeval AccessLogEntry::IcapLogEntry::trTime |
Definition at line 240 of file AccessLogEntry.h.
Referenced by IcapLogEntry(), Format::Format::assemble(), and Log::Format::SquidIcap().