Communicating between nginx' modules

Srebrenko Šehić ssehic at gmail.com
Sat Dec 19 12:27:50 MSK 2009


Hi list,

I'm looking for a way to communicate between unrelated modules.
Something similar to Apache r->notes() where filters/handler can leave
notes to each other during the duration of a request.

What is the best way to achieve this?

Perhaps a module A can put something in it's ctx() and module B can
read it using ngx_http_get_module_ctx(r, ...)?

Thanks,
Srebrenko



More information about the nginx-devel mailing list