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. More... | |
| String | serviceName |
| ICAP service name. More... | |
| String | reqUri |
| ICAP Request-URI. More... | |
| Adaptation::Icap::ICAP::Method | reqMethod = Adaptation::methodNone |
| ICAP request method. More... | |
| int64_t | bytesSent = 0 |
| number of bytes sent to ICAP server so far More... | |
| int64_t | bytesRead = 0 |
| number of bytes read from ICAP server so far More... | |
| int64_t | bodyBytesRead = -1 |
| HttpRequest * | request = nullptr |
| ICAP request. More... | |
| HttpReply * | reply = nullptr |
| ICAP reply. More... | |
| Adaptation::Icap::XactOutcome | outcome = Adaptation::Icap::xoUnknown |
| final transaction status More... | |
| 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. More... | |
| 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. More... | |
| Http::StatusCode | resStatus = Http::scNone |
| ICAP response status code. More... | |
| struct timeval | processingTime |
| total ICAP processing time More... | |
Detailed Description
Definition at line 212 of file AccessLogEntry.h.
Constructor & Destructor Documentation
◆ IcapLogEntry()
|
inline |
Definition at line 215 of file AccessLogEntry.h.
References ioTime, processingTime, and trTime.
Member Data Documentation
◆ bodyBytesRead
| 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().
◆ bytesRead
| int64_t AccessLogEntry::IcapLogEntry::bytesRead = 0 |
Definition at line 226 of file AccessLogEntry.h.
Referenced by Format::Format::assemble(), and Log::Format::SquidIcap().
◆ bytesSent
| int64_t AccessLogEntry::IcapLogEntry::bytesSent = 0 |
Definition at line 225 of file AccessLogEntry.h.
Referenced by Format::Format::assemble().
◆ hostAddr
| Ip::Address AccessLogEntry::IcapLogEntry::hostAddr |
Definition at line 221 of file AccessLogEntry.h.
Referenced by Format::Format::assemble(), and Log::Format::SquidIcap().
◆ ioTime
| struct timeval AccessLogEntry::IcapLogEntry::ioTime |
Definition at line 246 of file AccessLogEntry.h.
Referenced by Format::Format::assemble(), and IcapLogEntry().
◆ outcome
| 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().
◆ processingTime
| struct timeval AccessLogEntry::IcapLogEntry::processingTime |
Definition at line 248 of file AccessLogEntry.h.
Referenced by Format::Format::assemble(), and IcapLogEntry().
◆ reply
| HttpReply* AccessLogEntry::IcapLogEntry::reply = nullptr |
Definition at line 233 of file AccessLogEntry.h.
Referenced by Format::Format::assemble(), and AccessLogEntry::~AccessLogEntry().
◆ reqMethod
| Adaptation::Icap::ICAP::Method AccessLogEntry::IcapLogEntry::reqMethod = Adaptation::methodNone |
Definition at line 224 of file AccessLogEntry.h.
Referenced by Format::Format::assemble(), and Log::Format::SquidIcap().
◆ request
| HttpRequest* AccessLogEntry::IcapLogEntry::request = nullptr |
Definition at line 232 of file AccessLogEntry.h.
Referenced by Format::Format::assemble(), and AccessLogEntry::~AccessLogEntry().
◆ reqUri
| String AccessLogEntry::IcapLogEntry::reqUri |
Definition at line 223 of file AccessLogEntry.h.
Referenced by Format::Format::assemble(), and Log::Format::SquidIcap().
◆ resStatus
| Http::StatusCode AccessLogEntry::IcapLogEntry::resStatus = Http::scNone |
Definition at line 247 of file AccessLogEntry.h.
Referenced by Format::Format::assemble(), and Log::Format::SquidIcap().
◆ serviceName
| String AccessLogEntry::IcapLogEntry::serviceName |
Definition at line 222 of file AccessLogEntry.h.
Referenced by Format::Format::assemble().
◆ trTime
| struct timeval AccessLogEntry::IcapLogEntry::trTime |
Definition at line 240 of file AccessLogEntry.h.
Referenced by Format::Format::assemble(), IcapLogEntry(), and Log::Format::SquidIcap().
The documentation for this class was generated from the following file:
- src/AccessLogEntry.h
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
