Hi. I've got a problem when writing nginx module. For now my module adds handler to NGX_HTTP_ACCESS_PHASE. That handler connects to redis and makes it's operations to check if request has rights to go further. That's not good because I'm using blocking API (cRedis lib). I'd like to user hiRedis async API to avoid socket blocks. What's the best way to organize module architecture to do that task?
Thank you