Welcome! Log In Create A New Profile

Advanced

Re: Implementing a non-blocking delay between request and response

January 15, 2010 10:02AM
agentzh wrote:

>Heh, it reminds me of the echo_sleep and echo_blocking_sleep
>directives in the ngx_echo module:

Tronman wrote:

>I took a look at that module, and it does seem somewhat similar, except I want the sleep to be specifiable >from the code, not the configuration file. I'm not sure what's being done differently to implement it that >I'm not doing.

Ah, it appears your module does to r->main->count++, if nginx_version >= 8011, which I can't under 0.7.64, but in the module docs, it doesn't say that you can't use the non-blocking sleep with 0.7.64, only that you can't use it after echo_location or echo_subrequest, which I'm not trying to do. So what am I missing for how the non-blocking works in 0.7.64?
Subject Author Posted

Implementing a non-blocking delay between request and response

Tronman January 14, 2010 02:26PM

Re: Implementing a non-blocking delay between request and response

Marcus Clyne January 14, 2010 08:02PM

Re: Implementing a non-blocking delay between request and response

agentzh January 14, 2010 08:52PM

Re: Implementing a non-blocking delay between request and response

agentzh January 14, 2010 09:38PM

Re: Implementing a non-blocking delay between request and response

Tronman January 15, 2010 09:43AM

Re: Implementing a non-blocking delay between request and response

Tronman January 15, 2010 10:02AM

Re: Implementing a non-blocking delay between request and response

Tronman January 15, 2010 12:28PM

Re: Implementing a non-blocking delay between request and response

Tronman January 15, 2010 01:25PM

Re: Implementing a non-blocking delay between request and response

Tronman January 15, 2010 02:11PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 146
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready