]> granicus.if.org Git - apache/commitdiff
Change the position of the 'response_code_exprs' field in the 'core_dir_config' struc...
authorChristophe Jaillet <jailletc36@apache.org>
Wed, 23 Oct 2019 18:58:16 +0000 (18:58 +0000)
committerChristophe Jaillet <jailletc36@apache.org>
Wed, 23 Oct 2019 18:58:16 +0000 (18:58 +0000)
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

include/http_core.h

index 00aeaa7800e04d8559ef99cc67d38382e1ea6126..d3573071a1b0e83dcf8f3c8a94a490e082544d32 100644 (file)
@@ -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 */