]>
Commit | Line | Data |
---|---|---|
46f4b111 | 1 | /* |
bbc27441 | 2 | * Copyright (C) 1996-2014 The Squid Software Foundation and contributors |
46f4b111 | 3 | * |
bbc27441 AJ |
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. | |
46f4b111 FC |
7 | */ |
8 | ||
bbc27441 AJ |
9 | #ifndef SQUID_HTTPSTATEFLAGS_H_ |
10 | #define SQUID_HTTPSTATEFLAGS_H_ | |
11 | ||
46f4b111 FC |
12 | // POD |
13 | class HttpStateFlags | |
14 | { | |
15 | public: | |
16 | bool proxying:1; | |
17 | bool keepalive:1; | |
18 | bool only_if_cached:1; | |
19 | bool handling1xx:1; ///< we are ignoring or forwarding 1xx response | |
20 | bool headers_parsed:1; | |
21 | unsigned int front_end_https:2; //XXX: huh? | |
22 | bool originpeer:1; | |
23 | bool keepalive_broken:1; | |
24 | bool abuse_detected:1; | |
25 | bool request_sent:1; | |
26 | bool do_next_read:1; | |
27 | bool consume_body_data:1; //XXX: seems unused | |
28 | bool chunked:1; ///< reading a chunked response; TODO: rename | |
29 | bool chunked_request:1; ///< writing a chunked request | |
30 | bool sentLastChunk:1; ///< do not try to write last-chunk again | |
31 | }; | |
32 | ||
33 | #endif /* SQUID_HTTPSTATEFLAGS_H_ */ | |
f53969cc | 34 |