HI Vladislav,
Thanks for you response. Here is my second issue.
We have one Library hosted in Nginx process which talks to external server (Not through HTTP). This library send username:password to external server and response contains whether user is authenticated or not. Our response handler function is called from epoll event loop as request/response is totally asyn.
So our use case is like this , From Lua script we want to fetch username:password coming with HTTP request and somehow pass it to that library and get response back into our LUA code asynchronously. it should not affect other ongoing request.
I want an efficient way to implement this using Nginx + LUA.
thanks
kamal