/*
- * Copyright (C) 1996-2014 The Squid Software Foundation and contributors
+ * Copyright (C) 1996-2015 The Squid Software Foundation and contributors
*
* Squid software is distributed under GPLv2+ license and includes
* contributions from numerous individuals and organizations.
{
public:
- HttpDetails() : method(Http::METHOD_NONE), code(0), content_type(NULL),
- timedout(false),
- aborted(false),
+ HttpDetails() :
+ method(Http::METHOD_NONE),
+ code(0),
+ content_type(NULL),
clientRequestSz(),
clientReplySz() {}
int code;
const char *content_type;
AnyP::ProtocolVersion version;
- bool timedout; ///< terminated due to a lifetime or I/O timeout
- bool aborted; ///< other abnormal termination (e.g., I/O error)
-
- /// compute suffix for the status access.log field
- const char *statusSfx() const {
- return timedout ? "_TIMEDOUT" : (aborted ? "_ABORTED" : "");
- }
/// counters for the original request received from client
// TODO calculate header and payload better (by parser)
CacheDetails() : caddr(),
highOffset(0),
objectSize(0),
- code (LOG_TAG_NONE),
+ code(LOG_TAG_NONE),
rfc931 (NULL),
extuser(NULL),
#if USE_OPENSSL
{
public:
- Private() : method_str(NULL) {}
+ Private() : method_str(NULL), lastAclName(NULL), lastAclData(NULL) {}
+ ~Private() {
+ safe_free(lastAclName);
+ safe_free(lastAclData);
+ }
const char *method_str;
+ const char *lastAclName;
+ const char *lastAclData;
+
} _private;
HierarchyLogEntry hier;
HttpReply *reply;