how to define a struct that only need one time initialization and used for every request
weidezhang2007 at gmail.com
Sat Jul 21 22:37:16 UTC 2012
I'm new to server development. I have a c++ struct that need to be
initialized once from file and it will be used in each request since the
data it has is read only. I'm not sure what's the best practice to define
that struct in nginx module.
Shall I put it in the module loc config or just define it as a global
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the nginx