]>
Commit | Line | Data |
---|---|---|
bad9c5e4 AJ |
1 | /* |
2 | * Copyright (C) 1996-2016 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_SRC_HTTP_STATEFLAGS_H | |
10 | #define SQUID_SRC_HTTP_STATEFLAGS_H | |
11 | ||
12 | namespace Http | |
13 | { | |
14 | ||
15 | class StateFlags | |
16 | { | |
17 | public: | |
18 | unsigned int front_end_https = 0; ///< send "Front-End-Https: On" header (off/on/auto=2) | |
19 | bool proxying = false; | |
20 | bool keepalive = false; | |
21 | bool only_if_cached = false; | |
22 | bool handling1xx = false; ///< we are ignoring or forwarding 1xx response | |
23 | bool headers_parsed = false; | |
24 | bool originpeer = false; | |
25 | bool keepalive_broken = false; | |
26 | bool abuse_detected = false; | |
27 | bool request_sent = false; | |
28 | bool do_next_read = false; | |
29 | bool chunked = false; ///< reading a chunked response; TODO: rename | |
30 | bool chunked_request = false; ///< writing a chunked request | |
31 | bool sentLastChunk = false; ///< do not try to write last-chunk again | |
32 | }; | |
33 | ||
34 | } // namespace Http | |
35 | ||
36 | #endif /* SQUID_SRC_HTTP_STATEFLAGS_H */ | |
37 |