Welcome! Log In Create A New Profile

Advanced

Nginx module example with callback

June 13, 2012 07:36AM
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
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

Nginx module example with callback

goelviek2011@gmail.com 1361 June 13, 2012 07:36AM

Re: Nginx module example with callback

agentzh 655 June 13, 2012 11:08AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 148
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready