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.
请问用ngx_lua下载比较大的文件用什么方案好
kytexzy
各位大大好:
我有这样一个需求,我要把主站上比较大的文件通过http下载到孤立运行的单节点服务器, 因为我要对这些文件的下载进度进行管理, 我不知道通过ngx_lua我该用什么方案来完成这个需求, 有没有现成可用的类库?或者我只有自己用cosocket实现。
--
with kind regards
kytexzy
简直想撞墙,偶然发现用
lua-resty-http (https://github.com/pintsized/lua-resty-http)
简单得可以直接跳楼,一抹眼泪就想跳。