squid-
cache.org
Optimising Web Delivery
Docs
Download
Donate
Support
About
Contact
Shop
Blog
src
dns
LookupDetails.cc
Go to the documentation of this file.
1
/*
2
* Copyright (C) 1996-2023 The Squid Software Foundation and contributors
3
*
4
* Squid software is distributed under GPLv2+ license and includes
5
* contributions from numerous individuals and organizations.
6
* Please see the COPYING and CONTRIBUTORS files for details.
7
*/
8
9
/* DEBUG: section 78 DNS lookups */
10
11
#include "
squid.h
"
12
#include "
dns/LookupDetails.h
"
13
14
std::ostream &
15
Dns::LookupDetails::print
(std::ostream &os)
const
16
{
17
if
(
wait
> 0)
18
os <<
"lookup_wait="
<<
wait
;
19
if
(
error
)
20
os <<
" lookup_err="
<< *
error
;
21
return
os;
22
}
23
LookupDetails.h
Dns::LookupDetails::print
std::ostream & print(std::ostream &os) const
Definition:
LookupDetails.cc:15
Dns::LookupDetails::error
const std::optional< SBuf > error
error message (if any)
Definition:
LookupDetails.h:39
Dns::LookupDetails::wait
int wait
msecs spent waiting for the lookup (if any) or -1 (if none)
Definition:
LookupDetails.h:40
squid.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:
Reference
Examples
FAQ
and
Wiki
Guide Books:
Beginners
Definitive
Non-English
More...
Support
Security Advisories
Bugzilla Database
Mailing lists
Contacting us
Commercial services
Project Sponsors
Squid-based products
Miscellaneous
Developer Resources
Related Writings
Related Software:
Authenticators
Ecap
Icap
Ident
Log Analysis
Monitor
Proxies
Redirectors
General
Squid Artwork
Web Site Translations
Japanese
Mirrors
Website:
gr
il
pl
...
full list
FTP Package Archive