httpd-apreq-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j...@apache.org
Subject cvs commit: httpd-apreq-2/env mod_apreq.c
Date Sun, 20 Jun 2004 16:57:10 GMT
joes        2004/06/20 09:57:10

  Modified:    env      mod_apreq.c
  Log:
  apreq_filter_init must deregister proto filters, even if they're at the top of the input
filter chain
  
  Revision  Changes    Path
  1.49      +5 -5      httpd-apreq-2/env/mod_apreq.c
  
  Index: mod_apreq.c
  ===================================================================
  RCS file: /home/cvs/httpd-apreq-2/env/mod_apreq.c,v
  retrieving revision 1.48
  retrieving revision 1.49
  diff -u -r1.48 -r1.49
  --- mod_apreq.c	20 Jun 2004 16:01:38 -0000	1.48
  +++ mod_apreq.c	20 Jun 2004 16:57:10 -0000	1.49
  @@ -13,7 +13,7 @@
   **  See the License for the specific language governing permissions and
   **  limitations under the License.
   */
  -#include "assert.h"
  +
   #include "httpd.h"
   #include "http_config.h"
   #include "http_log.h"
  @@ -375,10 +375,10 @@
       struct env_config *cfg = get_cfg(r);
       ap_filter_t *in;
   
  -    if (f == r->input_filters)
  -        return APR_SUCCESS;
  -
       if (f != r->proto_input_filters) {
  +        if (f == r->input_filters)
  +            return APR_SUCCESS;
  +
           for (in = r->input_filters; in != r->proto_input_filters; 
                in = in->next)
           {
  @@ -453,7 +453,7 @@
   
       ctx = f->ctx;
   
  -    if (f != r->input_filters)
  +    if (cfg->f != f)
           ctx->status = APR_SUCCESS;
   
       if (bb != NULL) {
  
  
  

Mime
View raw message