Hi Maxim,
On 17.05.2010, at 1:18, Maxim Dounin <mdounin@mdounin.ru> wrote:
> Hello!
>
> On Sun, May 16, 2010 at 10:51:32PM +0400, Peter Leonov wrote:
>
>> Hi devels,
>>
>> If a subrequest is issued from timer nginx doesn't know about it
>> until the request is somehow accessed from the network. Otherwise
>> the subrequest stays stuck forever.
>>
>> How may a module signal nginx about a new subrequest to process?
>
> Calling ngx_http_run_posted_requests() should be a way to go.
Yes, you are right. Great thank you Maxim!
The only thing I'v done is calling ngx_http_run_posted_requests() just
at the end of the timer handler body.
P.S. It's alive! Mua-ha-ha :)
Best regards,
Peter.
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://nginx.org/mailman/listinfo/nginx-devel