Request inside a timer

Alexandr Gomoliako zzz at
Fri Feb 10 23:58:31 UTC 2012

On Sat, Feb 11, 2012 at 1:35 AM, António P. P. Almeida <appa at> wrote:
> On 10 Fev 2012 23h04 WET, zzz at wrote:
>> On Sat, Feb 11, 2012 at 12:39 AM, António P. P. Almeida
>> <appa at> wrote:
>>>> I would like to do a module which, at some interval, refresh part
>>>> of its configuration getting some values from a external
>>>> service.  So I need to make a GET independent of a user request.

> I think it can. Since right now you can create sockets right within
> the config. Therefore making the request from within is possible. As
> is processing the response and updating the config based on the values
> obtained.
> What does your embedded Perl offer that you cannot accomplish with
> this?

I don't think that task in question can be implemented with just this.
Or maybe I'm wrong, than show me how.

More information about the nginx-devel mailing list