<br><br><div class="gmail_quote">2009/4/11 Maxim Dounin <span dir="ltr">&lt;<a href="mailto:mdounin@mdounin.ru">mdounin@mdounin.ru</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hello!<br>
<div class="im"><br>
On Sat, Apr 11, 2009 at 11:04:14PM +0800, Delta Yeh wrote:<br>
<br>
&gt; Hi ,<br>
&gt;   If I set a context to a module with   ngx_http_set_ctx(r, c, module)<br>
&gt;  Is this context valid only for current http request?<br>
<br>
</div>Yes.<br>
<div class="im"><br>
&gt; Should I set the context for each new http request?<br>
<br>
</div>No, only for requests where you actually need context.<br>
<font color="#888888"></font></blockquote><div><br>So the context is used for the scenario that the handler callback will be called multiple times to process the http request ?<br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<font color="#888888"><br>
Maxim Dounin<br>
<br>
</font></blockquote></div><br>