You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ig...@apache.org on 2012/03/24 01:43:23 UTC

svn commit: r1304688 - in /httpd/httpd/branches/2.4.x: ./ STATUS modules/filters/mod_request.c

Author: igalic
Date: Sat Mar 24 00:43:22 2012
New Revision: 1304688

URL: http://svn.apache.org/viewvc?rev=1304688&view=rev
Log:
vote

Modified:
    httpd/httpd/branches/2.4.x/   (props changed)
    httpd/httpd/branches/2.4.x/STATUS
    httpd/httpd/branches/2.4.x/modules/filters/mod_request.c

Propchange: httpd/httpd/branches/2.4.x/
------------------------------------------------------------------------------
  Merged /httpd/httpd/trunk:r1304641

Modified: httpd/httpd/branches/2.4.x/STATUS
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.4.x/STATUS?rev=1304688&r1=1304687&r2=1304688&view=diff
==============================================================================
--- httpd/httpd/branches/2.4.x/STATUS (original)
+++ httpd/httpd/branches/2.4.x/STATUS Sat Mar 24 00:43:22 2012
@@ -134,7 +134,7 @@ PATCHES PROPOSED TO BACKPORT FROM TRUNK:
   * mod_request: PR52981 check apr_stroff error correctly to allow KeptBodySize to be used
     Trunk patch: http://svn.apache.org/viewvc?rev=1304641&view=rev
     2.4.x patch: trunk works + CHANGES.
-    +1: covener
+    +1: covener, igalic
     
 PATCHES/ISSUES THAT ARE STALLED
 

Modified: httpd/httpd/branches/2.4.x/modules/filters/mod_request.c
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.4.x/modules/filters/mod_request.c?rev=1304688&r1=1304687&r2=1304688&view=diff
==============================================================================
--- httpd/httpd/branches/2.4.x/modules/filters/mod_request.c (original)
+++ httpd/httpd/branches/2.4.x/modules/filters/mod_request.c Sat Mar 24 00:43:22 2012
@@ -358,7 +358,7 @@ static const char *set_kept_body_size(cm
     char *end = NULL;
 
     if (APR_SUCCESS != apr_strtoff(&(conf->keep_body), arg, &end, 10)
-            || conf->keep_body < 0 || end) {
+            || conf->keep_body < 0 || *end) {
         return "KeptBodySize must be a valid size in bytes, or zero.";
     }
     conf->keep_body_set = 1;