]> granicus.if.org Git - apache/commitdiff
Reorder members in core_dir_config to be more logical and efficient.
authorStefan Fritsch <sf@apache.org>
Sat, 4 Jun 2011 19:04:54 +0000 (19:04 +0000)
committerStefan Fritsch <sf@apache.org>
Sat, 4 Jun 2011 19:04:54 +0000 (19:04 +0000)
MMN bump was already in r1131465

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1131468 13f79535-47bb-0310-9956-ffa450edef68

include/http_core.h

index ca83d417466a720a59618a5ba2dd81761cff2ac1..4d7a7e35826e2f5b3da06fc4cb9b258e461d378f 100644 (file)
@@ -528,20 +528,21 @@ typedef struct {
 #define ENABLE_SENDFILE_ON     (1)
 #define ENABLE_SENDFILE_UNSET  (2)
     unsigned int enable_sendfile : 2;  /* files in this dir can be sendfile'ed */
-    unsigned int allow_encoded_slashes : 1; /* URLs may contain %2f w/o being
-                                             * pitched indiscriminately */
 
 #define USE_CANONICAL_PHYS_PORT_OFF   (0)
 #define USE_CANONICAL_PHYS_PORT_ON    (1)
 #define USE_CANONICAL_PHYS_PORT_UNSET (2)
-    unsigned use_canonical_phys_port : 2;
+    unsigned int use_canonical_phys_port : 2;
+
+    unsigned int allow_encoded_slashes : 1; /* URLs may contain %2f w/o being
+                                             * pitched indiscriminately */
+    unsigned int decode_encoded_slashes : 1; /* whether to decode encoded slashes in URLs */
 
     ap_expr_info_t *condition;   /* Conditionally merge <If> sections */
 
     /** per-dir log config */
     struct ap_logconf *log;
 
-    unsigned int decode_encoded_slashes : 1; /* whether to decode encoded slashes in URLs */
 } core_dir_config;
 
 /* macro to implement off by default behaviour */