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.location.capture 设置超时时间
li85841575
用
ngx.location.capture如何控制超时时间?
aaashun
现在没有这么高级功能吧, 不过可以实现的.
1. 自已用lua实现http client, 在里面显式调用settimeout很直接, 100行以内代码吧
2. 看能否用nginx upstream, proxy这两个模块的timeout特性?
http://nginx.org/en/docs/http/ngx_http_upstream_module.html
http://nginx.org/en/docs/http/ngx_http_proxy_module.html
On Wednesday, September 17, 2014 11:41:28 AM UTC+8, ff wrote:
用
ngx.location.capture如何控制超时时间?