AccessLogEntry.cc
Go to the documentation of this file.
191 const SBuf *effectiveUrl = request ? &request->effectiveRequestUri() : &virginUrlForMissingRequest_;
char * last_meta
image of the last ICAP response header or eCAP meta received
Definition: AccessLogEntry.h:187
void getLogClientIp(char *buf, size_t bufsz) const
Definition: AccessLogEntry.cc:20
SBuf getLogMethod() const
Fetch the transaction method string (ICP opcode, HTCP opcode or HTTP method)
Definition: AccessLogEntry.cc:72
void packReplyHeaders(MemBuf &mb) const
dump all reply headers (for sending or risky logging)
Definition: AccessLogEntry.cc:222
class AccessLogEntry::CacheDetails cache
const char * getClientIdent() const
Fetch the client IDENT string, or nil if none is available.
Definition: AccessLogEntry.cc:100
SBuf virginUrlForMissingRequest_
Definition: AccessLogEntry.h:283
class AccessLogEntry::IcapLogEntry icap
class AccessLogEntry::Headers headers
Comm::ConnectionPointer tcpClient
TCP/IP level details about the client connection.
Definition: AccessLogEntry.h:83
class AccessLogEntry::HttpDetails http
class AccessLogEntry::HtcpDetails htcp
const char * getExtUser() const
Fetch the external ACL provided 'user=' string, or nil if none is available.
Definition: AccessLogEntry.cc:112
const char * getLogClientFqdn(char *buf, size_t bufSize) const
Definition: AccessLogEntry.cc:51
class AccessLogEntry::AdaptationDetails adapt
class AccessLogEntry::IcpDetails icp
const char * lastAclName
string for external_acl_type ACL format code
Definition: AccessLogEntry.h:191
const SBuf * effectiveVirginUrl() const
Definition: AccessLogEntry.cc:189
ScopedId codeContextGist() const override
Definition: AccessLogEntry.cc:146
void updateError(const Error &)
sets (or updates the already stored) transaction error as needed
Definition: AccessLogEntry.cc:212
std::ostream & detailCodeContext(std::ostream &os) const override
appends human-friendly context description line(s) to a cache.log record
Definition: AccessLogEntry.cc:157
void update(const Error &)
if necessary, stores the given error information (if any)
Definition: Error.cc:51
void packHeadersUsingFastPacker(Packable &p) const
Definition: HttpReply.cc:87
Definition: HttpRequest.h:49
MasterXaction::Pointer masterXaction
the master transaction this request belongs to. Never nil.
Definition: HttpRequest.h:238
const SBuf & effectiveRequestUri() const
RFC 7230 section 5.5 - Effective Request URI.
Definition: HttpRequest.cc:744
Definition: Address.h:41
char * toStr(char *buf, const unsigned int blen, int force=AF_UNSPEC) const
Definition: Address.cc:792
Definition: MemBuf.h:24
Definition: InstanceId.h:19
struct SquidConfig::@106 onoff
struct SquidConfig::@101 Addrs
const char * fqdncache_gethostbyaddr(const Ip::Address &addr, int flags)
Definition: fqdncache.cc:481
const char * icp_opcode_str[]
bool ResolveClientAddressesAsap
whether to do reverse DNS lookups for source IPs of accepted connections
Definition: fqdncache.cc:30