httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@apache.org
Subject cvs commit: httpd-2.0/modules/http http_core.c
Date Sat, 10 Feb 2001 00:33:38 GMT
rbb         01/02/09 16:33:38

  Modified:    .        CHANGES STATUS
               modules/experimental mod_charset_lite.c mod_ext_filter.c
               modules/http http_core.c
  Log:
  Change AddInputFilter and AddOutputFilter to SetInputFilter and
  SetOutputFilter.  This corresponds nicely with the other Set
  directives, which operate on containers while the Add* directives
  tend to work directly on extensions.  [Ryan Bloom]
  
  Revision  Changes    Path
  1.83      +5 -0      httpd-2.0/CHANGES
  
  Index: CHANGES
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/CHANGES,v
  retrieving revision 1.82
  retrieving revision 1.83
  diff -u -d -b -w -u -r1.82 -r1.83
  --- CHANGES	2001/02/09 07:17:50	1.82
  +++ CHANGES	2001/02/10 00:33:36	1.83
  @@ -1,5 +1,10 @@
   Changes with Apache 2.0b1
   
  +  *) Change AddInputFilter and AddOutputFilter to SetInputFilter and
  +     SetOutputFilter.  This corresponds nicely with the other Set 
  +     directives, which operate on containers while the Add* directives
  +     tend to work directly on extensions.  [Ryan Bloom]
  +
     *) Cleanup the header handling a bit.  This uses the apr_brigade_*
        functions for the buffering so that we don't need to compute
        the length of the headers before we actually create the header
  
  
  
  1.197     +1 -6      httpd-2.0/STATUS
  
  Index: STATUS
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/STATUS,v
  retrieving revision 1.196
  retrieving revision 1.197
  diff -u -d -b -w -u -r1.196 -r1.197
  --- STATUS	2001/02/08 00:20:10	1.196
  +++ STATUS	2001/02/10 00:33:36	1.197
  @@ -1,5 +1,5 @@
   APACHE 2.0 STATUS:						-*-text-*-
  -Last modified at [$Date: 2001/02/08 00:20:10 $]
  +Last modified at [$Date: 2001/02/10 00:33:36 $]
   
   Release:
   
  @@ -97,11 +97,6 @@
           Status: Greg volunteers
   
   RELEASE NON-SHOWSTOPPERS BUT WOULD BE REAL NICE TO WRAP THESE UP:
  -
  -    * The directives to setup output filters need to be re-visited.  These
  -      directives aren't consistent with what we already have, and they don't
  -      always make good sense.
  -          Status:  rbb volunteers.
   
       * Combine log_child and piped_log_spawn. Clean up http_log.c.
         Common logging API.
  
  
  
  1.40      +4 -4      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.39
  retrieving revision 1.40
  diff -u -d -b -w -u -r1.39 -r1.40
  --- mod_charset_lite.c	2001/02/08 07:44:00	1.39
  +++ mod_charset_lite.c	2001/02/10 00:33:37	1.40
  @@ -421,7 +421,7 @@
                             "xlate output filter not added implicitly because %s",
                             !reqinfo->output_ctx ? 
                             "no output configuration available" :
  -                          "AddOutputFilter was used to add the filter");
  +                          "SetOutputFilter was used to add the filter");
           }
   
           if (reqinfo->input_ctx && !configured_on_input(r, XLATEIN_FILTER_NAME))
{
  @@ -433,7 +433,7 @@
                             "xlate input filter not added implicitly because %s",
                             !reqinfo->input_ctx ?
                             "no input configuration available" :
  -                          "AddInputFilter was used to add the filter");
  +                          "SetInputFilter was used to add the filter");
           }
       }
   }
  @@ -848,7 +848,7 @@
       apr_status_t rv = APR_SUCCESS;
   
       if (!ctx) { 
  -        /* this is AddOutputFilter path; grab the preallocated context,
  +        /* this is SetOutputFilter path; grab the preallocated context,
            * if any; note that if we decided not to do anything in an earlier
            * handler, we won't even have a reqinfo
            */
  @@ -1017,7 +1017,7 @@
       int hit_eos;
   
       if (!ctx) { 
  -        /* this is AddInputFilter path; grab the preallocated context,
  +        /* this is SetInputFilter path; grab the preallocated context,
            * if any; note that if we decided not to do anything in an earlier
            * handler, we won't even have a reqinfo
            */
  
  
  
  1.9       +1 -1      httpd-2.0/modules/experimental/mod_ext_filter.c
  
  Index: mod_ext_filter.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/experimental/mod_ext_filter.c,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -d -b -w -u -r1.8 -r1.9
  --- mod_ext_filter.c	2001/02/08 07:44:00	1.8
  +++ mod_ext_filter.c	2001/02/10 00:33:37	1.9
  @@ -330,7 +330,7 @@
       AP_INIT_ITERATE("ExtFilterOptions",
                       add_options,
                       NULL,
  -                    ACCESS_CONF, /* same as AddInputFilter/AddOutputFilter */
  +                    ACCESS_CONF, /* same as SetInputFilter/SetOutputFilter */
                       "valid options: DebugLevel=n, LogStderr, NoLogStderr"),
       AP_INIT_RAW_ARGS("ExtFilterDefine",
                        define_filter,
  
  
  
  1.256     +2 -2      httpd-2.0/modules/http/http_core.c
  
  Index: http_core.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/http/http_core.c,v
  retrieving revision 1.255
  retrieving revision 1.256
  diff -u -d -b -w -u -r1.255 -r1.256
  --- http_core.c	2001/02/08 07:44:03	1.255
  +++ http_core.c	2001/02/10 00:33:38	1.256
  @@ -2889,9 +2889,9 @@
    * to leave it just in the conf file.  Other should feel free to disagree
    * with me.  Rbb.
    */
  -AP_INIT_ITERATE("AddOutputFilter", add_filter, NULL, ACCESS_CONF,
  +AP_INIT_ITERATE("SetOutputFilter", add_filter, NULL, ACCESS_CONF,
      "filters to be run"),
  -AP_INIT_ITERATE("AddInputFilter", add_input_filter, NULL, ACCESS_CONF,
  +AP_INIT_ITERATE("SetInputFilter", add_input_filter, NULL, ACCESS_CONF,
      "filters to be run on the request body"),
   { NULL }
   };
  
  
  

Mime
View raw message