Providing access to nginx state machine

Marko Kevac marko at
Tue May 11 18:41:59 MSD 2010

On Fri, May 7, 2010 at 5:46 AM, agentzh <agentzh at> wrote:
> There's no such simple elegant API in the nginx core. See the
> implementation of ngx_http_upstream.c for details :)
> Our ngx_drizzle and ngx_postgres are also examples to let third party
> libraries (like libdrizzle and libpq) manage the sockets for us in a
> content handler. My ngx_echo module is also an example falling into
> the same category (more or less).

I am now looking into ngx_drizzle source code. Seems that
ngx_add_event is part of what I need.
Digging further...

A. Because it breaks the logical sequence of discussion
Q. Why is top posting bad?

More information about the nginx-devel mailing list