store private per request data from a module
Qun-Ying
zhu.qunying at gmail.com
Sat May 7 00:04:52 MSD 2011
Thanks!
On Fri, May 6, 2011 at 11:40 AM, Igor Sysoev <igor at sysoev.ru> wrote:
> On Fri, May 06, 2011 at 11:39:11AM -0700, Qun-Ying wrote:
> > Hi,
> >
> > I would like to know is it possible to store some private per request
> data
> > structure (like a state machine that need to remember the current state
> due
> > to async operation, and continue from the previous state when data
> continue)
> > from a module without invading into nginx's ngx_http_request_t structure?
> Is
> > there a sample module code to look at?
>
> ngx_http_set_ctx()
> ngx_http_get_module_ctx()
>
>
> --
> Igor Sysoev
>
> _______________________________________________
> nginx-devel mailing list
> nginx-devel at nginx.org
> http://nginx.org/mailman/listinfo/nginx-devel
>
--
--
Qun-Ying
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx-devel/attachments/20110506/8e0ad642/attachment.html>
More information about the nginx-devel
mailing list