httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joshua Slive" <>
Subject Re: [users@httpd] How to make a httpd daemon serve everything with a settable delay
Date Mon, 03 Sep 2007 16:32:18 GMT
On 9/3/07, Vincent Bray <> wrote:
> On 03/09/07, Krist van Besien <> wrote:
> > In the second test case the server only returns the content after a
> > settable delay. In this case the webserver is supposed to keep the
> > connection open, but only return a page after for example 20 seconds.
> That's an interesting question. I guess you could use RewriteMap prg:
> and write a script that sleep()s for the desired period. That way
> you'd have flexibility in deciding when to use it too.

Yes, there are lots of places you can insert a delay. Perhaps one of
the easiest would be mod_ext_filter. There is an example there of
using "cat" to add overhead to a connection. You could easily add a
"sleep" with the cat.


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message