Hi,<br><br>thanks for your responses.<br>In fact, I already have written the module. What I want is reconfigure some values at some interval, getting the new values from another service.<br><br>Is for this reason I need to do a request inside a timer, not from the nginx configuration or using another worker process just for that.<br>
<br>If anyone can help me will be great.<br><br>Regards,<br>Wandenberg<br><br><div class="gmail_quote">On Fri, Feb 10, 2012 at 9:58 PM, Alexandr Gomoliako <span dir="ltr"><<a href="mailto:zzz@zzz.org.ua">zzz@zzz.org.ua</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Sat, Feb 11, 2012 at 1:35 AM, António P. P. Almeida <<a href="mailto:appa@perusio.net">appa@perusio.net</a>> wrote:<br>
> On 10 Fev 2012 23h04 WET, <a href="mailto:zzz@zzz.org.ua">zzz@zzz.org.ua</a> wrote:<br>
><br>
>> On Sat, Feb 11, 2012 at 12:39 AM, António P. P. Almeida<br>
>> <<a href="mailto:appa@perusio.net">appa@perusio.net</a>> wrote:<br>
>>>> I would like to do a module which, at some interval, refresh part<br>
>>>> of its configuration getting some values from a external<br>
>>>> service. So I need to make a GET independent of a user request.<br>
<br>
</div><div class="im">> I think it can. Since right now you can create sockets right within<br>
> the config. Therefore making the request from within is possible. As<br>
> is processing the response and updating the config based on the values<br>
> obtained.<br>
><br>
> <a href="http://wiki.nginx.org/HttpLuaModule#ngx.socket.tcp" target="_blank">http://wiki.nginx.org/HttpLuaModule#ngx.socket.tcp</a><br>
><br>
> What does your embedded Perl offer that you cannot accomplish with<br>
> this?<br>
<br>
</div>I don't think that task in question can be implemented with just this.<br>
Or maybe I'm wrong, than show me how.<br>
<div class="HOEnZb"><div class="h5"><br>
_______________________________________________<br>
nginx-devel mailing list<br>
<a href="mailto:nginx-devel@nginx.org">nginx-devel@nginx.org</a><br>
<a href="http://mailman.nginx.org/mailman/listinfo/nginx-devel" target="_blank">http://mailman.nginx.org/mailman/listinfo/nginx-devel</a><br>
</div></div></blockquote></div><br>