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.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@86560
13f79535-47bb-0310-9956-
ffa450edef68
/* 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"
/** 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;
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)) {