Loading...
This site is best viewed in a modern browser with JavaScript enabled.
Something went wrong while trying to load the full version of this site. Try hard-refreshing this page to fix the error.
openresty里的lua与插件交互问题
aigoruan
我希望在openrety里加载c插件,然后在c插件里获取lua的运行环境,有什么办法吗?有这方面参考资料吗?
aigoruan
在 2016年10月30日星期日 UTC+8下午12:03:46,aigo ruan写道:
我希望在openrety里加载c插件,
然后在c插件里获取lua的运行环境,有什么办法吗?
有这方面参考资料吗?
另外还想问一下:
如果tcp的上层业务逻辑不是nginx的works线程处理,而是创建的线程处理,这个时候直接调用tcp读写,会有异常吗?用libevent来做的时候,很容易出现异常,需要传递返回libevent的线程里处理才行