Re: How to make a httpd daemon serve everything with a settable delay

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 9/3/07, Nick Kew <nick@xxxxxxxxxxxx> wrote:
> On Mon, 3 Sep 2007 14:35:14 +0200
> "Krist van Besien" <krist.vanbesien@xxxxxxxxx> 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.
>
> Surely the simplest way is just to generate the response using
> a CGI script that delays then sends a response.  Maybe call it
> with a delay parameter like /test.cgi?sleep=20

I did indeed write a small cgi, and it works fine. I even made it
present a form that can be used to set the delay. The team testing our
proxy server is quite happy with it.

Krist

-- 
krist.vanbesien@xxxxxxxxx
Bremgarten b. Bern, Switzerland
--
A: It reverses the normal flow of conversation.
Q: What's wrong with top-posting?
A: Top-posting.
Q: What's the biggest scourge on plain text email discussions?

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux