httpd-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@locus.apache.org
Subject cvs commit: apache-2.0/src/include util_filter.h
Date Mon, 09 Oct 2000 17:39:11 GMT
trawick     00/10/09 10:39:10

  Modified:    src/include util_filter.h
  Log:
  Remove stray semicolon from AP_NOBODY_READ and AP_NOBODY_WROTE decls.
  Remove some out-of-date ap_pass_brigade() doc.
  Tweak the ap_get_brigade() doc a little.
  
  Revision  Changes    Path
  1.24      +3 -13     apache-2.0/src/include/util_filter.h
  
  Index: util_filter.h
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/include/util_filter.h,v
  retrieving revision 1.23
  retrieving revision 1.24
  diff -u -r1.23 -r1.24
  --- util_filter.h	2000/10/05 16:54:55	1.23
  +++ util_filter.h	2000/10/09 17:39:10	1.24
  @@ -71,8 +71,8 @@
    * @package Apache filter library
    */
   
  -#define AP_NOBODY_WROTE         -1;
  -#define AP_NOBODY_READ          -2;
  +#define AP_NOBODY_WROTE         -1
  +#define AP_NOBODY_READ          -2
   
   /*
    * FILTER CHAIN
  @@ -226,20 +226,10 @@
       conn_rec *c;
   };
   
  -/* This function just passes the current bucket brigade down to the next
  - * filter on the filter stack.  When a filter actually writes to the network
  - * (usually either core or SSL), that filter should return the number of bytes
  - * actually written and it will get propogated back up to the handler.  If
  - * nobody writes the data to the network, then this function will most likely
  - * seg fault.  I haven't come up with a good way to detect that case yet, and
  - * it should never happen.  Regardless, it's an unrecoverable error for the
  - * current request.  I would just rather it didn't take out the whole child
  - * process.  
  - */
   /**
    * Get the current bucket brigade from the next filter on the filter
    * stack.  The filter should return an apr_status_t value.  If the bottom-most 
  - * filter doesn't write to the network, then AP_NOBODY_WROTE is returned.
  + * filter doesn't write to the network, then AP_NOBODY_READ is returned.
    * @param filter The next filter in the chain
    * @param bucket The current bucket brigade
    * @return apr_status_t value
  
  
  

Mime
View raw message