httpd-apreq-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j...@apache.org
Subject cvs commit: httpd-apreq-2/glue/perl/xsbuilder/Apache/Request Apache__Request.h
Date Fri, 27 Jun 2003 11:49:04 GMT
joes        2003/06/27 04:49:03

  Modified:    glue/perl/xsbuilder/Apache/Request Apache__Request.h
  Log:
  Use buffered IO for generated link files. Should provide better performance since the brigade
is probably small enough to avoid a syswrite.
  
  Revision  Changes    Path
  1.10      +4 -2      httpd-apreq-2/glue/perl/xsbuilder/Apache/Request/Apache__Request.h
  
  Index: Apache__Request.h
  ===================================================================
  RCS file: /home/cvs/httpd-apreq-2/glue/perl/xsbuilder/Apache/Request/Apache__Request.h,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- Apache__Request.h	27 Jun 2003 11:41:06 -0000	1.9
  +++ Apache__Request.h	27 Jun 2003 11:49:03 -0000	1.10
  @@ -106,8 +106,10 @@
       f = apreq_brigade_spoolfile(bb);
       if (f == NULL) {
           apr_off_t len;
  -        s = apr_file_open(&f, name, APR_CREATE | APR_EXCL | APR_WRITE | APR_READ
  -                          | APR_BINARY, APR_OS_DEFAULT, apreq_env_pool(env));
  +        s = apr_file_open(&f, name, APR_CREATE | APR_EXCL | APR_WRITE |
  +                          APR_READ | APR_BINARY | APR_BUFFERED, 
  +                          APR_OS_DEFAULT,
  +                          apreq_env_pool(env));
           if (s != APR_SUCCESS)
               XSRETURN_IV(s);
           s = apreq_brigade_fwrite(f, &len, bb);
  
  
  

Mime
View raw message