httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From humbed...@apache.org
Subject svn commit: r1588915 - /httpd/httpd/branches/2.4.x/modules/lua/lua_request.c
Date Mon, 21 Apr 2014 16:23:33 GMT
Author: humbedooh
Date: Mon Apr 21 16:23:32 2014
New Revision: 1588915

URL: http://svn.apache.org/r1588915
Log:
fix lua_ap_requestbody (bad backport?)

Modified:
    httpd/httpd/branches/2.4.x/modules/lua/lua_request.c

Modified: httpd/httpd/branches/2.4.x/modules/lua/lua_request.c
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.4.x/modules/lua/lua_request.c?rev=1588915&r1=1588914&r2=1588915&view=diff
==============================================================================
--- httpd/httpd/branches/2.4.x/modules/lua/lua_request.c (original)
+++ httpd/httpd/branches/2.4.x/modules/lua/lua_request.c Mon Apr 21 16:23:32 2014
@@ -429,7 +429,7 @@ static int lua_ap_requestbody(lua_State 
         if (!filename) {
             const char     *data;
 
-            if (lua_read_body(r, &data, &size) != OK)
+            if (lua_read_body(r, &data, &size, maxSize) != OK)
                 return (0);
 
             lua_pushlstring(L, data, (size_t) size);



Mime
View raw message