Nginx module example with callback

vivek goel goelvivek2011 at gmail.com
Wed Jun 13 11:34:01 UTC 2012


Hi,
I am using a non-blocking library which reads from file-system and calls a
callback when event has accrued. I want to integrate it with nginx module.
>From where I can find an example where I can send response from third party
library callback?

What I am planning
1. Read complete request body of the client.
2. Register callback with nginx request object.
3. When callback is fired send response to the client.

Is there a basic example I can non-blocking wait for this callback inside
location handler ?



regards
Vivek Goel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx-devel/attachments/20120613/2c26f004/attachment.html>


More information about the nginx-devel mailing list