ClientRequestContext.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 1996-2017 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 #ifndef SQUID_CLIENTREQUESTCONTEXT_H
10 #define SQUID_CLIENTREQUESTCONTEXT_H
11 
12 #include "base/RefCount.h"
13 #include "cbdata.h"
14 #include "dns/forward.h"
15 #include "helper/forward.h"
16 #include "ipcache.h"
17 
18 #if USE_ADAPTATION
19 #include "adaptation/forward.h"
20 #endif
21 
22 class ACLChecklist;
23 class ClientHttpRequest;
24 class ErrorState;
25 
27 {
29 
30 public:
33 
34  bool httpStateIsValid();
35  void hostHeaderVerify();
36  void hostHeaderIpVerify(const ipcache_addrs* ia, const Dns::LookupDetails &dns);
37  void hostHeaderVerifyFailed(const char *A, const char *B);
38  void clientAccessCheck();
39  void clientAccessCheck2();
40  void clientAccessCheckDone(const allow_t &answer);
41  void clientRedirectStart();
42  void clientRedirectDone(const Helper::Reply &reply);
43  void clientStoreIdStart();
44  void clientStoreIdDone(const Helper::Reply &reply);
45  void checkNoCache();
46  void checkNoCacheDone(const allow_t &answer);
47 #if USE_ADAPTATION
48 
49  void adaptationAccessCheck();
50 #endif
51 #if USE_OPENSSL
52 
57  bool sslBumpAccessCheck();
59  void sslBumpAccessCheckDone(const allow_t &answer);
60 #endif
61 
63  ACLChecklist *acl_checklist; /* need ptr back so we can unreg if needed */
66 
70 #if USE_ADAPTATION
72 #endif
79 #if USE_OPENSSL
81 #endif
84 };
85 
86 #endif /* SQUID_CLIENTREQUESTCONTEXT_H */
87 
ClientHttpRequest * http
Definition: Acl.h:113
static uint32 B
Definition: md4.c:43
void checkNoCacheDone(const allow_t &answer)
encapsulates DNS lookup results
Definition: LookupDetails.h:20
bool readNextRequest
whether Squid should read after error handling
#define CBDATA_CLASS(type)
Definition: cbdata.h:302
static uint32 A
Definition: md4.c:43
ClientRequestContext(ClientHttpRequest *)
void hostHeaderIpVerify(const ipcache_addrs *ia, const Dns::LookupDetails &dns)
void clientRedirectDone(const Helper::Reply &reply)
ACLChecklist * acl_checklist
void sslBumpAccessCheckDone(const allow_t &answer)
The callback function for ssl-bump access check list.
void clientAccessCheckDone(const allow_t &answer)
void hostHeaderVerifyFailed(const char *A, const char *B)
ErrorState * error
saved error page for centralized/delayed processing
void clientStoreIdDone(const Helper::Reply &reply)

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors