You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by sf...@apache.org on 2011/06/04 21:04:55 UTC

svn commit: r1131468 - /httpd/httpd/trunk/include/http_core.h

Author: sf
Date: Sat Jun  4 19:04:54 2011
New Revision: 1131468

URL: http://svn.apache.org/viewvc?rev=1131468&view=rev
Log:
Reorder members in core_dir_config to be more logical and efficient.
MMN bump was already in r1131465

Modified:
    httpd/httpd/trunk/include/http_core.h

Modified: httpd/httpd/trunk/include/http_core.h
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/include/http_core.h?rev=1131468&r1=1131467&r2=1131468&view=diff
==============================================================================
--- httpd/httpd/trunk/include/http_core.h (original)
+++ httpd/httpd/trunk/include/http_core.h Sat Jun  4 19:04:54 2011
@@ -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 */