thanks a lot...
I used ngx.timer.at inside body_filter_by_lua_file script and then I defined a function which created tcp socket to sending data to the server and now it has no error like that!
so I see that timer can solve calling some classes in unavailable tags...
good luck...
On Thursday, April 12, 2018 at 6:29:17 AM UTC+4:30, tokers wrote:
Hello!
As the document mentinos, you cannot use Cosocket in body_filter_by_lua*. What about spawn a timer in body_filter_by_lua* and use Cosocket inside the timer?