You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl-cvs@perl.apache.org by do...@apache.org on 2002/08/19 22:07:01 UTC

cvs commit: modperl-2.0/src/modules/perl modperl_filter.c

dougm       2002/08/19 13:07:01

  Modified:    .        Changes
               src/modules/perl modperl_filter.c
  Log:
  fix PerlOptions +ParseHeaders to only parse once per-request
  
  Revision  Changes    Path
  1.35      +2 -0      modperl-2.0/Changes
  
  Index: Changes
  ===================================================================
  RCS file: /home/cvs/modperl-2.0/Changes,v
  retrieving revision 1.34
  retrieving revision 1.35
  diff -u -r1.34 -r1.35
  --- Changes	19 Aug 2002 20:02:24 -0000	1.34
  +++ Changes	19 Aug 2002 20:07:01 -0000	1.35
  @@ -10,6 +10,8 @@
   
   =item 1.99_05-dev
   
  +fix PerlOptions +ParseHeaders to only parse once per-request
  +
   add external redirects Registry tests [Stas Bekman]
   
   get rid of the compat layer in ModPerl-Registry [Stas Bekman]
  
  
  
  1.38      +2 -0      modperl-2.0/src/modules/perl/modperl_filter.c
  
  Index: modperl_filter.c
  ===================================================================
  RCS file: /home/cvs/modperl-2.0/src/modules/perl/modperl_filter.c,v
  retrieving revision 1.37
  retrieving revision 1.38
  diff -u -r1.37 -r1.38
  --- modperl_filter.c	14 Aug 2002 14:54:47 -0000	1.37
  +++ modperl_filter.c	19 Aug 2002 20:07:01 -0000	1.38
  @@ -14,6 +14,8 @@
           const char *bodytext = NULL;
           int status = modperl_cgi_header_parse(r, (char *)buf, &bodytext);
   
  +        wb->header_parse = 0; /* only once per-request */
  +
           if (status == HTTP_MOVED_TEMPORARILY) {
               return APR_SUCCESS; /* XXX: HTTP_MOVED_TEMPORARILY ? */
           }