httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject cvs commit: httpd-2.0/modules/http http_request.c
Date Fri, 31 Aug 2001 02:29:48 GMT
wrowe       01/08/30 19:29:48

  Modified:    modules/http http_request.c
  Log:
    After calling ap_process_request_internal(), the caller must invoke
    the handler themselves.
  
  Revision  Changes    Path
  1.111     +12 -0     httpd-2.0/modules/http/http_request.c
  
  Index: http_request.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/http/http_request.c,v
  retrieving revision 1.110
  retrieving revision 1.111
  diff -u -r1.110 -r1.111
  --- http_request.c	2001/08/31 01:38:06	1.110
  +++ http_request.c	2001/08/31 02:29:48	1.111
  @@ -286,6 +286,10 @@
       else if (access_status == DECLINED) {
            access_status = ap_process_request_internal(r);
            if (access_status == OK) {
  +             if ((access_status = ap_invoke_handler(r)) != 0) {
  +                 ap_die(access_status, r);
  +                 return;
  +             }
                ap_finalize_request_protocol(r);
            }
            else {
  @@ -441,6 +445,10 @@
       request_rec *new = internal_internal_redirect(new_uri, r);
       int access_status = ap_process_request_internal(new);
       if (access_status == OK) {
  +        if ((access_status = ap_invoke_handler(r)) != 0) {
  +            ap_die(access_status, r);
  +            return;
  +        }
           ap_finalize_request_protocol(r);
       }
       else {
  @@ -460,6 +468,10 @@
           new->content_type = r->content_type;
       access_status = ap_process_request_internal(new);
       if (access_status == OK) {
  +        if ((access_status = ap_invoke_handler(r)) != 0) {
  +            ap_die(access_status, r);
  +            return;
  +        }
           ap_finalize_request_protocol(r);
       }
       else {
  
  
  

Mime
View raw message