openresty的文档中ngx.socket.tcp的context没有init_worker_by_lua*, 但是有ngx.timer.*. 而ngx.timer.at可以在init_worker_by_lua中使用, 我看lua-resty-upstream-healthcheck中就这么用的
说明ngx.socket.tcp在init_worker_by_lua中使用,
--这和context中写的冲突, 哪里理解有问题?
--
邮件来自列表“openresty”,专用于技术讨论!
订阅: 请发空白邮件到 openresty+subscribe@googlegroups.com
发言: 请发邮件到 open...@googlegroups.com
退订: 请发邮件至 openresty+unsubscribe@googlegroups.com
归档: http://groups.google.com/group/openresty
官网: http://openresty.org/
仓库: https://github.com/agentzh/ngx_openresty
教程: http://openresty.org/download/agentzh-nginx-tutorials-zhcn.html