]>
Commit | Line | Data |
---|---|---|
0f305536 | 1 | #if ICAP_CLIENT |
2 | #include "ICAP/ICAPServiceRep.h" | |
3 | #endif | |
4 | ||
5 | class ClientRequestContext : public RefCountable | |
6 | { | |
7 | ||
8 | public: | |
9 | void *operator new(size_t); | |
10 | void operator delete(void *); | |
11 | ||
12 | ClientRequestContext(ClientHttpRequest *); | |
13 | ~ClientRequestContext(); | |
14 | ||
15 | bool httpStateIsValid(); | |
16 | void clientAccessCheck(); | |
17 | void clientAccessCheckDone(int answer); | |
18 | void clientRedirectStart(); | |
19 | void clientRedirectDone(char *result); | |
20 | void checkNoCache(); | |
21 | void checkNoCacheDone(int answer); | |
22 | #if ICAP_CLIENT | |
23 | ||
24 | void icapAccessCheck(); | |
25 | void icapAclCheckDone(ICAPServiceRep::Pointer service); | |
26 | #endif | |
27 | ||
28 | ClientHttpRequest *http; | |
29 | ACLChecklist *acl_checklist; /* need ptr back so we can unreg if needed */ | |
30 | int redirect_state; | |
31 | ||
57abaac0 | 32 | bool http_access_done; |
0f305536 | 33 | #if ICAP_CLIENT |
34 | ||
57abaac0 | 35 | bool icap_acl_check_done; |
0f305536 | 36 | #endif |
37 | ||
57abaac0 | 38 | bool redirect_done; |
5d2136fa | 39 | bool no_cache_done; |
57abaac0 | 40 | bool interpreted_req_hdrs; |
057f5854 | 41 | bool clientside_tos_done; |
0f305536 | 42 | |
43 | private: | |
44 | CBDATA_CLASS(ClientRequestContext); | |
45 | }; | |
46 |