httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@locus.apache.org
Subject cvs commit: apache-2.0/src/main http_protocol.c
Date Thu, 12 Oct 2000 04:47:22 GMT
rbb         00/10/11 21:47:21

  Modified:    src/include httpd.h
               src/main http_protocol.c
  Log:
  We never actually store anything in input_data (from the conn_rec), so it
  doesn't make much sense to check to see if there is something there.  This
  removes the input_data brigade from the conn_rec altogether.  There is no
  good reason for a filter to be accessing a bucket brigade from within the
  conn_rec.  This shouldn't be here anymore, just like the output_filter
  shouldn't be storing the data in the conn_rec.
  
  Revision  Changes    Path
  1.98      +0 -4      apache-2.0/src/include/httpd.h
  
  Index: httpd.h
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/include/httpd.h,v
  retrieving revision 1.97
  retrieving revision 1.98
  diff -u -r1.97 -r1.98
  --- httpd.h	2000/10/10 03:35:11	1.97
  +++ httpd.h	2000/10/12 04:47:21	1.98
  @@ -77,7 +77,6 @@
   
   /* Headers in which EVERYONE has an interest... */
   #include "ap_config.h"
  -#include "ap_buckets.h"
   #include "os.h"
   #include "apr_general.h"
   #include "apr_lib.h"
  @@ -904,9 +903,6 @@
       /** A list of input filters to be used for this request 
        *  @defvar ap_filter_t *filters */
       struct ap_filter_t *input_filters;
  -    /** Location to store data read from the client.
  -     *  @defvar ap_bucket_brigade *input_data */
  -    struct ap_bucket_brigade *input_data;
       /** A list of output filters to be used for this connection
        *  @defvar ap_filter_t *filters */
       struct ap_filter_t *output_filters;
  
  
  
  1.162     +1 -6      apache-2.0/src/main/http_protocol.c
  
  Index: http_protocol.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/main/http_protocol.c,v
  retrieving revision 1.161
  retrieving revision 1.162
  diff -u -r1.161 -r1.162
  --- http_protocol.c	2000/10/12 03:57:45	1.161
  +++ http_protocol.c	2000/10/12 04:47:21	1.162
  @@ -956,12 +956,7 @@
       ap_bucket_brigade *b;
       ap_bucket *e;
   
  -    if (!c->input_data) {
  -        b = ap_brigade_create(c->pool);
  -    }
  -    else {
  -        b = c->input_data;
  -    }
  +    b = ap_brigade_create(c->pool);
   
       while (1) {
           if (AP_BRIGADE_EMPTY(b)) {
  
  
  

Mime
View raw message