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 Tue, 20 May 2003 22:08:49 GMT
joes        2003/05/20 15:08:49

  Modified:    env      mod_apreq.c
  Log:
  Safer to assign req->body = NULL, since this condition is used to signal whether or not
parsing has already begun.
  
  Revision  Changes    Path
  1.14      +2 -1      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.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- mod_apreq.c	20 May 2003 20:42:16 -0000	1.13
  +++ mod_apreq.c	20 May 2003 22:08:49 -0000	1.14
  @@ -248,10 +248,11 @@
                * NOTE:
                *   req->parser != NULL && req->body != NULL, since 
                *   apreq_parse_request was called at least once already.
  +             * 
                */
   
                req->parser = NULL;
  -             apr_table_clear(req->body);
  +             req->body = NULL;
   
                ctx->bytes_seen = 0;
                apr_brigade_cleanup(ctx->bb);
  
  
  

Mime
View raw message