Welcome! Log In Create A New Profile

Advanced

Best place to store per-request state ?

March 04, 2015 01:58AM
I'm learning how to develop module for nginx.

In one of my testing module, I'm trying to save several per-request
int/long states for each http request in my module. The easiest approach
seems to add these variables to ngx_http_request_s struct. Though I don't
really want to modify core modules.

Is there a recommended approach for saving per-request state without
modifying core http modules?

Thanks a lot!

--
Many Thanks!

Best Regards
James Gan
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

Best place to store per-request state ?

jamesgan 770 March 04, 2015 01:58AM

Re: Best place to store per-request state ?

Ruslan Ermilov 390 March 04, 2015 03:30AM



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

Online Users

Guests: 270
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