1
0
mirror of https://github.com/apache/httpd.git synced 2025-08-08 15:02:10 +03:00

- Define LUA_COMPAT_ALL so mod_lua will be compatible with Lua 5.2

- Add an optional integer argument for parsebody, specifying the maximum size of POST that will be accepted.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1361298 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Daniel Gruno
2012-07-13 16:59:07 +00:00
parent 52510a70cf
commit f921f8cbde
2 changed files with 5 additions and 1 deletions

View File

@@ -44,6 +44,8 @@
#include "lauxlib.h"
#include "lualib.h"
/* Allow for Lua 5.2 backwards compatibility */
#define LUA_COMPAT_ALL
#if LUA_VERSION_NUM > 501
/* Load mode for lua_load() */
#define lua_load(a,b,c,d) lua_load(a,b,c,d,NULL)