Commit cdc5ae41 authored by Greg Ames's avatar Greg Ames
Browse files

mod_rewrite: use buffered I/O for RewriteMap txt: files


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.0.x@178500 13f79535-47bb-0310-9956-ffa450edef68
parent 8979bf3b
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
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
     avoid spooling arbitrary-sized request bodies in memory.
+0 −4
Original line number Diff line number Diff line
@@ -129,10 +129,6 @@ PATCHES TO BACKPORT FROM TRUNK:
           (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
+1 −1
Original line number Diff line number Diff line
@@ -3165,7 +3165,7 @@ static char *lookup_map_txtfile(request_rec *r, const char *file, char *key)
    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;
    }