openresty 现在貌似是没有提供调整 pcre jit stack 选项的功能的。
不知道是否可以提供 subject 和 pattern 的具体值呢?
在 2017年4月1日星期六 UTC+8下午6:03:19,weish...@163.com写道:
代码如下:ngx.re.match(subject, pattern, opts)
其中subject的长度为82575字节。
错误提示如下: error in ngx.re.match: pcre_exec() failed: -27
查看错误码是-27,是运行时栈空间不足了,请问如何调整openresty的 jit_stack_size。
PCRE_ERROR_JIT_STACKLIMIT (-27)
This error is returned when a pattern that was successfully studied using a JIT compile option is being matched, but the memory available for the just-in-time processing stack is not large enough. See the pcrejit documentation for more details.
我尝试添加 lua_regex_match_limit 102400 也不行,请问如何调整这个大小限制呢,默认限制是多少呢?