Browse Source

* Corrected alignment for some fields (missing bitfields)

git-svn-id: trunk@17917 -
michael 14 years ago
parent
commit
f2654e1043
2 changed files with 3 additions and 2 deletions
  1. 1 0
      packages/httpd22/src/aprutil/apr_uri.inc
  2. 2 2
      packages/httpd22/src/http_core.inc

+ 1 - 0
packages/httpd22/src/aprutil/apr_uri.inc

@@ -100,6 +100,7 @@ type
     { The port number, numeric, valid only if port_str != NULL }
     { The port number, numeric, valid only if port_str != NULL }
     port: apr_port_t;
     port: apr_port_t;
     
     
+    BitFlags : Cardinal; // Takes care of is_initialized, dns_looked_up and dns_resolved
     { has the structure been initialized }
     { has the structure been initialized }
 //    unsigned is_initialized:1;
 //    unsigned is_initialized:1;
 
 

+ 2 - 2
packages/httpd22/src/http_core.inc

@@ -534,7 +534,7 @@ type
   
   
     response_code_strings: PPChar; { from ErrorDocument, not from
     response_code_strings: PPChar; { from ErrorDocument, not from
                                    * ap_custom_response() }
                                    * ap_custom_response() }
-
+    flags : cardinal; // takes care of  hostname_lookup, content_md5, use_canonical_name d_is_fnmatch and add_default_charse
     { Hostname resolution etc }
     { Hostname resolution etc }
 {    unsigned int hostname_lookups : 4; }
 {    unsigned int hostname_lookups : 4; }
 
 
@@ -591,7 +591,7 @@ type
     etag_bits: etag_components_t;
     etag_bits: etag_components_t;
     etag_add: etag_components_t;
     etag_add: etag_components_t;
     etag_remove: etag_components_t;
     etag_remove: etag_components_t;
-
+    flags2 : cardinal; // Takes care of   enable_mmap, enable_sendfile, allow_encoded_slashes and use_canonical_phys_port
     {
     {
      * Run-time performance tuning
      * Run-time performance tuning
      }
      }