Nginx module example with callback

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

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 ?

Vivek Goel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the nginx-devel mailing list