Welcome! Log In Create A New Profile

Advanced

Re: store private per request data from a module

May 06, 2011 02:42PM
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@nginx.org
http://nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

store private per request data from a module

Qun-Ying 1716 May 06, 2011 02:40PM

Re: store private per request data from a module

Igor Sysoev 745 May 06, 2011 02:42PM

Re: store private per request data from a module

Qun-Ying 786 May 06, 2011 04:06PM



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

Online Users

Guests: 89
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready