summaryrefslogtreecommitdiff
path: root/include/http_core.h
diff options
context:
space:
mode:
authorChristophe Jaillet <jailletc36@apache.org>2019-10-23 18:58:16 +0000
committerChristophe Jaillet <jailletc36@apache.org>2019-10-23 18:58:16 +0000
commit086fce570c3ee2e5b91ee8f4b71e9ddf52fa7207 (patch)
treecdc377f50ea0a831bff689cc24d87aad58a7ecee /include/http_core.h
parent32516310752ac0d9064420ea989dab99e73d9b6e (diff)
downloadhttpd-086fce570c3ee2e5b91ee8f4b71e9ddf52fa7207.tar.gz
Change the position of the 'response_code_exprs' field in the 'core_dir_config' structure.
This synch trunk with 2.4.x but it also makes the structure smaller because 2 bietfields are merged. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1868819 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/http_core.h')
-rw-r--r--include/http_core.h13
1 files changed, 6 insertions, 7 deletions
diff --git a/include/http_core.h b/include/http_core.h
index 00aeaa7800..d3573071a1 100644
--- a/include/http_core.h
+++ b/include/http_core.h
@@ -662,6 +662,12 @@ typedef struct {
/** Named back references */
apr_array_header_t *refs;
+ /** Custom response config with expression support. The hash table
+ * contains compiled expressions keyed against the custom response
+ * code.
+ */
+ apr_hash_t *response_code_exprs;
+
#define AP_CGI_PASS_AUTH_OFF (0)
#define AP_CGI_PASS_AUTH_ON (1)
#define AP_CGI_PASS_AUTH_UNSET (2)
@@ -671,13 +677,6 @@ typedef struct {
* advice
*/
unsigned int cgi_pass_auth : 2;
-
- /** Custom response config with expression support. The hash table
- * contains compiled expressions keyed against the custom response
- * code.
- */
- apr_hash_t *response_code_exprs;
-
unsigned int qualify_redirect_url :2;
ap_expr_info_t *expr_handler; /* forced with SetHandler */