You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by hu...@apache.org on 2014/04/21 18:23:33 UTC
svn commit: r1588915 - /httpd/httpd/branches/2.4.x/modules/lua/lua_request.c
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);