<div dir="ltr"><div>I'm learning how to develop module for nginx. </div><div><br></div><div>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. </div><div><br></div><div>Is there a recommended approach for saving per-request state without modifying core http modules?<br></div><div><br></div><div>Thanks a lot!</div><div><br></div><div>-- <br><div class="gmail_signature"><div dir="ltr"><div>Many Thanks!</div><div><br></div>Best Regards<br>James Gan<font color="#3333FF"></font></div></div>
</div></div>