httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@apache.org
Subject cvs commit: httpd-2.0/docs/manual/mod mod_charset_lite.html
Date Mon, 10 Dec 2001 19:07:32 GMT
trawick     01/12/10 11:07:32

  Modified:    modules/experimental mod_charset_lite.c
               docs/manual/mod mod_charset_lite.html
  Log:
  get rid of an ancient requirement that APACHE_XLATE be defined;
  get rid of an ancient work-around for a problem with apr_heap_create
  
  Revision  Changes    Path
  1.53      +3 -13     httpd-2.0/modules/experimental/mod_charset_lite.c
  
  Index: mod_charset_lite.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/experimental/mod_charset_lite.c,v
  retrieving revision 1.52
  retrieving revision 1.53
  diff -u -r1.52 -r1.53
  --- mod_charset_lite.c	2001/11/12 03:23:12	1.52
  +++ mod_charset_lite.c	2001/12/10 19:07:32	1.53
  @@ -79,25 +79,15 @@
   #include "util_filter.h"
   #include "apr_strings.h"
   #include "apr_lib.h"
  +#include "apr_xlate.h"
   #define APR_WANT_STRFUNC
   #include "apr_want.h"
   
  -#ifndef APACHE_XLATE
  -#error mod_charset_lite cannot work without APACHE_XLATE enabled
  -#endif
  -
   #define OUTPUT_XLATE_BUF_SIZE (16*1024) /* size of translation buffer used on output */
   #define INPUT_XLATE_BUF_SIZE  (8*1024)  /* size of translation buffer used on input */
   
  -/* XXX this works around an issue with the heap bucket: apr_bucket_heap_create will 
  - *     copy only the first 4096 bytes
  - * XXX: this comment is just plain wrong, or at least it is now. --jcw 11/01
  - */
  -#undef INPUT_XLATE_BUF_SIZE         /* XXX */
  -#define INPUT_XLATE_BUF_SIZE (4096) /* XXX must match DEFAULT_BUCKET_SIZE */
  -
   #define XLATE_MIN_BUFF_LEFT 128  /* flush once there is no more than this much
  -                                  * space is left in the translation buffer 
  +                                  * space left in the translation buffer 
                                     */
   
   #define FATTEST_CHAR  8          /* we don't handle chars wider than this that straddle

  @@ -144,7 +134,7 @@
       int ran;                /* has filter instance run before? */
       int noop;               /* should we pass brigades through unchanged? */
       char *tmp;              /* buffer for input filtering */
  -    apr_bucket_brigade *bb;  /* input buckets we couldn't finish translating */
  +    apr_bucket_brigade *bb; /* input buckets we couldn't finish translating */
   } charset_filter_ctx_t;
   
   /* charset_req_t is available via r->request_config if any translation is
  
  
  
  1.8       +0 -3      httpd-2.0/docs/manual/mod/mod_charset_lite.html
  
  Index: mod_charset_lite.html
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/docs/manual/mod/mod_charset_lite.html,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- mod_charset_lite.html	2001/09/22 19:36:01	1.7
  +++ mod_charset_lite.html	2001/12/10 19:07:32	1.8
  @@ -49,9 +49,6 @@
       <code>mod_charset_lite</code> is needed in order for any
       translation to take place.</p>
   
  -    <p>This module will only work if <code>APACHE_XLATE</code> is
  -    defined at compile time.</p>
  -
       <p>This module provides a small subset of configuration
       mechanisms implemented by Russian Apache and its associated
       <code>mod_charset</code>.</p>
  
  
  

Mime
View raw message