openresty将带有userdata类型的table设置成共享内存的value

42 views
Skip to first unread message

汪剑

unread,
Jul 14, 2022, 2:50:59 AM7/14/22
to openresty
如题,急,需要将带有userdata类型的table设置成共享内存的value,而且并不能修改这个table,即不能进行cjson转换等,有哪些办法可以实现呢?

Junlong li

unread,
Jul 17, 2022, 9:47:45 PM7/17/22
to openresty
这个看起来是做不到的

along

unread,
Aug 9, 2022, 10:04:06 PM8/9/22
to openresty
https://github.com/openresty/lua-resty-limit-traffic/blob/master/lib/resty/limit/req.lua#L110 不知道这个是否可以满足

On Thursday, July 14, 2022 at 2:50:59 PM UTC+8 success...@gmail.com wrote:
Reply all
Reply to author
Forward
0 new messages