You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by gr...@apache.org on 2005/05/25 20:05:06 UTC
svn commit: r178500 - in /httpd/httpd/branches/2.0.x: CHANGES STATUS
modules/mappers/mod_rewrite.c
Author: gregames
Date: Wed May 25 11:05:05 2005
New Revision: 178500
URL: http://svn.apache.org/viewcvs?rev=178500&view=rev
Log:
mod_rewrite: use buffered I/O for RewriteMap txt: files
Modified:
httpd/httpd/branches/2.0.x/CHANGES
httpd/httpd/branches/2.0.x/STATUS
httpd/httpd/branches/2.0.x/modules/mappers/mod_rewrite.c
Modified: httpd/httpd/branches/2.0.x/CHANGES
URL: http://svn.apache.org/viewcvs/httpd/httpd/branches/2.0.x/CHANGES?rev=178500&r1=178499&r2=178500&view=diff
==============================================================================
--- httpd/httpd/branches/2.0.x/CHANGES (original)
+++ httpd/httpd/branches/2.0.x/CHANGES Wed May 25 11:05:05 2005
@@ -1,4 +1,7 @@
Changes with Apache 2.0.55
+
+ *) mod_rewrite: use buffered I/O to improve performance with large
+ RewriteMap txt: files. [Greg Ames]
*) proxy HTTP: Rework the handling of request bodies to handle
chunked input and input filters which modify content length, and
Modified: httpd/httpd/branches/2.0.x/STATUS
URL: http://svn.apache.org/viewcvs/httpd/httpd/branches/2.0.x/STATUS?rev=178500&r1=178499&r2=178500&view=diff
==============================================================================
--- httpd/httpd/branches/2.0.x/STATUS (original)
+++ httpd/httpd/branches/2.0.x/STATUS Wed May 25 11:05:05 2005
@@ -129,10 +129,6 @@
(ignore changes to event MPM, which don't apply to 2.0.x)
+1: trawick, jorton, gregames
- *) mod_rewrite: use buffered I/O for RewriteMap txt: files
- http://svn.apache.org/viewcvs.cgi?rev=161354&view=rev
- +1: gregames, trawick, striker
-
*) several changes to improve logging of connection-oriented errors, including
ap_log_cerror() API (needs minor bump in addition to changes below)
http://cvs.apache.org/viewcvs.cgi/httpd-2.0/server/core.c?r1=1.289&r2=1.291
Modified: httpd/httpd/branches/2.0.x/modules/mappers/mod_rewrite.c
URL: http://svn.apache.org/viewcvs/httpd/httpd/branches/2.0.x/modules/mappers/mod_rewrite.c?rev=178500&r1=178499&r2=178500&view=diff
==============================================================================
--- httpd/httpd/branches/2.0.x/modules/mappers/mod_rewrite.c (original)
+++ httpd/httpd/branches/2.0.x/modules/mappers/mod_rewrite.c Wed May 25 11:05:05 2005
@@ -3165,7 +3165,7 @@
char *curkey;
char *curval;
- rc = apr_file_open(&fp, file, APR_READ, APR_OS_DEFAULT, r->pool);
+ rc = apr_file_open(&fp, file, APR_READ|APR_BUFFERED, APR_OS_DEFAULT, r->pool);
if (rc != APR_SUCCESS) {
return NULL;
}