You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by bn...@apache.org on 2022/12/05 18:02:04 UTC
[trafficserver] branch master updated: up limits of lua string length and url length (#9214)
This is an automated email from the ASF dual-hosted git repository.
bnolsen pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git
The following commit(s) were added to refs/heads/master by this push:
new ba67d5dc6 up limits of lua string length and url length (#9214)
ba67d5dc6 is described below
commit ba67d5dc601efa98859bef44d4af61a66377cef4
Author: Brian Olsen <br...@comcast.com>
AuthorDate: Mon Dec 5 11:01:56 2022 -0700
up limits of lua string length and url length (#9214)
* up limits of lua string length and url length
* change from 32000 to 32k
---
plugins/lua/ts_lua_common.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/plugins/lua/ts_lua_common.h b/plugins/lua/ts_lua_common.h
index c39d03990..a499b79f7 100644
--- a/plugins/lua/ts_lua_common.h
+++ b/plugins/lua/ts_lua_common.h
@@ -66,10 +66,10 @@
#define TS_LUA_MAX_CONFIG_VARS_COUNT 256
#define TS_LUA_MAX_SHARED_DICT_NAME_LENGTH 128
#define TS_LUA_MAX_SHARED_DICT_COUNT 32
-#define TS_LUA_MAX_URL_LENGTH 2048
+#define TS_LUA_MAX_URL_LENGTH 32768
#define TS_LUA_MAX_OVEC_SIZE (3 * 32)
#define TS_LUA_MAX_RESIDENT_PCRE 64
-#define TS_LUA_MAX_STR_LENGTH 2048
+#define TS_LUA_MAX_STR_LENGTH 32768
#define TS_LUA_MIN_ALIGN sizeof(void *)
#define TS_LUA_MEM_ALIGN(size) (((size) + ((TS_LUA_MIN_ALIGN)-1)) & ~((TS_LUA_MIN_ALIGN)-1))