diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-11-25 13:47:27 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-11-25 13:47:27 +0000 |
commit | f7466e9e3871de4a71c217a38b208ff364349045 (patch) | |
tree | 4f8b2d3b5a38fd251c0ac5c487e91ee511ec9508 | |
parent | 44acab4cf9206b7bacc400453bc5b5b8361d9f12 (diff) | |
download | rspamd-f7466e9e3871de4a71c217a38b208ff364349045.tar.gz rspamd-f7466e9e3871de4a71c217a38b208ff364349045.zip |
[Minor] Add lua 5.3 support
-rw-r--r-- | CMakeLists.txt | 7 | ||||
-rw-r--r-- | src/libutil/http.c | 1 |
2 files changed, 5 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 6cd513347..cef1d25f9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -636,9 +636,12 @@ IF(ENABLE_LUAJIT MATCHES "ON") INCLUDE_DIRECTORIES("${LUA_INCLUDE_DIR}") ENDIF(NOT LUA_FOUND) ELSE(ENABLE_LUAJIT MATCHES "ON") - FindLua(VERSION_MAJOR "5" VERSION_MINOR "2" ROOT "${LUA_ROOT}") + FindLua(VERSION_MAJOR "5" VERSION_MINOR "3" ROOT "${LUA_ROOT}") IF(NOT LUA_FOUND) - FindLua(VERSION_MAJOR "5" VERSION_MINOR "1" ROOT "${LUA_ROOT}") + FindLua(VERSION_MAJOR "5" VERSION_MINOR "2" ROOT "${LUA_ROOT}") + IF(NOT LUA_FOUND) + FindLua(VERSION_MAJOR "5" VERSION_MINOR "1" ROOT "${LUA_ROOT}") + ENDIF(NOT LUA_FOUND) ENDIF(NOT LUA_FOUND) IF(NOT LUA_FOUND) MESSAGE(FATAL_ERROR "Lua not found, lua support is required") diff --git a/src/libutil/http.c b/src/libutil/http.c index 4f1ce1ade..7f749b869 100644 --- a/src/libutil/http.c +++ b/src/libutil/http.c @@ -542,7 +542,6 @@ rspamd_http_finish_header (struct rspamd_http_connection *conn, DL_APPEND (hdr, priv->header); - rspamd_http_check_special_header (conn, priv); } |