httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jerenkra...@apache.org
Subject cvs commit: httpd-2.0/modules/http http_request.c
Date Thu, 27 Jun 2002 04:40:48 GMT
jerenkrantz    2002/06/26 21:40:48

  Modified:    .        CHANGES
               modules/http http_request.c
  Log:
  Fix infinite loop when reading certain data due to two HTTP_IN filters being
  present for internally redirected requests.
  
  If HTTP_IN is present, r->proto_input_filters would have it, so adding it
  twice is wrong.
  
  PR: 10146
  Reviewed by:	Brian Pane
  
  Revision  Changes    Path
  1.852     +3 -0      httpd-2.0/CHANGES
  
  Index: CHANGES
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/CHANGES,v
  retrieving revision 1.851
  retrieving revision 1.852
  diff -u -r1.851 -r1.852
  --- CHANGES	26 Jun 2002 19:45:05 -0000	1.851
  +++ CHANGES	27 Jun 2002 04:40:47 -0000	1.852
  @@ -1,5 +1,8 @@
   Changes with Apache 2.0.40
   
  +  *) Fix infinite loop due to two HTTP_IN filters being present for
  +     internally redirected requests.  PR 10146.  [Justin Erenkrantz]
  +
     *) Switch conn_rec->keepalive to an enumeration rather than a bitfield.
        [Justin Erenkrantz]
   
  
  
  
  1.151     +0 -2      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.150
  retrieving revision 1.151
  diff -u -r1.150 -r1.151
  --- http_request.c	26 Jun 2002 19:45:06 -0000	1.150
  +++ http_request.c	27 Jun 2002 04:40:47 -0000	1.151
  @@ -383,8 +383,6 @@
           f = f->next;
       }
   
  -    ap_add_input_filter("HTTP_IN", NULL, new, new->connection);
  -
       apr_table_setn(new->subprocess_env, "REDIRECT_STATUS",
                      apr_itoa(r->pool, r->status));
   
  
  
  

Mime
View raw message