httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject cvs commit: apache-1.3/src/main http_request.c
Date Sat, 28 Aug 2004 11:35:28 GMT
jim         2004/08/28 04:35:27

  Modified:    src/main http_request.c
  Log:
  Add in Rasmus' suggested comments, making it hopefully more crystal
  clear what we are doing and, more importantly, *why*.
  
  Revision  Changes    Path
  1.177     +5 -2      apache-1.3/src/main/http_request.c
  
  Index: http_request.c
  ===================================================================
  RCS file: /home/cvs/apache-1.3/src/main/http_request.c,v
  retrieving revision 1.176
  retrieving revision 1.177
  diff -u -r1.176 -r1.177
  --- http_request.c	27 Aug 2004 23:44:41 -0000	1.176
  +++ http_request.c	28 Aug 2004 11:35:27 -0000	1.177
  @@ -1051,8 +1051,11 @@
       }
   
       /*
  -     * We need to ensure that r->connection->keepalive is valid in
  -     * order to determine if we can discard the request body below.
  +     * We need to ensure that r->connection->keepalive is set in order
  +     * to determine if we need to call ap_discard_request_body() to read
  +     * the rest of the request body for this request.  There is no point
  +     * reading the body for this request if we are not in keepalive mode
  +     * since we are in ap_die() and about to toss this request anyway.
        */
       ap_set_keepalive(r);
   
  
  
  

Mime
View raw message