httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject svn commit: r1001902 - /httpd/sandbox/replacelimit/ap.d
Date Mon, 27 Sep 2010 20:46:51 GMT
Author: wrowe
Date: Mon Sep 27 20:46:51 2010
New Revision: 1001902

URL: http://svn.apache.org/viewvc?rev=1001902&view=rev
Log:
allowed_methods is an embedded struct (not struct ptr) of just two
members, method_mask and method_list; simplify this for lua & debugging.

It is represented in C as a struct for purposes of initialization,
since the mask and list should both be zeroed out/prepared together.

Modified:
    httpd/sandbox/replacelimit/ap.d

Modified: httpd/sandbox/replacelimit/ap.d
URL: http://svn.apache.org/viewvc/httpd/sandbox/replacelimit/ap.d?rev=1001902&r1=1001901&r2=1001902&view=diff
==============================================================================
--- httpd/sandbox/replacelimit/ap.d (original)
+++ httpd/sandbox/replacelimit/ap.d Mon Sep 27 20:46:51 2010
@@ -18,7 +18,8 @@ typedef struct request_rec {
     int status;
     int method_number;
     const char *method;
-    int64_t allowed_methods;
+    int64_t allowed_methods_mask;
+    uintptr_t allowed_methods_list;
     offset_t sent_bodyct;
     offset_t bytes_sent;
     int64_t mtime;



Mime
View raw message