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:
@@ -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)
|
||||
|
Reference in New Issue
Block a user