From: Igor Galić Date: Sat, 24 Mar 2012 00:57:27 +0000 (+0000) Subject: revert r1304688: next time, look at the patch online, maybe.. X-Git-Tag: 2.4.2~131 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6577541b44b1275b6be224c1e9af6ddc88ed244f;p=apache revert r1304688: next time, look at the patch online, maybe.. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1304689 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/STATUS b/STATUS index 910f47d0ce..5f4098adca 100644 --- a/STATUS +++ b/STATUS @@ -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, igalic + +1: covener PATCHES/ISSUES THAT ARE STALLED diff --git a/modules/filters/mod_request.c b/modules/filters/mod_request.c index 9cbde0a988..ae59ab6329 100644 --- a/modules/filters/mod_request.c +++ b/modules/filters/mod_request.c @@ -358,7 +358,7 @@ static const char *set_kept_body_size(cmd_parms *cmd, void *dconf, 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;