mirror of
https://github.com/apache/httpd.git
synced 2025-11-09 15:21:02 +03:00
Add a sub-request filter. This filter just strips the EOS from the
brigade generated by the sub-request. If this is not done, then the main-request's core_output_filter will get very confused, as will any other filter in the main-request filter-stack that looks for EOS. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@86618 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -60,6 +60,7 @@
|
||||
#define APACHE_HTTP_REQUEST_H
|
||||
|
||||
#include "ap_hooks.h"
|
||||
#include "util_filter.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
@@ -121,6 +122,15 @@ AP_DECLARE(request_rec *) ap_sub_req_lookup_file(const char *new_file,
|
||||
AP_DECLARE(request_rec *) ap_sub_req_method_uri(const char *method,
|
||||
const char *new_file,
|
||||
const request_rec *r);
|
||||
/**
|
||||
* An output filter to strip EOS buckets from sub-requests. This always
|
||||
* has to be inserted at the end of a sub-requests filter stack.
|
||||
* @param f The current filter
|
||||
* @param bb The brigade to filter
|
||||
* @deffuc apr_status_t ap_sub_req_output_filter(ap_filter_t *f, ap_bucket_brigade *bb)
|
||||
*/
|
||||
AP_CORE_DECLARE(apr_status_t) ap_sub_req_output_filter(ap_filter_t *f,
|
||||
ap_bucket_brigade *bb);
|
||||
|
||||
/**
|
||||
* Run the handler for the sub request
|
||||
|
||||
Reference in New Issue
Block a user