portl4t
portl4t
https://github.com/portl4t/ts-lua/wiki/support-Lua-5.2
试试ts.add_package_path看看如何 https://github.com/portl4t/ts-lua/wiki/Doc#tsadd_package_path
在do_remap中hook这两个阶段不就可以了么?
官方的ATS可能没办法使用两个lua脚本, 我印象中我们过去维护的ATS是可以的,配置完全整改过
This problem has serveral solutions: Before we configure ats, we can execute the following command first: export LIBS=-llua-5.1 and after we build over, the binary traffic_server will require the liblua-5.1.so,...
The way as I see, apache traffic server doesn't support post chunked request, and there may be bug exist if the request body should be transformed. We can get information...
We can say that apache traffic server can not work well with post chunked request if the body should be transformed. Function HttpSM:: state_request_wait_for_transform_read() may not be used if there...
I think this can make some help. https://groups.google.com/forum/#!topic/ts-lua/8cIMN78bDB0 On Wed, May 21, 2014 at 5:39 PM, PasqualePuzio [email protected] wrote: > That's really bad!! By the way, if I don't activate...
嗯, 这个后续再看一下吧, 我是觉得如果脚本加载出错依然让ats正常服务的话, 有可能很难察觉到lua加载出错
获取method这个不难, 只是我最近还没来得及添加, 应该是以一个函数的形式来体现,例如: ts.client_request.get_method() body内容的话, 我需要想一下, 因为数据都是流式的么, 可能类似于transform那种的