Issue a subrequest from a timer handler

Maxim Dounin mdounin at
Mon May 17 01:18:42 MSD 2010


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.

Maxim Dounin

More information about the nginx-devel mailing list