Hello! On Thu, Sep 4, 2014 at 12:39 AM, dtree wrote: > 大家好,我们在线上使用Openresty,现在想使用类似Tengine的流式上传功能,http://tengine.taobao.org/document_cn/http_core_cn.html > 可以使用 ngx_lua 的 cosocket API 实现严格的流式上传: https://github.com/openresty/lua-nginx-module#ngxreqsocket https://github.com/openresty/lua-nginx-module#ngxsockettcp Regards, -agentzh
多谢春哥回复,使用cosocket API 的问题是需要实现一套 upstream 高可用、负载均衡、健康检查等逻辑工作量略多了些,或许邮件列表里的大声可以写个开源 Lua 模块,造福大众在 2014年9月5日星期五UTC+8上午6时40分35秒,agentzh写道:Hello! On Thu, Sep 4, 2014 at 12:39 AM, dtree wrote: > 大家好,我们在线上使用Openresty,现在想使用类似Tengine的流式上传功能,http://tengine.taobao.org/document_cn/http_core_cn.html > 可以使用 ngx_lua 的 cosocket API 实现严格的流式上传: https://github.com/openresty/lua-nginx-module#ngxreqsocket https://github.com/openresty/lua-nginx-module#ngxsockettcp Regards, -agentzh