能不能多提供一些
coroutine.* 和 ngx.thread.* API.有关的基于场景的小例子进行学习啊,文档这方面偏少了点,感觉只是基于编程技巧的,而非基于场景的。
|
陈伟 Chen Wei
多媒体业务产品部
|
| 云计算及IT产品经营部
|
Cloud Computing &
IT Product Operation
|
1/F, Building No. 3, ZTE
Corporation, Yuhuatai District, ,
Nanjing, P.R.China, 210012
Mobile: +86-18913979100
Email: chen...@zte.com.cn
More Information: VAS
、Cloud |
|
发件人:
"Yichun
Zhang (agentzh)" <age...@gmail.com>
收件人:
openresty <openresty@googlegroups.com>,
日期:
2016/01/03
01:46
主题:
Re: [openresty]
API disabled in the context of ssl_certificate_by_lua*
发件人:
openresty@googlegroups.com
Hello!
On Fri, Jan 1, 2016 at 1:55 AM, Shine Zhang wrote:
> 我想调用网络接口来获取ssl信息报 API disabled
in the context of ssl_certificate_by_lua*
> 错误,我想问下在ssl_certificate_by_lua里是不是不能用
coroutine ?
>
其实可以使用,只是没有用户提这样的需求而已。我刚刚已经在那个
ssl-cert-by-lua 分支里面为
ssl_certificate_by_lua* 上下文开启了 coroutine.* 和 ngx.thread.*
API.
并添加了对应的测试用例,应该是可以工作的。
欢迎反馈效果。
值得一提的是,我眼下正在做合并 ssl_certificate_by_lua* 特性进主干的代码清理和调整工作。
Regards,
-agentzh
--
--------------------------------------------------------
ZTE Information Security Notice: The information contained in this mail (and any attachment transmitted herewith) is privileged and confidential and is intended for the exclusive use of the addressee(s). If you are not an intended recipient, any disclosure, reproduction, distribution or other dissemination or use of the information contained is strictly prohibited. If you have received this mail in error, please delete it and notify us immediately.
--------------------------------------------------------
ZTE Information Security Notice: The information contained in this mail (and any attachment transmitted herewith) is privileged and confidential and is intended for the exclusive use of the addressee(s). If you are not an intended recipient, any disclosure, reproduction, distribution or other dissemination or use of the information contained is strictly prohibited. If you have received this mail in error, please delete it and notify us immediately.