#include <LogTags.h>
![Collaboration graph](classLogTagsErrors__coll__graph.png)
Public Member Functions | |
void | update (const LogTagsErrors &other) |
Static Public Member Functions | |
static LogTagsErrors | FromErrno (int errNo) |
constructs an object matching errno(3) of a failed I/O call More... | |
Public Attributes | |
bool | ignored = false |
_IGNORED: the response was not used for anything More... | |
bool | timedout = false |
_TIMEDOUT: terminated due to a lifetime or I/O timeout More... | |
bool | aborted = false |
_ABORTED: other abnormal termination (e.g., I/O error) More... | |
Detailed Description
Things that may happen to a transaction while it is being processed according to its LOG_* category. Logged as SUFFIX(es). Unlike LOG* categories, these flags may not be mutually exclusive.
Member Function Documentation
◆ FromErrno()
|
static |
Definition at line 22 of file LogTags.cc.
References aborted, and timedout.
Referenced by Server::clientWriteDone(), Server::doClientRead(), and FwdState::updateAleWithFinalError().
◆ update()
void LogTagsErrors::update | ( | const LogTagsErrors & | other | ) |
Update each of this object flags to "set" if the corresponding flag of the given object is set
Definition at line 14 of file LogTags.cc.
References aborted, ignored, and timedout.
Referenced by FwdState::updateAleWithFinalError().
Member Data Documentation
◆ aborted
bool LogTagsErrors::aborted = false |
Definition at line 29 of file LogTags.h.
Referenced by LogTags::c_str(), Server::doClientRead(), FromErrno(), and update().
◆ ignored
bool LogTagsErrors::ignored = false |
Definition at line 27 of file LogTags.h.
Referenced by LogTags::c_str(), and update().
◆ timedout
bool LogTagsErrors::timedout = false |
Definition at line 28 of file LogTags.h.
Referenced by LogTags::c_str(), FromErrno(), ConnStateData::lifetimeTimeout(), and update().
The documentation for this class was generated from the following files:
- src/LogTags.h
- src/LogTags.cc
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