#include <Request.h>
![Collaboration graph](classHelper_1_1Request__coll__graph.png)
Public Member Functions | |
Request (HLPCB *c, void *d, const char *b) | |
~Request () | |
bool | timedOut (time_t timeout) |
Public Attributes | |
char * | buf |
HLPCB * | callback |
void * | data |
int | placeholder |
struct timeval | dispatch_time |
uint64_t | Id |
int | retries |
Private Member Functions | |
MEMPROXY_CLASS (Helper::Request) | |
Detailed Description
Constructor & Destructor Documentation
◆ Request()
|
inline |
Definition at line 25 of file Request.h.
References dispatch_time.
◆ ~Request()
|
inline |
Member Function Documentation
◆ MEMPROXY_CLASS()
|
private |
◆ timedOut()
|
inline |
Definition at line 55 of file Request.h.
References dispatch_time, and squid_curtime.
Member Data Documentation
◆ buf
char* Helper::Request::buf |
Definition at line 41 of file Request.h.
Referenced by helperDispatch(), helperStatefulDispatch(), and ~Request().
◆ callback
HLPCB* Helper::Request::callback |
Definition at line 42 of file Request.h.
Referenced by Helper::Client::callBack().
◆ data
void* Helper::Request::data |
Definition at line 43 of file Request.h.
Referenced by Helper::Client::callBack(), helperDispatch(), helperStatefulDispatch(), and ~Request().
◆ dispatch_time
struct timeval Helper::Request::dispatch_time |
Definition at line 46 of file Request.h.
Referenced by helperDispatch(), Request(), and timedOut().
◆ Id
uint64_t Helper::Request::Id |
Definition at line 47 of file Request.h.
Referenced by helperDispatch().
◆ placeholder
int Helper::Request::placeholder |
Definition at line 45 of file Request.h.
Referenced by helperStatefulDispatch().
◆ retries
int Helper::Request::retries |
A helper may configured to retry timed out requests or on BH replies. We attempt to recover by trying the lookup again, but limit the number of retries to prevent lag and lockups. This tracks the number of previous failures for the request.
Definition at line 54 of file Request.h.
Referenced by helperReturnBuffer().
The documentation for this class was generated from the following file:
- src/helper/Request.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