You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Oren Gozlan <or...@mobixell.com> on 2005/08/16 17:21:39 UTC

[users@httpd] strange qustion - how to make apache daley ?

Hi,
Is there a way to configure the apache to have a delay before proccesing 
the request ?

thnx,
Oren


---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] strange qustion - how to make apache daley ?

Posted by Joshua Slive <js...@gmail.com>.
On 8/16/05, Oren Gozlan <or...@mobixell.com> wrote:
>  I need this delay to create some test lab, and i need that the apache will
> act very slow when i'm posting to it

>  i tried to add this:
>  # mod_ext_filter directive to define a filter

>  but the apache failed to start, do i need to add anything alse or just this
> section to the conf file ?

You need to have mod_ext_filter loaded.

But I agree with Sean.  If you just want to test the response of your
client to a slow POST, then have whatever script is handling the POST
insert a delay.

Joshua.

---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] strange qustion - how to make apache daley ?

Posted by Joshua Slive <js...@gmail.com>.
On 8/16/05, Oren Gozlan <or...@mobixell.com> wrote:
>  Thnx,
>  what i'm trying to do is to send a POST to the server, and i want that the
> apache will delay X secs before processing the POST.

But what is the point?

Joshua.

---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] strange qustion - how to make apache daley ?

Posted by Joshua Slive <js...@gmail.com>.
On 8/16/05, Oren Gozlan <or...@mobixell.com> wrote:
> Hi,
> Is there a way to configure the apache to have a delay before proccesing
> the request ?

Sure.  You could try:
http://httpd.apache.org/docs/2.0/mod/mod_ext_filter.html#examples
Or you could write a module that just sleep()s during one of the early
processing hooks.

Perhaps if you told us what you were trying to accomplish, we could help more.

Joshua.

---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org