You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by wr...@apache.org on 2010/09/27 22:46:51 UTC
svn commit: r1001902 - /httpd/sandbox/replacelimit/ap.d
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;