Hello!
2014-11-23 20:46 GMT-08:00 yuting:
> 我在使用ngx.location.capture的时候报了个错
>
> attempt to yield across C-call boundary
>
你应当是在某个 C 函数调用里触发了 ngx.location.capture,由于你没有提供完整的 nginx 错误消息(包括 Lua
调用栈轨迹),所以不好帮你确认具体是哪一个 C 函数。
细节见对应的文档:
https://github.com/openresty/lua-nginx-module#lua-coroutine-yieldingresuming
Regards,
-agentzh